Customizing SMF > Modifications and Packages
Pretty URLs 1.0 - Updated for SMF 2.0
natenkiki2004:
Where's the latest version of this mod? nend are you rewriting it or improving upon it? It's hard to follow after 300+ pages :)
Jade Elizabeth:
Thanks so much!
Here's the topic for you, hope it's okay :D.
http://www.simplemachines.org/community/index.php?topic=483976.0
nairaman:
I created a new topic at this link, and here is the quote from there:
--- Quote from: nairaman on August 19, 2012, 01:25:58 PM ---I created a new SMForum 2.0.2 at hxxp:www.howebook.net [nonactive] and I am trying to make the urls SEO-friendly, so I installed the Pretty URLs 1.0 from this link http://www.simplemachines.org/community/index.php?topic=146969.0
It's working fine, but I need to restructure the URL for topics from the current structure which is
hxxp://domain.tld/board/topic
to something like
hxxp://domain.tld/topic-id/topic
so that instead of
howebook.net/phone/master-guide
I should be having something like
howebook.net/1234/master-guide
where topic-id is a number indicating the numeric ID for that topic.
Can anyone guide me as to how I can achieve this. I would be so grateful if anyone could modify the mod accordingly and re-attach the new one here so that I could download and re-install on my forum.
Thanks. ;D
--- End quote ---
vbgamer45:
Not easily possible. You would have to change the pretty urls code.
nairaman:
Ok. Thanks for the prompt reply. But I would need you to guide me exactly where to go and modify, and the block of code that I need to modify. I am a bit good with PHP so I can at least hazard a try on a fresh installation of SMF on my server.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version