How to host a wordpress blog on a subdirectory
-
Our website is hosted at mysite.com and I would like to have a wordpress blog accessible on mysite.com/blog.
- I do not want to host my blog on blog.mysite.com.
- I do not; want to host the blog myself: I’m looking for an hosting provider which will deal with wordpress updates, backups & so on. My job is not to host a wordpress blog and I don’t want to loose my time doing this.
One solution I thought about:
- Host the blog on another domain (myblog.com)
- Update our webserver configuration to create a nginx proxy_pass, for example:
location /blog/ { proxy_set_header X-Real-IP $remote_addr; proxy_pass https://myblog.com/; }
- Update the site URL of the WordPress (as explained here) in order to have correct links (pointed to mysite.com/blog instead of myblog.com).
What do you think about this solution? Will I be able to find an hosting provider which will allow me to do this?
Do you have any other idea?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to host a wordpress blog on a subdirectory’ is closed to new replies.