Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I delete the record of my site with WWW in it?

I currently have both urls of my site listed in google and yahoo siteexplorer etc, there is some difference in the pages that are indexed.

Do I need both, or can I delete the one with the www at the start and then let it find all pages using the new url? I have already set my preferred domain in google but can not see a way to do it in yahoo.

Does this even make a diff to how they will index my site, or is it just so I can access stats etc?

My .htaccess is all set up to remove the www anyways.

Any advice greatly appreciated.

like image 734
slugmandrew Avatar asked Jul 06 '10 11:07

slugmandrew


People also ask

Is removing website data good?

They store personal information about you – Cookies remember the sites you visit and the purchases you make and advertisers (and hackers) can use this information to their advantage. So to improve your privacy, it's best to delete them regularly.

Should you clear history and website data?

Your browser tends to hold onto information, and over time this can cause problems with logging in to or loading websites. It is always a good idea to clear out your cache, or browser history, and clear cookies on a regular basis.

How often should I clear my browser history?

If you do not make many webpage alterations or want to see web alterations in real-time you might be better off only clearing your cache once a month or bi-monthly.


2 Answers

If you use URL rewrite to rewrite your www-URL to your non-www-URL you shouldn't need to delete it. Then, the search engines should only list the non-www-URLs.

http://www.codinghorror.com/blog/2007/02/url-rewriting-to-prevent-duplicate-urls.html

like image 89
Hinek Avatar answered Oct 11 '22 08:10

Hinek


If it were me, I'd configure Apache to send 301 messages back telling clients to move to one or the other hostname.

Either hostname is fine, just pick one, and make it stick. That way, Google's page-rank will know to coalesce its databases to just the one entry, and you'll strengthen external links into your site by making it very easy for everyone to standardize when they cut-n-paste your URLs to their friends.

like image 20
sarnold Avatar answered Oct 11 '22 08:10

sarnold