My typical url for my site is something like this:
http://www.guitarnoize.com/blog/comments/cry-baby-the-pedal-that-rocks-the-world-part-3
I want to completely remove /blog/comments/ as this is totally unnecessary for my blog. I’m a total htaccess n00b and currently have this:
RewriteCond %{HTTP_HOST} !^www\.guitarnoize\.com$ [NC]
RewriteRule ^(.*)$ http://www.guitarnoize.com/$1 [R=301,L]
RewriteCond $1 !^(images|js|themes|2007|labels|techniques|mp3|gn_system|css|swf|) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]I removed some of the other directories and pages that are accepted by the RewriteCond too as it was quite long, if there is a better way to do this too like the opposite way around that would be great.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.