Hi
I am trying to get a 301 redirect working for a single page and currently it is not. I am trying to understand if this is because of some interaction with LiteSpeed Cache
I have tried adding this to the htaccess file
This didn't work, so I removed this and tried setting a redirect via cpannel. This added the following to htaccess
In both cases this was unsuccessful. It was added to the end of the htaccess file below any Litespeed entries
Any ideas?
Thanks
I am trying to get a 301 redirect working for a single page and currently it is not. I am trying to understand if this is because of some interaction with LiteSpeed Cache
I have tried adding this to the htaccess file
Code:
Redirect 301 "/old-page.html" "/new-page.html"
Code:
RewriteCond %{HTTP_HOST} ^d8tadude\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.d8tadude\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^2016\/09\/06\/3par\-simulator\-download$ "https\:\/\/d8tadude\.com\/2017\/12\/05\/3par\-simulator\-setup" [R=301,L]
Any ideas?
Thanks
Last edited by a moderator: