301 redirect issue
-
I have some 404 links coming up on an old directory and some directories inside that one as well… So I get 404 hits still going to /v1/ and /v1/another-folder/ etc.
What I wrote below takes care of /v1 but not if there’s a trailing slash, and not for anything else beyond /v1/…
In my .htaccess file I have the following:
# 301 Permanent Redirects Redirect 301 /v1 http://domain.com/ # BEGIN WordPress <IfModule mod_rewrite.c> RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
How do I fix that? TY!
- The topic ‘301 redirect issue’ is closed to new replies.