Example real site http://stackoverflow.com/
URL Masking http://masking.com/stackoverflow
Question
How to switch the URL masking http://masking.com/stackoverflow to original URL http://stackoverflow.com/
Let me know how can be done in PHP or JavaScript
...
(The title may not be proper but I try my best to phrase it)
Description:
I forward a domain(a.com) to another domain(b.com/a) in my domain registrar.
To make sure that the user see a.com on the browser URL bar, I enable domain masking for it.
However, I discover that the domain masking in fact using an iframe trick to include b.com/a ...
I want to create a subdomain that is an alias of another domain.
Example:
google.mysite.com -> www.google.com
but I want to display the taget domain content without a redirect, so it looks like content is being serve from my subdomain instead of the target (google in this example)
...
I currently have the following JavaScript function that will take current URL and concatenate it to another site URL to route it to the appropriate feedback group:
function sendFeedback() {
url = window.location.href;
newwin = window.open('http://www.anothersite.com/home/feedback/?s=' + url, 'Feedback');
}
Not sure if this is ...