aRo` automating your e-commerce

11Sep/07
This blog has been neglected due to the success of Solidshops.com

getting your own .htaccess code in combination with wordpress

Just a quick not on mod_rewrite & wordpress.

If you want to write your own .htaccess code in combination with wordpress you have to put it above the default wordpress code.

<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^arolabs\.com$ [NC]
RewriteRule ^(.*)$ http://www.arolabs.com/$1 [R=301,L]
</ifmodule>
# BEGIN WordPress
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</ifmodule>
# END WordPress

Popularity: 3% [?]

Filed under: php Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.