Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: mod_rewrite help
10-28-2012, 07:50 PM #1
- Join Date
- Oct 2012
- Thanked 0 Times in 0 Posts
I hope you can help me - since I'm a total newbie. What I want to achieve is:
When visiting the domain it should show a page from another domain (but still keep the original domain:
www.mydomain.com -> shows -> https://www.theotherdomain.net/?prog_id=XXXX
mydomain.com -> shows -> https://www.theotherdomain.net/?prog_id=XXXX
When clicking at links at my site - it should show the page form the other domain - but still keping my domain:
www.mydomain.com/page1 -> shows -> https://www.theotherdomain.net/page1
some of the pages - at the other site are at another subdomain - but they should do the same as the above
www.mydomain.com/page100 -> shows -> https://subdomain.theotherdomain.net/page100
However - when the pages belong to a certain subdomain https://subdomaispec.theotherdomain.net/page100 - the site should just be showed normal: https://subdomaispec.theotherdomain.net/page100
Is it possible??
10-29-2012, 11:08 AM #2
If you could tell me why you want to do this i might give me an idea of the best way to achieve something similar to wha you want.
You do know that if you own multiple domains you can tie them together so each site is exactly the same right? But since you're wanting to pull pages from the second domain I assume you probably don't want to do that.
Again, if you can tell me why I might get a better idea.