Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Affiliate Future

Today's drop date is 19-12-2009   All times are GMT. The time now is 08:45:24 AM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration SedoPro Code Domains For Sale NameDrive Domain Parking
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Domain Forum > New Domainers

New Domainers If you are new to domaining or the UK domain market please post your questions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 17-06-2009, 02:42:38 PM     #1 (permalink)

 
Join Date: Jan 2009
Posts: 498
crabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond repute

De-indexed site - a cautionary tale

I recently moved a site onto a free host. No point in paying for hosting - four pages and the pics are linked - but now it has been de-indexed by Google.

Fishing around in Webmasters and Analytics help, I found the reason is in the way that Google indexes sites in the first place - if the site is indexed as
htttp:// www. mydomain .com initially, and the host has the preference set to
htttp:// mydomain .com , the indexing gets lost! Same thing happens if the preferences are the other way round.

So - how can I check the way Google has indexed a site before I move it next time?

Also, how do I know which is my host's preferred setting? Most do not bother you with the question when you are setting up an account.

I do remember being asked once, and thinking "what does it matter"? Now I know why it matters ...
crabfoot is offline  
Old 17-06-2009, 03:22:20 PM     #2 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 1,990
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

Use htaccess settings to set preference

My sites are accessible by both, and my servers have no preference.

As or checking which is indexed, google site:dom.ext to see if you have www. or not.
__________________
Browse: Web Development | Ephedrina | Tail Butt Plug (NSFW) | Mobile Printers.
For Sale: Complete Photo Host Site | Erectile Dysfunction site Kamagra Jelly.
Skinner is offline  
Old 17-06-2009, 03:28:27 PM     #3 (permalink)

 
Join Date: Jan 2009
Posts: 498
crabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond repute

Ta - nice to know somebody cares!
crabfoot is offline  
Old 17-06-2009, 03:33:52 PM     #4 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 1,990
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

domain lore - Google Search

No WWW listed there for example
__________________
Browse: Web Development | Ephedrina | Tail Butt Plug (NSFW) | Mobile Printers.
For Sale: Complete Photo Host Site | Erectile Dysfunction site Kamagra Jelly.
Skinner is offline  
Old 17-06-2009, 03:45:04 PM     #5 (permalink)
Member
 
squarerobot's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 64
squarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond repute

Quote:
Originally Posted by Skinner View Post
Use htaccess settings to set preference
For those of you that don't know, this is the code to use to make the non www version of your site redirect to the version with the www. Simply add the following to your .htaccess file and hey presto!

Code:
# 301 redirect non-www. to www.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.co.uk [NC] 
RewriteRule ^(.*)$ http://www.yourdomain.co.uk/$1 [L,R=301]
I also use the following to redirect any requests for index.php to just mydomain.co.uk - this helps prevent both being indexed (better for SEO imho).

Code:
# 301 index.php to /
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3, 9}\ /.*index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [L,R=301]

Last edited by squarerobot; 17-06-2009 at 03:54:41 PM. Reason: fixed the missing bracket
squarerobot is offline  
Old 17-06-2009, 03:48:31 PM     #6 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 1,990
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

I think you missed a bracket :P

I keep missing braces in PHP lately, not really done that since I moved from VB to C years ago but lately I keep doing it :P
__________________
Browse: Web Development | Ephedrina | Tail Butt Plug (NSFW) | Mobile Printers.
For Sale: Complete Photo Host Site | Erectile Dysfunction site Kamagra Jelly.
Skinner is offline  
Old 17-06-2009, 03:55:07 PM     #7 (permalink)
Member
 
squarerobot's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 64
squarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond reputesquarerobot has a reputation beyond repute

Fixed! (that'll teach me to copy and paste!)
squarerobot is offline  
Old 17-06-2009, 11:23:16 PM     #8 (permalink)

 
Join Date: Jan 2009
Posts: 498
crabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond reputecrabfoot has a reputation beyond repute

It's all good stuff! I'm learning ... but where do I put that code?

LOL I can't even remember how to program the alarm clock these days ...
crabfoot is offline  
Old 17-06-2009, 11:29:29 PM     #9 (permalink)
Administrator
 
admin's Avatar
 
Join Date: Jun 2004
Posts: 7,191
admin has disabled reputation

Put it in your .htaccess file (which should be in the root of your domain)
__________________
9p Domains | Domain Appraisal | Droplists | Domain Brokerage | Find Valuable Domains | Link to us | Domain Software
New to UK Domain Names? - Go Here | Diet | Domain Transfers | Domain Auctions
Make more money from your Domain Names with SedoPro - PM for a free activation code!
admin is offline  
Old 17-06-2009, 11:37:06 PM     #10 (permalink)

 
aZooZa's Avatar
 
Join Date: Nov 2005
Posts: 2,500
aZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond reputeaZooZa has a reputation beyond repute

Steve rules!
__________________
UK Drop Catching Services: Dropsystem.co.uk
New! Canadian Drop Catching: Dropping.ca New! MiniSites: NotSoMini
aZooZa is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Advertising my service: I develop mini sites. gameboy Services Wanted 1 27-05-2009 11:13:03 AM
Site Indexed & Ranked on google within 24 hours ! FreetimersInter General Board 0 01-08-2007 09:01:16 AM

Domain Name Registration


All times are GMT. The time now is 08:45:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".