Author: Sam
Modification Description: Make your phpBB forum's URLs pretty!
Modification Version: 0.0.2
Requirements: Apache Web Server with mod_rewrite enabled
Features:
- Automatically rewrites URLs being displayed
- Redirects users to correct URLs if a wrong one is detected
viewforum.php?f=55
->f55-my-forum-name.html
viewtopic.php?t=23
->t23-my-topic-title.html
viewtopic.php?t=23&start=20
->t23-my-topic-title_20.html
viewtopic.php?p=32
->p32-my-topic-title.html
memberlist.php?mode=viewprofile&u=23
->u23-sam.html
memberlist.php?mode=leaders
->leaders.html
memberlist.php?mode=group&g=2
->g2-administrators.html
faq.php
->faq.html
viewonline.php
->viewonline.html
viewonline.php?sg=1
->viewonline-sg.html
search.php?search_id=egosearch
->egosearch.html
search.php?search_id=unanswered
->unanswered.html
search.php?search_id=unreadposts
->unreadposts.html
search.php?search_id=newposts
->newposts.html
search.php?search_id=active_topics
->active-topics.html
None yay!
Modification Download:
pretty_urls_0.0.2.zip (36.5 KiB)
pretty_urls_0.0.2.tar.bz2 (34.6 KiB)
Notes: With any "friendly" or "pretty" URL system there lies an inherent risk of data leakage via referrers. For example. say there is a topic on your staff board with the URL
t98457-sam-is-causing-trouble.html
, which is hidden from public view. Now whether I cause trouble or not is another matter entirely, but what might happen is when they link to my website as proof that I was causing trouble, that URL will be in the referrer, which I could easily identify via logs on my server. What I could find is the fact there is a private topic with a link to my website in it, and it happens to deal with me causing trouble. It is also worth noting that no other information can be exposed (assuming normal permissions have been set up properly).