.htaccess redirect corrupting wordpress
-
I’ve converted my site from html to php, and am using .htaccess redirect:
RedirectMatch 301 (.*)\.html$ https://www.peterussell.com$1.phpHowever, this causes wordpress to behave strangely. It always returns the current blog whatever search or archive is selected. Even “about” returns the current blog (but not login or register). Plus it is taking a long time to return the page.
This is strange because as far as I can see wordpress uses no html pages, so my redirect should not affect it. But when I remove the redirect line, it works fine.
Any ideas?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘.htaccess redirect corrupting wordpress’ is closed to new replies.