FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » How to Setup Search Engine Friendly URL's
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to Setup Search Engine Friendly URL's [message #166553 is a reply to message #166475] Sun, 15 January 2012 23:06 Go to previous messageGo to previous message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma:
Member
Frank. before I start working on it, I need to know -

What was the reason for doing the "friendly urls" using the path_info logic, which assigns a one- to three-character code to every possible dynamic path type in the forum, instead of focusing on the forum content? i.e. f=forum, t=topic, m=message, u=user info, i=index, l=login, pl=show polls, sp=show posts, bml=bookmark lists, and so on, for every possible view a user could encounter.

My thought is, if the "path_info" stuff is scrapped altogether, it would be possible to present the forum content using a combination of php code and .htaccess rewrite rules in a SEO-friendly way, while leaving things that you really don't want search-engine-indexed as dynamic URLs...

You don't need SEO-optimization for things like user info, bookmark lists, buddy lists, the login dialog, post rating dialog, etc. You only need it for the forum topics and the messages posted in those topics.

Taking it down to that, it would mean the rewrite php would have to read the category names, forum names, topic/thread names, and message numbers, and be able to reparse the text to url-friendly format and handle category and forum nesting, for forums and threads and messages only - and the .htaccess rewrite rules would have to handle things like ampersand translation, and be configured only to rewrite urls that aren't in dynamic format and pass dynamic format urls as-is.

Not only is the current path-info style url not all that "friendly," it seems like it's doing way more than it needs to. Look at mediawiki - they don't freindly-url-ize everything, like all the edit and maintenance dialogs which remain in dynamic PHP format - they only "friendly-ize" the wiki pages, which they want to be crawled.

If FUDforum were to decide to scrap the whole path_info logic and target the content only for doing the friendly url rewriting, it would make the whole job easier... Let me know.

[Updated on: Sun, 15 January 2012 23:08]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Report of searches performed?
Next Topic: 3.0.4 and php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 05:44:53 GMT 2024

Total time taken to generate the page: 0.04867 seconds