Forum Moderators: phranque

Message Too Old, No Replies

Possible to have all site.com traffic redirected to www.site.com

...to simply traffic analysis, create consistency

         

ThatAdamGuy

10:17 am on Jun 25, 2003 (gmt 0)

10+ Year Member



My Webhost (CIHost) already converts [site.com...] (no trailing slash) automatically to [site.com...] and so, to keep things consistent, I figured I should find a way to convert site.com/directory/whatever.htm to www.site.com/directory/whatever.htm

I can create and edit .htaccess files but do not have root access, since I'm on a shared server.

And, assuming it's possible to do this, will my access logs reflect the redirected (www added) URLs, or will I still be stuck with a hodge podge of www and not www's in my log?

Thanks in advance for your thoughts :)

DaveAtIFG

5:03 pm on Jun 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use similar redirects and the access logs my host provides only include the pages served after the redirects, no hodge-podge.

You're already doing some redirects. Examining what's presently in your logs should give a good indication of what to expect.

jdMorgan

9:58 pm on Jun 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ThatAdamGuy,

The code posted in this thread [webmasterworld.com] will redirect everything to a single domain of your choosing.

HTH,
Jim

ThatAdamGuy

11:13 pm on Jun 25, 2003 (gmt 0)

10+ Year Member



Thanks for the pointer! Unfortunately, as I note in the thread [webmasterworld.com], this doesn't peacefully co-exist with my subdomains :(