homepage Welcome to WebmasterWorld Guest from 54.205.122.189
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: DixonJones & mademetop

Website Analytics - Tracking and Logging Forum

    
Awstat return code 302 - Meaning
Blutarsky

5+ Year Member



 
Msg#: 3959464 posted 11:59 am on Jul 25, 2009 (gmt 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

 

jdMorgan

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



 
Msg#: 3959464 posted 1:10 pm on Jul 25, 2009 (gmt 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

Blutarsky

5+ Year Member



 
Msg#: 3959464 posted 1:15 pm on Jul 25, 2009 (gmt 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?

Oxydada

5+ Year Member



 
Msg#: 3959464 posted 1:46 am on Aug 3, 2009 (gmt 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?

bouncybunny

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3959464 posted 2:02 pm on Aug 4, 2009 (gmt 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]

Blutarsky

5+ Year Member



 
Msg#: 3959464 posted 2:15 pm on Aug 4, 2009 (gmt 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?

cgrantski

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3959464 posted 2:33 pm on Aug 4, 2009 (gmt 0)

<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.

Blutarsky

5+ Year Member



 
Msg#: 3959464 posted 2:51 pm on Aug 4, 2009 (gmt 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)"


g1smd

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



 
Msg#: 3959464 posted 10:16 pm on Aug 4, 2009 (gmt 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.

Blutarsky

5+ Year Member



 
Msg#: 3959464 posted 10:43 pm on Aug 4, 2009 (gmt 0)

Same 302 output.....

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved