Reprogamming URL
Moderator: General Moderators
Reprogamming URL
hello does anyone know how to mask the original url address and instead display another address in the address bar?
for example let my address be ....
http://www.somewhere.com/mydomain/index.html
but i would like it displayed in the address bar as
http://www.mydomain.com/index.html ...
Provided that I do own the domain mydomain.com
One way I had been thinking is using rewrite mod in the .htaccess, but is it only for redirecting i.e. the address bar will be updated to the physical address?
Thanks alot
for example let my address be ....
http://www.somewhere.com/mydomain/index.html
but i would like it displayed in the address bar as
http://www.mydomain.com/index.html ...
Provided that I do own the domain mydomain.com
One way I had been thinking is using rewrite mod in the .htaccess, but is it only for redirecting i.e. the address bar will be updated to the physical address?
Thanks alot
- Pyrite
- Forum Regular
- Posts: 769
- Joined: Tue Sep 23, 2003 11:07 pm
- Location: The Republic of Texas
- Contact:
Or may be he owns the domain, but can't afford hosting.
http://www.mydomain.com >>> http://www.geocities.com/mysite/
Perhaps something like http://www.zoneedit.com/ would do it?
http://www.mydomain.com >>> http://www.geocities.com/mysite/
Perhaps something like http://www.zoneedit.com/ would do it?
Thanks, maybe I should express my problem in more detail.
I own three domain and rented a space in web hosting company in one of the domain.
Afer gaining approval from the webhosting, I was allowed to redirect those two domains into the rented webspace.
But of the address bar will show like this
http://www.shareddomain/firstdomain/index.html
I was able to use masking provided by my domain registant (mydomain.com), but the url will be locked to http://www.firstdomain.com no matter which subfolder I was browsing, which will keep the visitor lost easily and unable to bookmark pages, so I would cordially ask for a method to make the url starts at the firstdomain.com's subfolder, and still able to updated its true address among the subfolders under it. Thanks.
I own three domain and rented a space in web hosting company in one of the domain.
Afer gaining approval from the webhosting, I was allowed to redirect those two domains into the rented webspace.
But of the address bar will show like this
http://www.shareddomain/firstdomain/index.html
I was able to use masking provided by my domain registant (mydomain.com), but the url will be locked to http://www.firstdomain.com no matter which subfolder I was browsing, which will keep the visitor lost easily and unable to bookmark pages, so I would cordially ask for a method to make the url starts at the firstdomain.com's subfolder, and still able to updated its true address among the subfolders under it. Thanks.
my guess this is your situation:
domain1 has a index.html with code like
which would explain what you are experiencing...
this url-hiding/beautifying "technique" is something i really don't like
domain1 has a index.html with code like
Code: Select all
<frameset>
<frame src="e;http://domain2/index.html"e; />
</frameset>this url-hiding/beautifying "technique" is something i really don't like
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Not sure that will work cross-domain Malmalcolmboston wrote:Mod Rewrite