Reply
how can I redirect http://mawoosh.com to http://www.mawoosh.com
Old 04-23-2006, 11:11 PM how can I redirect http://mawoosh.com to http://www.mawoosh.com
Average Talker

Posts: 19
Location: Tokyo
Hey people,

I hope I'm posting this in the right place, I couldn't find anywhere that seemed appropriate. (I don't know what language, html/php/etc the answer to my question will use!)

I've just found that some people are accessing my site at http://mawoosh.com as opposed to the proper address http://www.mawoosh.com. (Alexa.com links to the first address).

For some reason my php code doesn't work when the site is accessed at http://mawoosh.com

while I try and sort that out can anyone tell me how to automatically redirect any users from http://mawoosh.com to http://www.mawoosh.com.

While we're at it, can anyone tell me what the difference between the two addresses is too?!

Thanks a lot for your help!
mawooshen is offline
Reply With Quote
View Public Profile Visit mawooshen's homepage!
 
When You Register, These Ads Go Away!
     
Old 04-24-2006, 02:53 AM Re: how can I redirect http://mawoosh.com to http://www.mawoosh.com
chrishirst's Avatar
Super Moderator

Posts: 12,747
Location: Blackpool. UK
No difference at all. hostname.tld is the basic form of the URI, www.hostname.tld is a subdomain that has become the accepted norm for URIs

You only need to care about only one version being seen if you care about the search engines and need one version only to be visible.
It should make no difference to PHP code at all unless something is coded to look for the www version.

301 redirects a how to in several code versions.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-25-2006, 12:22 PM Re: how can I redirect http://mawoosh.com to http://www.mawoosh.com
Average Talker

Posts: 19
Location: Tokyo
Thanks for the link Chris, really helpful!

I don't understand why my code doesn't work, but I don't seem to be able to retrieve variables from a database to flash using php. I'm just going to redirect for now.
mawooshen is offline
Reply With Quote
View Public Profile Visit mawooshen's homepage!
 
Reply     « Reply to how can I redirect http://mawoosh.com to http://www.mawoosh.com
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12969 seconds with 13 queries