phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
www redirect problem

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
j2ross



Joined: 21 May 2008
Posts: 12

www redirect problemPosted: Wed May 21, 2008 9:56 pm    Post subject: www redirect problem

Whenever the software redirects my domain it first redirects to a non-www page, then further redirected to a www page. How do I get this server response down to 2 instead of 3?

Code:
#1 Server Response: http://www.noluckneeded.com/index.php
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Wed, 21 May 2008 22:37:49 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/4.3.9
Set-Cookie: orion_cookie_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; expires=Thu, 21-May-2009 22:37:49 GMT; path=/; domain=noluckneeded.com
Set-Cookie: orion_cookie_sid=ff6ce39e8604b81e12a5116a17a66636; path=/; domain=noluckneeded.com
Location: http://noluckneeded.com/index.html
Content-Length: 0
Connection: close
Content-Type: text/html; charset=iso-8859-1
Redirect Target: http://noluckneeded.com/index.html


Code:
#2 Server Response: http://noluckneeded.com/index.html
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Wed, 21 May 2008 22:37:49 GMT
Server: Apache/2.0.52 (CentOS)
Location: http://www.noluckneeded.com/index.html
Content-Length: 328
Connection: close
Content-Type: text/html; charset=iso-8859-1
Redirect Target: http://www.noluckneeded.com/index.html


Code:
#3 Server Response: http://www.noluckneeded.com/index.html
HTTP Status Code: HTTP/1.1 200 OK
Date: Wed, 21 May 2008 22:37:50 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/4.3.9
Set-Cookie: orion_cookie_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; expires=Thu, 21-May-2009 22:37:50 GMT; path=/; domain=noluckneeded.com
Set-Cookie: orion_cookie_sid=4e2d98aca8205f37cc8b57a4ef57243f; path=/; domain=noluckneeded.com
Cache-Control: no-cache, pre-check=0, post-check=0
Expires: 0
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=iso-8859-1
Back to top
j2ross



Joined: 21 May 2008
Posts: 12

www redirect problemPosted: Thu May 22, 2008 8:01 pm    Post subject: Re: www redirect problem

I figured this out!

I changed the domain in phpbb configuration settings from

noluckneeded.com

to

"www.noluckneeded.com"
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: