1
BigJim
Difference between http://mydomain and www.mydomain?
  • 2008/1/17 1:56

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Can somebody explain to me why the domain name sometimes displays as http://www.mydomain.com and sometimes as http://mydomain.com.

Is it important?

It seems that sometimes (often enough to be a problem) my site will not download when trying to access http://www... but if I change to http://mydomain, then the page does display.

Any answers?

Thanks a lot!!!

2
BlueStocking
Re: Difference between http://mydomain and www.mydomain?

I believe I would go along with this discussion.
In some cases it does make a difference.

http://www.webmasterworld.com/forum30/31758.htm

example.
http://aristotle.net <http://www.aristotle.net << same as http://www.aristotle.net
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

3
BigJim
Re: Difference between http://mydomain and www.mydomain?
  • 2008/1/21 11:08

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Thanks Bluestocking!

I checked the article, it seems to say that its best not to have the no www option.

So can I get rid of it? Do I do this in mainfile.php?

How come XOOPS shows pages in www. and no www. - I'm guessing there must be a reason?

Thanks

4
Peekay
Re: Difference between http://mydomain and www.mydomain?
  • 2008/1/21 12:53

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I believe that for SEO purposes it is best to restrict access to www only. As pointed out in the above mentioned webmaster world forum, allowing http access as well *shouldn't* but can cause a duplicate content issue and affect your PR.

Just create an .htaccess file in the root directory and add one of code examples shown. Always use www in mainfile.
A thread is for life. Not just for Christmas.

5
BigJim
Re: Difference between http://mydomain and www.mydomain?
  • 2008/1/23 2:01

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Unfortunately my host server won't let me use .htaccess files

Is there another way to do it?

How come the XOOPS system is built to have both www. and no www.?

6
lintu
Re: Difference between http://mydomain and www.mydomain?
  • 2008/1/23 3:32

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Search engines may think http://www.mydomain.com and mydomain.com are two different sites.

You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.
JigJak.com - A social Bookmarking & Blogging site.

ProjectMgr.net - Online Project Management Software

Login

Who's Online

410 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 410


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits