Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to host a wordpress blog on a subdirectory

$
0
0

Replies: 0

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?

  • This topic was modified 10 minutes ago by odolbeau. Reason: formatting

Viewing all articles
Browse latest Browse all 59525

Trending Articles