So I have a domain server with the domain kudzugazette.com, and I have an installation of wordpress running at mainecampus.kudzugazette.com/wordpress. I set up a CNAME entry so blogs.mainecampus.com points to mainecampus.kudzugazette.com/wordpress, but now I want to be able to use mod_rewrite to turn on clean urls, and I'm having some problems. Some help would be greatly appreciated.
This is what was already in the .htaccess file:
Here's what WordPress wants me to put in the .htaccess file:Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^mainecampus.kudzugazette.com$ [OR] RewriteCond %{HTTP_HOST} ^www.mainecampus.kudzugazette.com$ RewriteRule ^blogs/?(.*)$ "http\:\/\/mainecampus\.kudzugazette\.com\/wordpress\/$1" [R=302,L]
Code:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Is there a way I can merge the two?
Thanks!


Reply With Quote
Bookmarks