Domain forwarding of folders?
I have a website with the domain name 1Lit.com
I bought OneLit.com from somebody, because, if I mention '1Lit.com' on the phone etc., some people type in OneLit.com.
Is there any registrar/web forwarding service that will forward all directories within OneLit.com to their equivalent in 1Lit.com?
i.e. if somebody types in OneLit.com/reading they are automatically forwarded to 1Lit.com/reading
I know MyDomain have a free forwarding service, but that's only for about ten URLs and also you have to specify which they are.
Thanks in advance for any advice you may be able to offer...
Nadeem Azam
1Lit.com Inc.
Free promotion - check out this 1:1 banner exchange
Dot com domains - the world's most prestigious domain names for sale
Suzanne posted this at 01:02 — 22nd February 2002.
She has: 5,507 posts
Joined: Feb 2000
scriptsolutions.com -- domainDirector.
Suzanne posted this at 01:03 — 22nd February 2002.
She has: 5,507 posts
Joined: Feb 2000
also, you can use .htaccess to have all pages go to 1lit.com or you can have domain parking/aliasing.
Park the domain with the same host -- that might cost you an annual fee, but it shouldn't be very much.
1lit.com posted this at 02:29 — 22nd February 2002.
They have: 28 posts
Joined: Jan 2002
You mention .htaccess
Is there a way of making it go to the equivalent page at 1Lit.com as has been typed in for OneLit.com? e.g. OneLit.com/books => 1Lit.com/books ?
Nadeem Azam
1Lit.com Inc.
Free promotion - check out this 1:1 banner exchange
Dot com domains - the world's most prestigious domain names for sale
mairving posted this at 02:54 — 22nd February 2002.
They have: 2,256 posts
Joined: Feb 2001
.htaccess is the way to do this as Suzanne mentioned assuming that you are on a 'Nix host.
You have several ways to do this. Probably the easiest is something like this
------------------------------.htaccess---------------------
Redirect index.html http://www.1lit.com/
------------------------------------------------------------
An htaccess file is called a dot file in Linux terms which means that it is a hidden file. So to redirect users using htaccess, you would start out with whatever page that you want to redirect. If your homepage was index.html then use it in the above example. If it is something else then use that. This would also assume that you have an index page for onelit.com . If you don't, then talk to your host, if they have the domain parked on their servers, they can do the redirect.
Beyond that you would have to get into using mod_rewrite in htaccess which can be a bit intimidating.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
1lit.com posted this at 14:02 — 23rd February 2002.
They have: 28 posts
Joined: Jan 2002
Thanks Mark
Would any of the techniques redirect all the pages at OneLit.com automatically to their equivalent at 1Lit.com automatically (there are hundreds)?
Or would I have mention each one and the redirect for each individually?
If you can provide details or links to places where I can get more details that would be a huge help.
Thank you VERY much.
Nadeem Azam
1Lit.com Inc.
Free promotion - check out this 1:1 banner exchange
Dot com domains - the world's most prestigious domain names for sale
mairving posted this at 14:29 — 23rd February 2002.
They have: 2,256 posts
Joined: Feb 2001
You would either have to set up a redirect for every page or just make a custom 404 page that has a redirect in it.
Suzanne posted this at 19:43 — 23rd February 2002.
She has: 5,507 posts
Joined: Feb 2000
search apache.org for Redirect, RedirectPermanent, and RedirectTemporary. They should all be under mod_alias.
If you don't want to have to write out all the pages manually, and don't have access to do a rewrite, I suggest you let the mistake of your users live -- just use domain aliasing. That will mean that the content you put in the folder /readers/, for instance, can be viewed if I type onelit.com/readers/ or 1lit.com/readers/ -- it's the same folder, only the domain name is different.
Suzanne
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.