Firefox PHP

Module: Search Engine Friendly URL's

Re: Module: Search Engine Friendly URL's
April 17, 2009 08:03AM
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.
Re: Module: Search Engine Friendly URL's
April 17, 2009 08:04AM
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
Re: Module: Search Engine Friendly URL's
April 17, 2009 05:27PM
Maybe it's a possible way.

Back to sef_urls_1.0.6. The third syntax-line under:
# DEFAULT RULES
RewriteRule ^([a-z]*)/([0-9]*)/([0-9a-zA-Z=_\-/:\.?]*)$ $1.php?$2,$3
especially:
/:\.?
is responible of the Error 500.
Re: Module: Search Engine Friendly URL's
May 05, 2009 01:56PM
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.
Re: Module: Search Engine Friendly URL's
May 11, 2009 08:59AM
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
Re: Module: Search Engine Friendly URL's
May 11, 2009 09:28AM
I didn't recieve a notice mail of the PM so I didn't know. I will update this mod next week. We're very busy finishing a huge project this week.
Re: Module: Search Engine Friendly URL's
May 11, 2009 02:37PM
Quote
Martijn van Maasakkers
I didn't recieve a notice mail of the PM so I didn't know. I will update this mod next week. We're very busy finishing a huge project this week.

Thank you! I am glad to see your still on this project and I can wait!

Many Thanks!

Bill
Re: Module: Search Engine Friendly URL's
May 11, 2009 02:46PM
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
Re: Module: Search Engine Friendly URL's
May 12, 2009 03:34AM
Thanks maurice, couldn't have said it better. This week is the final fase... then all prikborden are on phorum 5. After that I finally have peace :D
Re: Module: Search Engine Friendly URL's
May 12, 2009 03:41PM
Sure, whom are you kidding? ;-)


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login