Using RewriteProxy with blog content
2 posts
• Page 1 of 1
Using RewriteProxy with blog content
I’m new to this and was wondering how would i use RewriteProxy in the following situation?
I have a website hosted by myself (www.mydomain.com), a wordpress blog hosted by another company (blog.mydomain.com), however how do i proxy the wordpress content when i type http://www.mydomain.com/blog/ in my site?
I’m using ISAPI_Rewrite 3 from Helicon with IIS6
any help will be greatly appreciated!!
I have a website hosted by myself (www.mydomain.com), a wordpress blog hosted by another company (blog.mydomain.com), however how do i proxy the wordpress content when i type http://www.mydomain.com/blog/ in my site?
I’m using ISAPI_Rewrite 3 from Helicon with IIS6
any help will be greatly appreciated!!
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Using RewriteProxy with blog content
Hello,
The rule should be simply:
Regards
Andrew
The rule should be simply:
- Code: Select all
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP:Host} ^www\.domain\.com$ [NC]
RewriteRule ^blog(/.*)$ http://othersite.com$1 [NC,P]
Regards
Andrew
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 17 guests