Blogger permalink RewriteRule not working
-
Hello.
I’ve just imported from Blogger and am trying to set it up so that links to the old Blogger pages will redirect to the new ones. I know this question has been asked and answered before, but those answers aren’t working for me.
For example, going to https://gpaciga.clawz.com/wordpress/2005/10/vinge-singularity.html should take you to
https://gpaciga.clawz.com/wordpress/2005/10/vinge-singularity/To accomplish this I have in my htaccess file the line
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([^/]+).html$ $1/$2/$3/ [QSA,R]
but this doesn’t work. I just get a 404 error.
I know that mod_rewrite works because I’ve been using it to redirect any requests for a .html page to its .php version. One problem I came accross when doing that though was I noticed subdirectories didn’t inherit the htaccess file of their parent directories in the absense of their own htaccess file, as I thought they were supposed to. At least that means the html-to-php rule won’t affect the wordpress directory, but maybe it’s causing problems now in a different way.
Any help resolving this would be appreciated.
- The topic ‘Blogger permalink RewriteRule not working’ is closed to new replies.