Jump to content

Safe redirect from URL with category to URL without categoty


razvy

Recommended Posts

Hi,

 

I have just fresh upgraded my shop from 1.4 to 1.6.

 

In 1.4, the path to product was {category}/{id}-{rewrite}.html

Now I want to change the path to {id}-{rewrite}.html

 

The rpoblem is that in google searches my pages are indexed with {category}/{id}-{rewrite}.html

 

How can I catch and redirect the visitors from {category}/{id}-{rewrite}.html to {id}-{rewrite}.html, without risking that Google is thinking iț's similar content and penalise my site?

 

Thank you.

Razvy

Link to comment
Share on other sites

Well, not a tough task to achieve it really.

You need to do two things: (i) change the URL structure to the desired and (ii) set a permanent 301 redirect in .htaccess of your website.

Once you are done with that, make sure you rebuild the sitemap and submit it to Google via. Google webmaster tools. This would ease you permanently from the worry of duplicacy and penalty.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...