Jump to content

[SOLVED]Change one specifik URL using Friendly URL


Recommended Posts

My problem(?) is that one product has being placed in top of the searchresults for one word that is very important to me. I am using friendly URL and I want to change the topplaced URL to go the category instead of the product. When I try the simple way and just change it in the BO, giving the category the topplaced URL and the product a new one for the product it doesnt work. Probably because I am stupid and the system is smart.

How could I resolve this problem?

Link to comment
Share on other sites

I have googled 301 redirects and tried 10 diffrent rules but I cant get it right.
The thing i want to get is a working code to put in my .htaccess that does following:

"domain.se/oljerockar/2-drover-oljerock.html" redirected to "domain.se/2-oljerockar"

I am in big need of this, anyone that can help?

Link to comment
Share on other sites

RewriteEngine On
RewriteBase /

RewriteRule ^oljerockar/2-drover-oljerock\.html$ http://www.domain.se/2-oljerockar? [R=301,L]



P.S. Please bear in mind that 1) doing such redirect does not guarantee your SERP position remain unchanged 2) this code redirect both visitors and crawlers

Link to comment
Share on other sites

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...