I've this problem whit my htaccess:
- Code: Select all
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?act=$1 [L]
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?act=articolo&id=$1 [L]
The second one is an article..
I would like that if I go in a section, it doesn't have to read the code as an article.
Now it is:
www.domain.com/?act=contact-->www.domain.com/contact --> Ok, it works fine
But I can't do www.domain.com/my-news-title because it read it as an act instead of an ID
I would like to say "use this condition or that one"..How can I do?
Thanks in advance, Paolo