Re: .htaccess file adjustment not working
Posted: Fri Apr 06, 2007 8:42 pm
Hello,
http://httpd.apache.org/docs/2.2/rewrit ... onicalhost
Then, the / 302 redirect.
Then, CMSms manual on pretty URLs.
May be RewriteRule ^(.+)\.html$ index.php?page=$1 [QSA] depending on your "page extension".
And don't forget to upgrade asap your 1.0.2.
Pierre M.
They are not only different to Google. There *are* different, as Alaska is different from the entire US.lexscripta wrote: After looking at the net on the topic of "diluted page rank", it appears that www.mysite.com and http://mysite.com are different to google.
Not if / 302 redirects to /indexAlso, this www.mysite.com and www,mysite.com/index.html can dilute page rank.
I'd switch the rewrite rules : firstly, canonical hostname.So I tried this:
and it doesn't appear to be solving this issue - CMSMS 1.02Code: Select all
#php_flag magic_quotes_gpc Off #php_flag register_globals Off #php_flag session.use_trans_sid Off # Make sure you have Options FollowSymLinks # and Allow on Options +FollowSymLinks RewriteEngine On RewriteBase / #Rewrites page.shtml as index.php?page RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteRule ^(.+)$ index.php?page=$1 [QSA] #This stuff rewrites index.html to just #www.mysite.com RewriteCond %{REQUEST_URI} ^/index.html [NC] RewriteRule ^/index.html$ / [R=301] RewriteCond %{HTTP_HOST} ^mysite.com RewriteRule ^(.*)$ http://www.mysite.com/$1 [r=301,L]
Anything wrong with the .htaccess file?
Lexscripta
http://httpd.apache.org/docs/2.2/rewrit ... onicalhost
Then, the / 302 redirect.
Then, CMSms manual on pretty URLs.
May be RewriteRule ^(.+)\.html$ index.php?page=$1 [QSA] depending on your "page extension".
And don't forget to upgrade asap your 1.0.2.
Pierre M.