I bought a new domain from my webhost only to find I have to pay $30 extra for an addon slot that will allow me to have cloaked url redirection.
I understand you can do this sort of thing with .htaccess.
I want to forward [url]http://example.com/*url*[/url] to [url]http://mywebhost/folder/*url*[/url]
But in the address bar I want it to say [url]http://example.com/*url*[/url] while the page content is from the other url.
I would appreciate help if I make any sense!
Thanks
Is the "example.com" your domain, or some other domain?
If it's your domain, yes, you can do that with .htaccess, assuming the server has rewriting enabled. Read about [url=http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html]mod_rewrite[/url], particularly [url=http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule]RewriteRule[/url].
If it's some other domain, no, you can't. No amount of configuration on your site can change what a URL on some other site does.
[QUOTE=Wyzard;17896663]Is the "example.com" your domain, or some other domain?
If it's your domain, yes, you can do that with .htaccess, assuming the server has rewriting enabled. Read about [url=http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html]mod_rewrite[/url], particularly [url=http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule]RewriteRule[/url].
If it's some other domain, no, you can't. No amount of configuration on your site can change what a URL on some other site does.[/QUOTE]
example.com is reserved for testing and examples, so no, it is not his domain
[QUOTE=Octave;17897878]example.com is reserved for testing and examples, so no, it is not his domain[/QUOTE]
you didn't get it
[QUOTE=Octave;17897878]example.com is reserved for testing and examples, so no, it is not his domain[/QUOTE]
What he meant was if example.com was referring to his own domain name.
Sorry, you need to Log In to post a reply to this thread.