Serve WordPress homepage from site root, rest of content from /content?
-
I have a WordPress site, where WordPress and all content is hosted under /content/ (using example.com url for sanitization):
WordPress Homepage: https://www.example.com/content/
Example page: https://www.example.com/content/test-page/
Example post: https://www.example.com/content/2014/10/15/example-post/
Admin url: https://www.example.com/content/wp-admin/Currently, https://www.example.com/ (the base url) is not being generated by WordPress. I would like to have the WordPress homepage use https://www.example.com/ as its URL, but still have all other WordPress content live under https://www.example.com/content/.
I’ve read this document:
But when I update the “Site Address” in settings to https://www.example.com/, although the homepage is now served by WordPress, this causes all requests for https://www.example.com/content/page-whatever/ to be 301 redirected to https://www.example.com/page-whatever/. I don’t want all WordPress content served from the site root, just the WP homepage.
Is there a way to configure things so that WordPress will answer for the homepage at https://www.example.com/, but all other WordPress content will live in https://www.example.com/content/* ?
- The topic ‘Serve WordPress homepage from site root, rest of content from /content?’ is closed to new replies.