Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 26th, 2005, 01:18 PM
bf2 bf2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 1 bf2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 2 sec
Reputation Power: 0
PHP redirect / SEO - Google / HTTP 301

Running a click counter script on my site. The script uses PHP's header url function to redirect and count the url being clicked.

Based on http://www.webconfs.com/how-to-redirect-a-webpage.php, a HTTP 301 redirect will be more apporpriate for SEO's.

Hence I changed my PHP script from

PHP Code:
 Header("Location: $url"); 


to

PHP Code:
 Header"HTTP/1.1 301 Moved Permanently" );
Header("Location: $url"); 


Will this affect my keyword ranking? Would Google punish me in anyway?

Reply With Quote
  #2  
Old October 26th, 2005, 02:43 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,375 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate FolderFolding Points: 70305 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 3 Weeks 6 Days 17 h 9 m 11 sec
Reputation Power: 1768
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
Moved to SEO forum. Good luck.

Reply With Quote
  #3  
Old October 26th, 2005, 11:13 PM
Gnome101's Avatar
Gnome101 Gnome101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 314 Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level)Gnome101 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 11 h 41 m 18 sec
Reputation Power: 5
I am going to say yes. (and here's why...)

Google and other search engines will stop indexing when they hit the redirect. In fact they really don't like being bounced around the pages. Their main objective is to follow Link data, not metatag links.

A 301 redirect is not a spider killer. They will follow the redirect and get the proper data. (where the redirect is linking to)

You should eventually drop the redirect, for as the spiders index the new material you should have no use for the old material.

The jump in results won't be instantanious, and will probably take a good amount of time, based on your current placement as well as how often and how deep the spiders hit your current site.


Hope that helps some.

Kris

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > PHP redirect / SEO - Google / HTTP 301


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway