Option to turn off rewrite with_front?
-
Hi,
We have out permalinks setup as /blog/%postname%/ (The blog used to be wordpress in a sub-folder so we moved it to the root and changed the permalinks so the blog post urls stay the same).
When I create custom post types I turn the “rewrite with front” option off which removes the /blog/ part from the url.
I overrode the plugins custom post type with the register_post_type_args filter to turn front off.
That works for the test pages which then have urls like /test/test-name but it breaks the results page which shows a 404 error.
Can you add an option to turn off the front setting so that the results pages still work?
Or is there another way I can get it working with the nice urls and working results page?
- The topic ‘Option to turn off rewrite with_front?’ is closed to new replies.