Redirect without the URL changing
My page stephensimon.net/theblacklemons.html
redirects to theblacklemons.com. How do I keep the url from changing from theblacklemons.com, to stephensimon.net/theblacklemons.html, when the page is visted.
Thanks
redirects to theblacklemons.com. How do I keep the url from changing from theblacklemons.com, to stephensimon.net/theblacklemons.html, when the page is visted.
Thanks
stephensimon.net/theblacklemons.html
Then technically, you'd just create the content you want displayed into that theblacklemons.html page, upload it to your stephensimon.net site, and then don't do any sort of redirection. You can force the address bar to stay the same and not change by removing the [R=301] flag in your .htaccess rule, and also not using a full domain name. But that will only work on the same domain. As it's a security problem if you were able to type in one domain name but getting served content from another. For instance, if you had the page secret.htm, and wanted it to be accessed in the address bar as:theblacklemons.com/public.htm
You could use the following .htaccess code:RewriteEngine On RewriteRule ^public.htm$ /secret.htm [L]
I hope that was clear enough for the problem you're trying to solve, if you had any further questions at all please let us know. - Jacob