Why does this not work:
<link href="../original.css" rel="stylesheet" type="text/css">
/*htaccess*/
redirect 301 /original.css
http://www.sitedotcom/a/TEST.css
I’ve noticed gif’s don’t want to 301 either.
Why does this not work:
<link href="../original.css" rel="stylesheet" type="text/css">
/*htaccess*/
redirect 301 /original.css
http://www.sitedotcom/a/TEST.css
I’ve noticed gif’s don’t want to 301 either.
dd,
The reason is the REQUIRED syntax of the Redirect statement:
Redirect {optional error status} {file/directory} {absolute redirection} … all on one line
As just explained in another thread, the file/directory part apparently should not be an absolute link (as you have with an “internal” absolute link).
The absolute redirection does NOT require the full URL as /a/TEST.css would have sufficed.
Regards,
DK