Title: /blog redirection
Last modified: October 10, 2019

---

# /blog redirection

 *  Resolved [sachinredij2007](https://wordpress.org/support/users/sachinredij2007/)
 * (@sachinredij2007)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/blog-redirection/)
 * As per your instructions I followed the [link](https://redirection.me/support/redirect-regular-expressions/#common)
   and added regex to redirect /blog urls. But it is also redirecting the pages.
   I just want them to redirect the posts and not pages. Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblog-redirection%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/blog-redirection/#post-12015774)
 * What redirect did you create, and what URL is it affecting that it shouldnt?
 *  Thread Starter [sachinredij2007](https://wordpress.org/support/users/sachinredij2007/)
 * (@sachinredij2007)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/blog-redirection/#post-12015800)
 * At first thank you very much for such a prompt response.
 * Coming back to query.
 * My domain name is [https://www.broadplace.com](https://www.broadplace.com)
 * While setup by mistake all blogs went on non /blog urls for example
 * [https://www.broadplace.com/postname](https://www.broadplace.com/postname)
 * Now I want to redirect all the blog urls to [https://www.broadplace.com/blog/postname](https://www.broadplace.com/blog/postname).
 * As per the regex method you mentioned in the link, I did it, but
 * while redirecting blog urls, it is also redirecting page urls
 * for example
    their is a page [https://www.broadplace.com/contact-us](https://www.broadplace.com/contact-us)
 * After enabling the redirect even this page redirects to [https://www.broadplace.com/blog/contact-us](https://www.broadplace.com/blog/contact-us)
   which is incorrect.
 * I just want my blog posts to be redirected to /blog and not the pages.
 * I hope it is clear now.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/blog-redirection/#post-12015861)
 * There is no way to distinguish a blog post from a page using the URL so you will
   need to create a redirect for each post. The link you referenced does not provide
   an example for this situation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘/blog redirection’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [Blog](https://wordpress.org/support/topic-tag/blog/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/blog-redirection/#post-12015861)
 * Status: resolved