Feed On: RSS Feed Posts RSS Feed Comments

Category Archive for '.htaccess'

301 Redirect Mod_Rewrite

Every website should have this implemented. It forces your site to always show the triple w’s before your domain. This prevents search engines from indexing your site twice and showing duplicate content, which could have a negative impact in your page ranking. Options +FollowSymLinks RewriteEngine onRewriteCond %{HTTP_HOST} ^domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] Add the [...]

Read Full Post »

cPanel AWStats Mod_Rewrite

Here is a quick way to access your AWStats (a statistics software that comes with cPanel control panel with your hosting account). RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?(.*) [nc] RewriteRule ^/?stats(/?)$ http://%{HTTP_HOST}:2082/awstats.pl?config=%2 Allows you to view your stats without going to cpanel. To see your stats after adding the above code to your .htaccess file, go to: [...]

Read Full Post »