htaccess Redirect Not Working???
-
I am having difficulty redirecting a couple of posts to new entries. Here is the history.
I have made posts to my blog and for some reason the entries have been saved and published with a different post name than the one in the title. Looks like this may have happened when I have saved a post as a draft with either a temporary title or the post id number.
I only just noticed this and I have gone back in to the database and edited each of the entries. This has meant that all links on search engines, technorati etc are wrong for these posts. People are still trying to find these posts, so I have tried to do a redirect in htaccess but it is not working, extra stuff is getting added to the URI
Here is an example from the htaccess,
redirect 301 /2005/10/06/dd/ https://www.myblog.com/2005/10/06/double-dutch/
And the resultant url
https://www.myblog.com/2005/10/06/double-dutch/?year=2005&monthnum=10&day=06&name=dd&page=
Because I am using the optimized permalink structure I think this is what is effecting it but I do not know how to get around it. Any ideas??
- The topic ‘htaccess Redirect Not Working???’ is closed to new replies.