HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

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 SEO Chat Forums Sponsor:
  #1  
Old September 10th, 2009, 06:17 PM
rlopes rlopes is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 6 rlopes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 16 sec
Reputation Power: 0
.htaccess rewrite VS 301 redirect

Hello,

I decided to redirect all visitors that were going to a certain location to the root domain. Of course I could have used a 301 redirect to do that, however I decided to use .htaccess Rewrite Rule instead.

Was that a good decision regarding SEO? Or should I change it to a 301 redirect instead?

Reply With Quote
  #2  
Old September 10th, 2009, 11:58 PM
pro_seo's Avatar
pro_seo pro_seo is online now
Moderator
SEO Chat Expert (3500 - 3999 posts)
 
Join Date: Apr 2006
Location: I N D I A
Posts: 3,513 pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 3 Days 7 h 43 m 10 sec
Reputation Power: 175
Send a message via Skype to pro_seo
Quote:
Originally Posted by rlopes
Hello,

I decided to redirect all visitors that were going to a certain location to the root domain. Of course I could have used a 301 redirect to do that, however I decided to use .htaccess Rewrite Rule instead.

Was that a good decision regarding SEO? Or should I change it to a 301 redirect instead?


Welcome to SEOchat!

For websites running on APACHE modules [UNIX], you have to use the .HTACCESS to place the redirects - both 301 and 302 redirects can be implemented through the .HTACCESS.

I would suggest you put your redirecting URL to an online server header check tool such as http://www.seoconsultants.com/tools/headers.asp and check the HTTP Status Code - you might already have a 301 redirect in place.

Hit back if you're still stuck with anything or have further questions

Welcome to the club
__________________

SEO FAQs - You might find your answer here.
SEOchat Forum Rules - Read Before You Post


**Do what you feel in your heart to be right- for you'll be criticized anyway. You'll be damned if you do, and damned if you don't.**

Reply With Quote
  #3  
Old September 11th, 2009, 07:32 AM
rlopes rlopes is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 6 rlopes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 16 sec
Reputation Power: 0
Hello, thanks for the reply!
This is the status I'm getting:

#1 Server Response:
HTTP Status Code: HTTP/1.1 200 OK
Date: Fri, 11 Sep 2009 12:25:02 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.8
Connection: close
Content-Type: text/html

HTTP Status Code - 200 OK

The request has succeeded. The information returned with the response is dependent on the method used in the request.
----------------------
Seems like there's no redirect. The request is treated like succeeded and that's all. I probably better change to a 301.

Reply With Quote
  #4  
Old September 11th, 2009, 08:42 AM
pro_seo's Avatar
pro_seo pro_seo is online now
Moderator
SEO Chat Expert (3500 - 3999 posts)
 
Join Date: Apr 2006
Location: I N D I A
Posts: 3,513 pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level)pro_seo User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 3 Days 7 h 43 m 10 sec
Reputation Power: 175
Send a message via Skype to pro_seo
If that is the server response you get for the redirect - then you most likely have either

1. A Meta Redirect
2. A JS Redirect

...both of which are not favorable methods of redirects. I would suggest switch them to 301.

Let us know if you need any further help

Reply With Quote
  #5  
Old September 11th, 2009, 08:47 AM
rlopes rlopes is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 6 rlopes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 16 sec
Reputation Power: 0
Quote:
Originally Posted by pro_seo
If that is the server response you get for the redirect - then you most likely have either

1. A Meta Redirect
2. A JS Redirect

...both of which are not favorable methods of redirects. I would suggest switch them to 301.

Let us know if you need any further help


As I said, it's a .htaccess redirect. I guess Google is seeing it like duplicated content...

Reply With Quote
  #6  
Old September 13th, 2009, 11:17 AM
ClickyB's Avatar
ClickyB ClickyB is offline
Cool bra. Go with Christ!
Click here for more information. Click here for more information
 
Join Date: Mar 2004
Location: Gloucester (South West UK).
Posts: 5,031 ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level)ClickyB User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Months 4 Weeks 13 h 40 m 54 sec
Reputation Power: 213
Quote:
Originally Posted by rlopes
As I said, it's a .htaccess redirect. I guess Google is seeing it like duplicated content...
I agree...

You said " I could have used a 301 redirect to do that, however I decided to use .htaccess Rewrite Rule instead"

The rewrite rule can (also) be used for a 301 rewrite, but that needs to be specified (for instance - adding [R=301,L] to the end of the rewrite line can do it) but - to be safe - you could paste your rewrite code into a post here so we can double-check it for you
__________________
ClickyB
"The quality of the visitor is more important than the volume".. Egol 22nd Feb 2008
New to SEO / SeoChat? Start : Here
Forum Rules & Posting Guidelines
Canonicalisation Solutions

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > .htaccess rewrite VS 301 redirect


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




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

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




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek