Forum Moderators: phranque
What I've been trying to ask our server admin to do, is lose the ".san" part of the second domain. It was originally created so we could have two servers one located in San Diego, then when traffic got very large, create a www.nyc.domainname.com.
Now that I have been trying to optimize their site, the main www.domainname.com has great inbound links pointing to it. But the www.san.domainname.com has zero. Since this is a dynamic website, the main home page of the site needs to be ".com/a/long/list/of/mod_rewrite/variables" I want the www.domainname.com to automatically be redirected to this long string. But I also want the ability to use such address as www.domainname.com/boating to point to the bosting section of the site. My server admin is trying to tell me that you can't redirect www.domainname.com to www.domainname.com/a/long/list/of/mod_rewrite/variables without using a javascript redirect (which spiders cannot follow.) And if you do set it up to redirect like that, then you wouldn't be able to set up www.domainname.com/boating, as anything to www.domainname.com would be redirected to the longer URL thus causing www.domainname.com/a/long/list/of/mod_rewrite/variables/Boating.
I know Amazon.com does what we want our software to do, when I bring up amazon.com to our server admin, he just says, they have an enourmous budget and have the server powere to handle this type of task. I want to know the proper tech words to use when telling this guy what we need. Any ideas?
Welcome to WebmasterWorld [webmasterworld.com]!
If you are on Apache and can use mod_rewrite, this is a relatively simple job. Do a site search here on WebmasterWorld for words like "domain, redirect, subdomain," etc.
The problem with /boating is also simple. You just have to test for that subdirectory before doing any of the "larger" redirects.
HTH,
Jim