Forum Moderators: phranque
I have these
RewriteRule ^forum.html /e107_plugins/forum/forum.php
and when I go to www.example.com/forum.html it works
but I need
RewriteCond "if I go to these url=/e107_plugins/forum/forum.php"
RewriteRule ^forum.html /e107_plugins/forum/forum.php
also is it possible to implement same as above
RewriteCond "if I go to these url=e107_plugins/forum/forum_viewforum.php?$1
RewriteRule forum([0-9]*)\.html(.*)$ e107_plugins/forum/forum_viewforum.php?$1
I get example.com/forum25.html, but is it possible to get forum category name like these example.com/rules and regulations
thanks in advance your forum help me a lot !
In general, "mapping" from <article_name> to <database_key> requires a scripted solution, either in your page-generation script, or using two scripts, one for page-generation, and another for URL rewriting using mod_rewrite's RewriteMap function. The latter solution requires httpd.conf or conf.d (server-configuration-level) access.
Jim