Jump to content

.htaccess 301 redirect


PhilippeLeroux

Recommended Posts

Hi,

 

So I'm trying to get the redirect 301 to work in the .htaccess file of my webshop.

What I don't understand is how some links are working and other not...

 

This is placed at the top of the .htaccess file:

 

RewriteEngine on
RewriteRule ^nl/product/189/yogablok-eva-schuimrubber.html$ http://www.yogaweb.be/nl/yogablokken/10-asana-yogablokken.html [R=301,L]
RewriteRule ^nl/product/258/yogamat-ganges-6mm.html$ http://www.yogaweb.be/nl/pvc-yoga-mats/11-ganges-yoga-mat-6mm.html [R=301,L]
RewriteRule ^nl/product/188/yogariem-asana.html$ http://www.yogaweb.be/nl/yoga-riemen/9-asana-yogariem.html [R=301,L]
 
 
The first and second are working, however the third one isn't... I have about 200 links to add, and would really like to find an explanation for this issue. And no, i don't wan't to resort to a paid module.
 
Can anyone shed any light on this?
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...