Welcome to WebmasterWorld Guest from 54.146.221.231

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Awstat return code 302 - Meaning

     
11:59 am on Jul 25, 2009 (gmt 0)

New User

5+ Year Member

joined:July 22, 2009
posts: 39
votes: 0


In my Awstats panel, in the HTTP Status codes I have the following stats:

302 Moved temporarily (redirect) 3945 97.6 % 134.89 KB
500 Internal server Error 50 1.2 % 95.27 KB
206 Partial Content 32 0.7 % 486.68 KB
404 Document Not Found 7 0.1 % 22.90 KB
301 Moved permanently (redirect) 6 0.1 % 2.43 KB

As the website has changed from [domain.com...] to [domain.com,...] say two months ago, with little or no links pointing at the www domain, I'm wondering if there's some problems left somewhere and I'm loosing some traffic...

- the site is running on Apache + Wordpress 2.71
- There are some SEO plugin installed
- this is the htacces.conf file content:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Thanks for helping

1:10 pm on July 25, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


The WordPress code looks to be the bog-standard code, as created on WP installation. It has nothing to do with external redirects (it does internal rewriting only).

You need to dig deeper into your stats reports and find out what URLs are returning a 302-Found (a.k.a. 302-Moved Temporarily) server response. If your stats reports can't tell you, then dig into the raw server access logs, and find those URLs.

If the traffic to either those URLs or to the URLs that they redirect to is important to you, and if they have been permanently moved (e.g. moved from www to non-www, or any other known change), then the response must be a 301-Moved Permanently to get the best/proper reaction from search engines.

The next step in this case would be to dig through your server control panel settings and either correct the redirect (from a 302 to a 301) or remove it entirely and then implement the 301 redirect yourself in your .htaccess file.

You can check server responses on a request-by-request basis using the "Live HTTP Headers" add-on for Firefox/Mozilla browsers -- it's good basic kit.

Jim

1:15 pm on July 25, 2009 (gmt 0)

New User

5+ Year Member

joined:July 22, 2009
posts: 39
votes: 0


I have add this to the awstats config file:

ExtraSectionName1="Moved temporarily (redirect - 302)"
ExtraSectionCodeFilter1="302"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="URL"
ExtraSectionFirstColumnValues1="URL,^(.*)$"
ExtraSectionFirstColumnFormat1="<A HREF='http://www.your_site.com%s' TARGET='_blank'>%s</A>"
ExtraSectionStatTypes1=HBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1

Should add a new section to the log, will tell ya whats going on...

At the moment there's only one entry in the log pointing to site's feeds... maybe a plugin that enables redirecting feeds to feedburner?

1:46 am on Aug 3, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:June 4, 2008
posts:66
votes: 0


Hi!
I'm having the same situation. Almost 90% of status codes are from 302 moved temporarily in Awstats.
Did you happen to find what's happening?
2:02 pm on Aug 4, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Mar 10, 2006
posts:661
votes: 0


I had some forum software once that used 302 internally for something or other. Used to run up thousands of 302 redirects.,

[edited by: bouncybunny at 2:31 pm (utc) on Aug. 4, 2009]

2:15 pm on Aug 4, 2009 (gmt 0)

New User

5+ Year Member

joined:July 22, 2009
posts:39
votes: 0


Nope no answer yet... I have read something like if the Worpdress admin access causes this, but have no confirmation about it.
Do you use Wordpress as I do?
2:33 pm on Aug 4, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 14, 2004
posts:1107
votes: 1


<If your stats reports can't tell you, then dig into the raw server access logs, and find those URLs.> - JDMorgan

FYI, the how-to for what JDM was saying is to find the 302 lines and look in the referrer field for the URL of the page just before the 302, i.e. the one that had a link to a 302 redirect. Things should become clear then.

2:51 pm on Aug 4, 2009 (gmt 0)

New User

5+ Year Member

joined:July 22, 2009
posts:39
votes: 0


Example here...


64.40.121.124 - - [04/Aug/2009:08:06:17 -0500] "GET /hp-signs-workplace-services-agreement-with-akzonobel HTTP/1.0" 302 - "-" "Sphere Scout&v4.0 - scout at sphere dot com"
64.40.121.124 - - [04/Aug/2009:08:06:18 -0500] "GET /hp-signs-workplace-services-agreement-with-akzonobel/ HTTP/1.0" 200 41519 "-" "Sphere Scout&v4.0 - scout at sphere dot com"
64.40.121.124 - - [04/Aug/2009:08:06:19 -0500] "GET /hp-signs-workplace-services-agreement-with-akzonobel HTTP/1.0" 302 - "-" "Sphere Scout&v4.0 - scout at sphere dot com"
64.40.121.124 - - [04/Aug/2009:08:06:19 -0500] "GET /hp-signs-workplace-services-agreement-with-akzonobel/ HTTP/1.0" 200 41519 "-" "Sphere Scout&v4.0 - scout at sphere dot com"

or


65.113.57.7 - - [04/Aug/2009:08:00:38 -0500] "GET /feed/ HTTP/1.0" 302 - "-" "Moreoverbot/5.00 (+http://www.moreover.com; webmaster@moreover.com)"
66.249.68.54 - - [04/Aug/2009:08:00:42 -0500] "GET /feed/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

10:16 pm on Aug 4, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Try any of those "pages" in your browser, both with and without www in the request, and look at the responses in Live HTTP Headers.
10:43 pm on Aug 4, 2009 (gmt 0)

New User

5+ Year Member

joined:July 22, 2009
posts:39
votes: 0


Same 302 output.....