Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Friend URL help
Been trying to modify it unsuccessfully, only had a quick run through of it however.
Basically I want to have categories listed as .com/whatever/ - .com/bugs/ etc
However upon editing and removing "discussion" etc for the categories, I'm still left with this as a URL when uploaded. Any help?
#Discussions
RewriteRule ^$ index.php [QSA,L]
RewriteRule ^/$ index.php [QSA,L]
RewriteRule ^/([0-9]+)$ index.php?page=$1 [QSA,L]
RewriteRule ^/([0-9]+)/$ index.php?page=$1 [QSA,L]
RewriteRule ^([0-9]+)$ index.php?CategoryID=$1 [QSA,L]
RewriteRule ^([0-9]+)/$ index.php?CategoryID=$1 [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+)$ index.php?CategoryID=$1&page=$2 [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+)/$ index.php?CategoryID=$1&page=$2 [QSA,L]
#Categories
RewriteRule ^/$ categories.php [QSA,L]
Is how it currently stands, any help?
Basically I want to have categories listed as .com/whatever/ - .com/bugs/ etc
However upon editing and removing "discussion" etc for the categories, I'm still left with this as a URL when uploaded. Any help?
#Discussions
RewriteRule ^$ index.php [QSA,L]
RewriteRule ^/$ index.php [QSA,L]
RewriteRule ^/([0-9]+)$ index.php?page=$1 [QSA,L]
RewriteRule ^/([0-9]+)/$ index.php?page=$1 [QSA,L]
RewriteRule ^([0-9]+)$ index.php?CategoryID=$1 [QSA,L]
RewriteRule ^([0-9]+)/$ index.php?CategoryID=$1 [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+)$ index.php?CategoryID=$1&page=$2 [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+)/$ index.php?CategoryID=$1&page=$2 [QSA,L]
#Categories
RewriteRule ^/$ categories.php [QSA,L]
Is how it currently stands, any help?
0
This discussion has been closed.
Comments
At the moment, installing a default friendly urls plugin you'll have the default set up .com/category/1/ and so on. I want to be able to just have .com/1/ etc, but also change 1 to the category name instead of ID if possibly...