From /blog/ to root – redirect via .htaccess
-
I’ll be moving my WordPress install from a subdirectory (example.com/blog/) to root (example.com). If I place
RedirectMatch 301 ^/blog/$ https://example.com/
in my site’s root .htaccess file will this redirect incoming requests from the old blog subdirectory to my new root install?
- The topic ‘From /blog/ to root – redirect via .htaccess’ is closed to new replies.