Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
The mod works great.
Glad you like it!
Quote:
Originally Posted by
Mickmo68
The only problem I am having is that the mysite.com/index.php and the mysite.com/ are both being indexed by Google and they are the same, hence, duplicate content. This is not too good for SEO. Is there a way to 301 the /index.php to the / page? Thank you in advance.
I think I'm going to add a default mapping to the next version of the module to do just this. Here's how you can do it manually:
Add an extra record to the URI mapping table:
uri:
/
language_id:
1
main_page:
index
Leave the db_id etc as null, using the NOW() function for date_added
This will redirect the index.php?main_page=index to / and will also cause Zen Cart to use / as the link instead of index.php?main_page=index
For more information please read the configuration section of the documentation. I'm in the middle of moving out so I won't be around much to answer any questions over the next few weeks!
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Hi Conor,
Thank you for the fast reply. I am afraid you are writing way above my head. I'm not sure how or where to
Quote:
Add an extra record to the URI mapping table:
uri:
/
language_id:
1
main_page:
index
Leave the db_id etc as null, using the NOW() function for date_added
Take your time please. Moving can be very stressful and time consuming. When you get a chance to respond (few weeks is fine) I will appreciate it.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Mickmo68
Thank you for the fast reply. I am afraid you are writing way above my head. I'm not sure how or where to
No problem. Read the section of the manual: "Specifying the current URI Mapping for any other Zen Cart page" and those instructions should be fine, it's really very easy indeed if you've ever used "PHPMyAdmin" before.
Quote:
Originally Posted by
Mickmo68
Take your time please. Moving can be very stressful and time consuming. When you get a chance to respond (few weeks is fine) I will appreciate it.
What do you want to know? You haven't said anything other than "I don't know how to do it"! :)
By the way, if you are finding that your site has any URIs "index.php" and not" index.php?main_page=index" then you should fix the links on your site that link to index.php.
No Zen Cart links use just "index.php", they always have "?main_page=index" added to the end, which is what my prevoius post and the information in the above section of the documentation help you redirect to /.
If any of the links on your site are to "index.php" you will have to edit the HTML to change them to "/", these must be links you hard-coded in somewhere (in the template maybe?).
Thanks for the comments about moving, I don't find it stressful at all, hugely time-consuming yes, but not stressful! It's supporting these modules that can be stressful! I won't be doing much of that for two weeks so I'm just excited to be moving things about, picking things to put here and there etc.! :)
All the best...
Conor
Re: Ceon URI Mapping (SEO)
Let me start by expressing my gratitude. This module is amazing and extremely well documented. I could effuse praise for hours/pages but nobody would have time to read it.
I have the module installed and all redirect are working correctly, except one type
index.php?main_page=products_all&disp_order=X
redirects to
all-products?main_page=products_all&disp_order=X
which results in an infinite redirect loop instead of
all-products?disp_order=X
which is what it should redirect to according to the documentation. The same thing happens for all the redirects i set up manually in the db.
I set up each direct by specifying the uri, setting the language_id and current_uri values to 1, supplying the respective main_page value and using NOW for date_added.
Any ideas?
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
doubleo2
Let me start by expressing my gratitude. This module is amazing and extremely well documented. I could effuse praise for hours/pages but nobody would have time to read it.
Thanks very much indeed for the nice comments! I do try! ;)
Quote:
Originally Posted by
doubleo2
which results in an infinite redirect loop instead of
Someone else e-mailed me about the exact same issue recently. You have done everything correctly but this is a bug in the module. I've fixed it for the next version of the module.
I've just moved out and do not yet have "proper" internet access so I'm afraid it will be a few days until I can upload the new version. Until I do please change the "current" value for that URI mapping to 0 (therefore disabling it). Once you upgrade to the new version you can re-enable the mapping.
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Dear Conor,
Thanks for all your time and effort you've put in this mod. Thanks for giving me the control over my URI mappings.
Unfortunately I can't map pages like shippinginfo. I followed your instructions but I can't get the desired response:
uri: /store/shippinginfo
Language_id: 1
current_uri: 1
main_page: index.php?main_page=shippinginfo
other fields: NULL
I am using ZEN 1.38a. What am I doing wrong?
Greetings,
Paul
www.goldlion.eu
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Goldlion
Thanks for all your time and effort you've put in this mod. Thanks for giving me the control over my URI mappings.
Thanks for the kind words!
Quote:
Originally Posted by
Goldlion
I am using ZEN 1.38a. What am I doing wrong?
You're not quite getting the instructions right! ;)
Quote:
Originally Posted by
Goldlion
main_page: index.php?main_page=shippinginfo
This should be:
main_page: shippinginfo
(All other fields were right).
All the best..
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Hi Conor,
Just installed this. I've followed the steps precisely to the best of my knowledge, but I can't get to step 3 - the module isn't displaying in the admin section. Could you please assist?
I'm using Zen Cart 1.3.8.
Cheers.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
OK Computer
Hi Conor,
Just installed this. I've followed the steps precisely to the best of my knowledge, but I can't get to step 3 - the module isn't displaying in the admin section. Could you please assist?
I'm guessing your admin folder isn't called "admin" but you have copied the admin files into a folder called "admin". You'll have to copy them into whatever your admin folder is called.
All the best...
Conor
Ceon
Re: Ceon URI Mapping (SEO)
Hey Conor,
Quote:
Originally Posted by
conor
Hi,
I'm guessing your admin folder isn't called "admin" but you have copied the admin files into a folder called "admin". You'll have to copy them into whatever your admin folder is called.
All the best...
Conor
Ceon
That's exactly the problem. Actually that's kind of embarrassing, how stupid of me, thanks very much for the speedy response!