What causes bandwidth for "301 Moved permanently (redirect)"

Hi,

I am trying to understand how HTTP Status codes and corresponding error pages work on my website/server and in general.

When I check the HTTP Status codes section on my Awstats page, I see some bandwidth consumption for 301 Moved permanently (redirect). Surely it is negligible but I want to learn what causes that bandwidth. A file on my site or a default server file?

For the record, I use the following redirects in my .htaccess file:

# Add www
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

# Add /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.example.com/$1/ [L,R=301]

Thanks for any ideas.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.