Module: Search Engine Friendly URL's
Posted by Martijn van Maasakkers
Re: Module: Search Engine Friendly URL's April 17, 2009 08:03AM |
Registered: 20 years ago Posts: 10 |
Uploading a .htaccess file with the sef_urls_1.0.6 RewriteEngine On software I get the same Error 500.
Equal if the software is in the 'domain' or 'domain/phorum' folder.
PHP Version 4.4.9, MySql 5.0.67, Phorum table_prefix.
Otherwise a .htaccess file with something like:
RewriteEngine on
RewriteCond %{REQUEST_URI} index/(.*)$
RewriteRule index/(.*)$ /index.php?nav=$1
or
RewriteEngine on
RewriteCond %{REQUEST_URI} index/(.*)\.html$
RewriteRule index/(.*)\.html$ /index.php?kategorie=$1
will run and gives no Errors.
Documention about mod_rewrite is found under [httpd.apache.org]
I'll try it further.
Equal if the software is in the 'domain' or 'domain/phorum' folder.
PHP Version 4.4.9, MySql 5.0.67, Phorum table_prefix.
Otherwise a .htaccess file with something like:
RewriteEngine on
RewriteCond %{REQUEST_URI} index/(.*)$
RewriteRule index/(.*)$ /index.php?nav=$1
or
RewriteEngine on
RewriteCond %{REQUEST_URI} index/(.*)\.html$
RewriteRule index/(.*)\.html$ /index.php?kategorie=$1
will run and gives no Errors.
Documention about mod_rewrite is found under [httpd.apache.org]
I'll try it further.
April 17, 2009 08:04AM |
Admin Registered: 20 years ago Posts: 8,532 |
Oh yes, that is probably possible by rewriting all URLs to one of the scripts (doesn't really matter which one, index.php would be most appropiate I guess) and handle all rewriting from there. But I'm not sure, because there might be issues to take care of. For example, the 'phorum_page' define value is set before the real phorum code starts. Therefore, it might be required to use a custom php script for the rewriting and let that one include the Phorum pages. A bit like the portable code from the portable subdir handles it I guess. Rewriting could be done to mods/friendlyurlmod/dispatcher.php or so.
So thinking about it, I think it should be possible, yet the programmer who implemented this solution relied more on the rewrite functionality in Apache to get the same kind of results.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
So thinking about it, I think it should be possible, yet the programmer who implemented this solution relied more on the rewrite functionality in Apache to get the same kind of results.
Maurice Makaay
Phorum Development Team



Re: Module: Search Engine Friendly URL's April 17, 2009 05:27PM |
Registered: 20 years ago Posts: 10 |
May 05, 2009 01:56PM |
Registered: 19 years ago Posts: 609 |
This SEF module break the Embed Images Module [www.phorum.org].
Is it possible to update this module to work along side with the Embed Images Module?
Thank you
Bill
Edited 1 time(s). Last edit at 05/05/2009 01:57PM by CBiLL.
Is it possible to update this module to work along side with the Embed Images Module?
Thank you
Bill
Edited 1 time(s). Last edit at 05/05/2009 01:57PM by CBiLL.
May 11, 2009 08:59AM |
Registered: 19 years ago Posts: 609 |
Quote
CBiLL
This SEF module break the Embed Images Module [www.phorum.org].
Is it possible to update this module to work along side with the Embed Images Module?
Thank you
Bill
I sent the author a PM a week ago to see if he would possibly update this module to work with embed image module but have not heard anything back so it seem that the author have abandoned this project.
I am not a coder but it will be awesome of any other developer want to pick up this project and improve on it and make it work with the embed image module.
Thank you
Bill
May 11, 2009 09:28AM |
Registered: 16 years ago Posts: 31 |
May 11, 2009 02:37PM |
Registered: 19 years ago Posts: 609 |
May 11, 2009 02:46PM |
Admin Registered: 20 years ago Posts: 8,532 |
Trust me, there's not a very big chance that he or his colleagues will abandon the project ;-) But Martijn is somewhat in the same sector as I am (the awfully busy internet business), so it's not always clear how much time can be spent on coding for Phorum.
@Martijn: Good luck on the project!
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
@Martijn: Good luck on the project!
Maurice Makaay
Phorum Development Team



May 12, 2009 03:34AM |
Registered: 16 years ago Posts: 31 |
May 12, 2009 03:41PM |
Admin Registered: 20 years ago Posts: 8,532 |
Sure, whom are you kidding? ;-)
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.