MyBB Community Forums

Full Version: www or no www
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
i m noticing this change for a while
as i visited many site earlier there were
www.example.com now they turned thier site to
http://example.com


can anyone tell me ?? why so n what's the purpose of it Smile
thanx
It's actually bad for SEO to use one and then switch to another. Some people do it for simplicity or to make a statement about ditching the "www." prefix that is not needed but became standard practice for some reason.
Joe is right about not switching once your site is active. I'm always going to use without since it looks shorter.

FYI:
Here is the simple .htaccess code you need for without www:
RewriteEngine on

RewriteCond %{HTTP_HOST} !^mydomain\.com$ [NC]

RewriteRule .? http://mydomain.com%{REQUEST_URI} [R=301,L]

Just replace "mydomain" with your domain name in both spots, and change the extension if it's not a .com
The www really shouldn't be needed if your webserver is configured correctly. Since I never enter it nowadays, it really annoys me when I find sites that still require it to work (my University is an example of this).
http://no-www.org/
Most sites use both letting you access the site with or without the prefix
Of course you can set or to default
I prefer a 301 redirection to no-www.

But: When I promote my website Offline (yes, in real world [Flyer, TV, paper...]!) I do it with the beginning www. Because a lot of people associate the 'www' with the internet and if they start to type an internet location in browser they often type the 'www' automatically... Sad
Most people type 'www.' at the beggining of every domain name they type into the url bar or google. This is becauase 'www' stands for 'World Wide Web' (just another fact Wink).

In almost all advertising of webites, the adversiser uses 'www.' at the beginning. This is because www. says instantly that it is a website.

I use cPanel for my hosting, and it automatically creates with and without www. at the beginning of the domain name so i am covered Toungue.
So you're saying it is possible to display non-websites by typing a domain in a browser that connects to port 80? Toungue
Huh? Toungue
i'm confused.

What do you mean by 'non-websites'
Pages: 1 2 3 4