[ index ]
|
At the time of this entry the Google Toolbar showed the page rank (PR) of this page when viewed as www.michaelthompson.org/weblog/ to be "2/10" yet at the same time when it was viewed as michaelthompson.org/weblog/ it showed a PR of "4/10" Some pages were the same either way, but others showed the same kind of discrepancy.
I put in this .htaccess trick from here that forces all the pages on this site to be consistently served as the non-www version, permanently (301):
RewriteEngine on
RewriteCond %{HTTP_HOST} !^michaelthompson.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*)$ http://michaelthompson.org%{REQUEST_URI} [R=301,L]
That worked but with an unexpected side-effect; any directories with directory listing enabled (i.e. an .htaccess setting of "Options Indexes") returned a 403 error (Forbidden!)
Since there were a few of those (here, here, and here) I had to include within each of them an instance of my own directory listing program, adx.php which is normally used only for my photo albums but is listed in my site's DirectoryIndex statement.
2005-12-07 20:24:36
©2009 Echo3 Online Services, LLC