mod: Really Search Engine Friendly URLs
Posted by vitalka
January 09, 2008 07:42PM |
Admin Registered: 17 years ago Posts: 8,532 |
Thanks :-) Every donation is welcomed. From $1 to $2500 (anyone??? ;-).
And just keep an eye on the special 5.2 module forum. We are still in the process of updating the 5.1 modules that we wrote ourselves. Because of all the cool new feature in 5.2, this takes a bit of time for some of them, because large portions are being rewritten to use those features.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
And just keep an eye on the special 5.2 module forum. We are still in the process of updating the 5.1 modules that we wrote ourselves. Because of all the cool new feature in 5.2, this takes a bit of time for some of them, because large portions are being rewritten to use those features.
Maurice Makaay
Phorum Development Team



January 15, 2008 05:20PM |
Admin Registered: 17 years ago Posts: 8,532 |
I gave it a try and as a result, there were some drastic changes done to the code ordering in common.php. A new hook "parse_request" was added as well. Against this new common.php, I wrote a module (about 20 lines of code) which does an attempt at SEF URLs. Currently, it is up at [secretsauce.phorum.org] where you can see that the forum links on the index page are all rewritten. Other links are not affected.
This solution is done without any outside Phorum rewrites. When adding rewrites or customized 404 error handling, it would also be possible to generate even cleaner URLs that would look like phorumsite/list/3/my-interesting-forum.html (so stripping the .php from list.php).
Is this the correct direction that I am taking here?
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
This solution is done without any outside Phorum rewrites. When adding rewrites or customized 404 error handling, it would also be possible to generate even cleaner URLs that would look like phorumsite/list/3/my-interesting-forum.html (so stripping the .php from list.php).
Is this the correct direction that I am taking here?
Maurice Makaay
Phorum Development Team



Re: mod: Really Search Engine Friendly URLs February 26, 2008 02:35PM |
Registered: 14 years ago Posts: 1 |
February 26, 2008 03:18PM |
Admin Registered: 17 years ago Posts: 8,532 |
It's nowhere near finished, but you can have a look at it.
I packaged what I did so far: pretty_urls-0.0.1.tar.gz.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
I packaged what I did so far: pretty_urls-0.0.1.tar.gz.
Maurice Makaay
Phorum Development Team



Re: mod: Really Search Engine Friendly URLs March 21, 2008 07:15PM |
Registered: 14 years ago Posts: 9 |
Hi,
Any news on that SEF URL module? Something like this [bbpress.org] would be nice.
Thanks a million ;)
Any news on that SEF URL module? Something like this [bbpress.org] would be nice.
Thanks a million ;)
Re: mod: Really Search Engine Friendly URLs March 21, 2008 07:22PM |
Registered: 14 years ago Posts: 9 |
Re: mod: Really Search Engine Friendly URLs March 21, 2008 07:31PM |
Registered: 14 years ago Posts: 9 |
March 21, 2008 07:37PM |
Admin Registered: 17 years ago Posts: 8,532 |
Yes, it requires a new hook and reordering of the common.php script. This is in 5.2.7. Also note that I just wrote this as a proof of concept. Only a few URLs get rewriting to see how that could work and to see if that was what people were after. Don't expect a fully matured system for SEF URLs.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: mod: Really Search Engine Friendly URLs April 17, 2008 01:36PM |
Registered: 14 years ago Posts: 16 |
Re: mod: Really Search Engine Friendly URLs April 17, 2008 01:54PM |
Registered: 14 years ago Posts: 16 |
Sorry, only registered users may post in this forum.