AlegroCart open source E-commerce
Web hosting by Host1Plus

Url updates

Discussion for coding development or feature requests

Url updates

Postby Bluesplayer » Sat Feb 09, 2013 2:17 pm

Hi

My site has had a few google visitors these last few days, even though the site is far from ready, and I analyze what they have searched for on google and where they have landed on my site. There is a problem with moving products to new categories and indexing. I hope I haven't missed some setting but on moving a product to a different category the old url that has been indexed by google no longer points to any product at all - 404 error message. On forums etc when you move a topic to another forum and so on the old url is 'remembered' and the user is sent to the new location seamlessly. At the moment I will have to edit the htaccess file to get around this problem and put my own redirects in. Is there a setting I am missing somewhere or is this missing from the script?

Regards
Mark
apet4life.co.uk
Bluesplayer
 
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Url updates

Postby Brent » Sat Feb 09, 2013 3:45 pm

Are you getting 404 error, or just product not found?
User avatar
Brent
Site Admin
 
Posts: 4365
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Url updates

Postby Bluesplayer » Sat Feb 09, 2013 3:52 pm

Are you getting 404 error, or just product not found?


Sorry not a 404 error just a product not found message. Isn't that what that is though?
apet4life.co.uk
Bluesplayer
 
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Url updates

Postby Brent » Sat Feb 09, 2013 4:06 pm

If the old URL had the site-category-product and now you have moved to site-new category-product, no there is no history link to the new product location. You could add the redirect in the URL alias file, but if it is regenerated, all manual likes would disappear.
As google crawls your site often, it deletes the old links.
User avatar
Brent
Site Admin
 
Posts: 4365
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Url updates

Postby Bluesplayer » Sat Feb 09, 2013 4:11 pm

I will take another look at the url alias. So much more to this shopping script than I thought. Would still be a worthwhile feature upgrade though if product movements were catered for automatically and old urls just redirected.

It can take a while for google to reindex a site and in the meantime a visitor could and will end up on a non existant product page. Not good.
apet4life.co.uk
Bluesplayer
 
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Url updates

Postby Teshawar » Thu Oct 23, 2014 4:56 am

At the moment I will have to edit the htaccess file to get around this problem and put my own redirects in. Is there a setting I am missing somewhere or is this missing from the script?
Fasi
Teshawar
 
Posts: 1
Joined: Thu Oct 23, 2014 4:34 am

Re: Url updates

Postby Brent » Thu Oct 23, 2014 5:24 am

There is nothing in the script that handles redirects when moving products from one category to another.
The URL alias generates the links based on the current product locations at the time it is generated. Once you move products and regenerate the aliases, the complete alias file is recreated.
You could manually add an alias to the URL alias file and deleted the old one, but these changes would disappear whenever the URL alias is regenerated. It's kind of a catch 22. It you have 2 links to a product, the old and the new location, google might penalize you for double linking a product. I feel it's best to have the new current link and let to old one be delisted when the site is next indexed. Some search engines have bad algorithms, and may take a very long time to delist a link if ever, but there is nothing you can do about that.
User avatar
Brent
Site Admin
 
Posts: 4365
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh


Return to Development Proposals / Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron