Redirect 301 in htaccess
-
I have a problem due to an old error of programmation of my site.
Due to this error in Google Webmaster I have more than 10.000 errors.The error is in the feed link of the article and the goal is to redirect a lot of this kind of wrong permalink
https://www.mysitename.it/000000000/permalinkofthepost<strong>/</strong>/feed/
to this correct structure of permalink
https://www.mysitename.it/00000000/permalink/feed/
The structure of my permalink is
/%year%%monthnum%%day%%post_id%/%postname%/
In practice I have to delete one / (slash) before the feed
If is possible I need to use the redirect 301 rule at the top of my htaccess instead Mod rewrite because i have some lines of other redirects in my WordPress htaccess file.
Thanks in advance
Fabrizio
- The topic ‘Redirect 301 in htaccess’ is closed to new replies.