View Single Post
  #7  
Old 07-23-2016, 09:34 PM
 
mgwashburn mgwashburn is offline
 

Advanced Member
  
Join Date: Sep 2013
Posts: 82
 

Default Re: 301 Redirect not working in HTACCESS file

Please help,

having the same issue as the above poster.

on all of my x-cart 4.x installs the standard Redirect 301 always has worked well.

but in 5.2 it appends this strange stuff that makes the redirect fail.

I have attempted to use:

RewriteRule ^all\-products\/category(.*) "https\:\/\/www\.yoursite\.com\/all\-products\/category" [R=301,L]
but is does not work for me.

I am trying to re-point several directories for example:

www.naturalbathbody.com/bath/bath-and-shower/

which now is:

www.naturalbathbody.com/bath-and-shower/

the above code snipped may work well with .html pages, but I have tried multiple ways to format changing categories and it just will not work.

can someone please post an example instead of the code snippet?

that would really help.

thanks in advance,

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