I'll try to explain this as best I can. I am trying help a friend to format url's in a forum, so that each thread has a unique name, with the path reading as follows:
mywebsite/forums/topicname/thread name
So the topic name could be "Beatles" or "Stones" in the above case, yet the thread name is "favourites" in both cases.
Currently the url is being created as:
mywebsite/forums/topic/thread name
So, if I have two threads with the same name but under different sub forums/topics, the second thread is created with a number at the end, like so:
mywebsite/forums/topic/thread name-2
I believe I have to change the code in mod_rewrite, however, I can't find a tutorial that explains it in terms I can understand. I'm pretty sure I could do this on my own, with the help of such a tutorial, if it exists. Or, if it wouldn't be too much of a job for someone to show me an example of how the code looks, and where the changes need to be made, I could take it from there.
I'll probably have other questions on the general topic of customizing the forum, if anyone is willing to lend a hand. I'm not an expert by any stretch of the imagination, however, I can tinker around and generally pick things up quickly, once they are explained to me. Any takers?
Donkey chin, in advance.
mywebsite/forums/topicname/thread name
So the topic name could be "Beatles" or "Stones" in the above case, yet the thread name is "favourites" in both cases.
Currently the url is being created as:
mywebsite/forums/topic/thread name
So, if I have two threads with the same name but under different sub forums/topics, the second thread is created with a number at the end, like so:
mywebsite/forums/topic/thread name-2
I believe I have to change the code in mod_rewrite, however, I can't find a tutorial that explains it in terms I can understand. I'm pretty sure I could do this on my own, with the help of such a tutorial, if it exists. Or, if it wouldn't be too much of a job for someone to show me an example of how the code looks, and where the changes need to be made, I could take it from there.
I'll probably have other questions on the general topic of customizing the forum, if anyone is willing to lend a hand. I'm not an expert by any stretch of the imagination, however, I can tinker around and generally pick things up quickly, once they are explained to me. Any takers?
Donkey chin, in advance.