This is my .htaccess
- Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^$ /index.php [L]
RewriteCond $1 !^(index\.php|public|wall|install|img|smarty|images|scripts|fonts|uploads|css|js|robots\.txt|sitemap\.xml|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteRule (.*)-(.*)\.html$ wallpapers/show/$2
RewriteRule (.*)-(.*)/$ categories/show/$2
RewriteRule (.*)-(.*)\/(.*)$ categories/show/$2/$3
It's can rewrite *.html , *-*/* ...
But why /members , /contact not rewrite ???
I want create a rules to rewrite:
mydomains.com/contact -> mydomains.com/index.php/contact
mydomains.com/tags/show/key -> mydomains.com/index.php/tags/show/key
Please help !