URL Redirect php or .htaccess in WordPress
-
Few months ago i used link with slug (Forcely changed to blog when i switched to MultiSite) like this, example.com/blog
Now I am using wordpress without BLOG and removed slug “BLOG” after link.
Problem is many quality backlinks i have with old blog slug.
When someone visit my blog with example.com/blog/post-permalink it redirects to not_found_404 error because link should be looks like this, example.com/post-permalink.I am confused, how to redirect every request that comes with example.com/blog/post-name and redirect to example.com/post-name
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘URL Redirect php or .htaccess in WordPress’ is closed to new replies.