Redirect only Posts, not Pages
-
Hi, love the plugin. Been a huge help.
I’m trying to do a redirect on our blogs from site.com/post-title to site.com/blog/post-title.
I’ve setup the regex ^/(?!blog)(.*) but this redirects EVERY post and page to /blog/.
Is there a way to exclude all pages and only redirect posts? My permalink structure is /%postname% but my understanding is I need to convert this into PHP.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Redirect only Posts, not Pages’ is closed to new replies.