miniBB Support Forums | 16 years on The Web
miniBB ®


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Re-cycled miniBB Support Forums / Re-cycled /   

Changing URLs to contain topic and forum titles

Author freshGuy
#1 | Posted: 29 Aug 2011 01:34 
The original that i found here on the forum works fine, but i want ex.
when when i go to forum "News" i get to;

but i was woundering how to change my rewrite code, so that it shows
and when i look up a topic at the forum folder News, it shows up like

if possible and not making it to hard for myself, even remove the last id parts, so that i just get up

insted of

i managed to "integrate" the website with your forum very easy, tyvm and i wouldnt belive it was so easy. you got a new member that will use, and with time whne i make a good programer of myself i hope i can contribue here :)

Author kuopassa
#2 | Posted: 29 Aug 2011 04:36 
If you put your URL structure to have:


You could in that case get in trouble if your forum would have sooner/later a topic with the same name. So in that case you'd have two topics with identical URL. The system should therefore identify somehow if URL is reserved, and if it is, it should do something... :-) It could do like some automatic numerical addition to the younger URL:


This is how I'd do it, if I would know how.

Author Paul
Lead Developer
#3 | Posted: 29 Aug 2011 12:49 | Edited by: Paul 
Pay attention to the Keyword-Rich URLs solution we have under Downloads. The solution based on the ver.#2 of this add-on's code, probably stands most closely to what you would like to achieve.

It's not possible to remove ID parts.

Author freshGuy
#4 | Posted: 29 Aug 2011 15:55 
tyvm for info, and yeah i thought it so self. that it will mess up the file-structur if f.e. two topics with the same name shows up and i dont have id at end.

tnx Paul it works fine for me now :)

Re-cycled miniBB Support Forums / Re-cycled /
 Changing URLs to contain topic and forum titles
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.