Forum Moderators: phranque
RewriteEngine On
RewriteRule ^stories/([^/]+)/([^/]+)\.html$ article.php?article=$1&extra=$2 [L]
RewriteRule ^stories/([^/]+)/$ article.php?article=$1 [L]
but as soon as the url contains a "-" it does not. I have searched exhaustively across google for a reason and have not found one. Any help would be greatly appreciated. Thank you.
At first glance, there's nothing in your rules that is sensitive to hyphens, so a better description of "does not work" may be in order as well. What does or does not happen that you do or don't expect to happen?
Jim
What is confusing me is that it works on my sandbox, but is not working on the new hosting (bluehost) it is not.
www.example.com/stories/articlename/
should redirect to
www.example.com/article.php?article=articlename