A friend of mine has an ASP.NET site hosted on windows server with IIS7 web server. He wants to install a wordpress blog without using subdomains for SEO reasons. In practice, he would like to have a blog calling url like "site.com/subfolder". I would like to avoid installing PHP on his production server ... I'd rather put WP under LAMP. Is it possible to achieve the same result "hijacking" the subfolder on another server?


You need to install a reverse proxy for this. Here is a blog post that helped me when I did something similar:

Reverse Proxy with URL Rewrite v2 and Application Request Routing

I haven't tested it with Wordpress, though, and writing URL rewrite rules for a web application can be tricky: you will need to test and adapt to Wordpress. Fortunately, unless you installed very complex addons, Wordpress is pretty friendly to reverse proxies so hopefully it will work without too much trouble.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.