View Single Post
  #9  
Old 07-25-2016, 10:05 PM
 
mgwashburn mgwashburn is offline
 

Advanced Member
  
Join Date: Sep 2013
Posts: 82
 

Default Re: 301 Redirect not working in HTACCESS file

Quote:
Originally Posted by razortw
Could you please post here the exact rewrite rule that isn't working?
Certainly

This is a very normal 301 redirect:

.htaccess last line:

Redirect 301 /Natural-Shaving-Gel.html https://www.naturalbathbody.com/apollon-shaving-gel.html

The redirect is picked up and if you go to page:

http://www.naturalbathbody.com/Natural-Shaving-Gel.html

the it jumps to this page:

https://www.naturalbathbody.com/apollon-shaving-gel.html?url=Natural-Shaving-Gel&last=&rest=&ext=.html

but of course this page does not exist and the extra garbage that is appended causes a 404 error.

please help ... maybe you can show me an example of how that 301 code above has to be structured in X-cart 5.2.15...

thank you in advance

Marc
__________________
Marc Washburn
www.EverythingGraphic.com
Running four successful X-cart 5.3.x installations and one 5.4.x
Reply With Quote