Sep 14, 2008
.htaccess | Tutorials & Resources

Loading ...
Just add the following code to your .htaccess file in the highest folder of your web directory and yor visitors will be forced to use the www version.
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
Jun 15, 2008
.htaccess | Tutorials & Resources

Loading ...
.htaccess (Hypertext Access) is the default name of Apache’s directory-level configuration file. It provides the ability to customize configuration directives defined in the main configuration file. The configuration directives need to be in .htaccess context and the user needs appropriate permissions.
(Read more)
Jun 14, 2008
.htaccess | Tutorials & Resources | WordPress

Loading ...
If your WordPress 2.5 installation shows an HTTP Error when uploading files using the media uploader, this is due to mod_security on the async-upload.php file which handles file uploads.
Just add a few lines to WordPress’ .htaccess file should fix that problem.
(Read more)