Thread: HTTP 410 Gone
View Single Post
  #5  
Old 05-16-2017, 05:27 AM
 
happyscott happyscott is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 71
 

Default Re: 301 Redirect not working in HTACCESS file

The desired behaviour is user goes to web page which I have removed he then sees a 410 page.

Old style code used to be like this:

Redirect 410 /example.html

This does not work with x-cart 5

So I am guessing it needs to be something like the format here:


RewriteCond %{REQUEST_URI} ^/example.html$
RewriteRule ^.*$ 410page.html [R=410,L]

But I don't know

thanks
__________________
version 5.3.1 on dedicated server.
Reply With Quote