User talk:Tollie

From Bhamwiki
Jump to navigation Jump to search

Hello and welcome to Bhamwiki. We're really excited to see your contributions. If you haven't already, please read our User agreement and then feel free to dive in. --Dystopos 14:00, 10 February 2007 (PST)

mod_rewrite

  • What about mod_rewrite to allow wiki/Article_Title URLs (instead of index.php?title=) tollie 21:50, 10 February 2007 (PST)
  • I'd love to do that. I'm told that to do that I first need to upgrade the PHP version on my server, which will happen soon. I'm not personally knowledgeable about such things, so if you know what to do, we can talk about getting it done. --Dystopos 21:57, 10 February 2007 (PST)
  • I'm not very knowledgeable. If this helps, once mod_rewrite is working I believe this is the code you'd want to add to the /wiki/.htaccess file:
RewriteEngine On
RewriteBase /wiki
RewriteRule ^$ index.php [L]
RewriteRule ^([^/a-z].*) index.php?title=$1 [QSA,L]
--tollie 22:10, 10 February 2007 (PST)