![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | SedoPro Code | Domains For Sale | NameDrive | Domain Parking |
|
|||||||
| Home | Register | Rules | Membership Upgrade | Featured Domains | Mark Forums Read | Domain Classified | Chat Room |
| New Domainers If you are new to domaining or the UK domain market please post your questions here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
![]() |
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 ...
__________________
http://www.paymentprotectioninsurance-ppi-info.co.uk |
|
|
|
|
#2 (permalink) |
![]() |
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. |
|
|
|
|
#4 (permalink) |
![]() |
__________________
Browse: Web Development | Ephedrina | Tail Butt Plug (NSFW) | Mobile Printers. For Sale: Complete Photo Host Site | Erectile Dysfunction site Kamagra Jelly. |
|
|
|
|
#5 (permalink) |
|
Member
|
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]
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 |
|
|
|
|
#6 (permalink) |
![]() |
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. |
|
|
|
|
#8 (permalink) |
![]() |
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 ...
__________________
http://www.paymentprotectioninsurance-ppi-info.co.uk |
|
|
|
|
#9 (permalink) |
|
Administrator
|
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! |
|
|
|
|
#10 (permalink) |
![]() |
Steve rules!
__________________
UK Drop Catching Services: Dropsystem.co.uk New! Canadian Drop Catching: Dropping.ca New! MiniSites: NotSoMini |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |