[RESOLVED] htaccess RewriteRule to redirect from a directory that doesn't exist
I am attempting to redirect any URLs that attempt to access a directory that doesn't exist, however I am getting a 404 when trying the following:
There is no directory called picco (it used to exist) however, when anyone tries to access a page picco/index.php for example I want to redirect to rangers/index.php.
RewriteRule ^picco/(.*)$ /rangers/$1 [L,R=301]
Is this possible?
+RewriteRule ^picco(.*)$ /rangers/$1 [R=301,L]
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread