简体   繁体   中英

IIS7 redirect to another site but show the original URL in browser

I have a company website hosted on IIS7 (ie website.com) and a blog site hosted on Apache (ie blogsite.com). Both sites are located on different physical machines with different domain names.

For SEO purposes, I would like create a virtual directory for the blog content on the website and redirect to the blog site while maintaining the original URL such that:

http://website.com/blog redirects to http://blogsite.com but the browser's address bar still displays http://website.com/blog . Is this possible in IIS 7?

The solution is given in the comment -- create a Reverse Proxy inbound rewrite rule. See tip #7 here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM