Search found 10 matches

by docbrown
Wed Nov 08, 2006 9:59 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

It actually takes a bit more of patching to succeed. At this point of the serendipity release cycle I cannot add such a possibly intrusive patch to the distribution, but will do so with Serendipity 1.2
Ack. Looking forward to version 1.2. :-)

Meanwhile, you can use this patch:

Apply those ...
by docbrown
Wed Nov 08, 2006 8:50 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

by docbrown
Wed Nov 08, 2006 8:23 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

Still the same. Everything ok without the slash and an article not found with the slash.
by docbrown
Wed Nov 08, 2006 6:14 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

If you howeve rkeep the %id% value in your permalink, you can simply edit your .htaccess file to replace "/" with "/?" in the permalink regex.

The other option you have is to generally use mod_rewrite to redirect all your trailing slash URLs with no-traling-slash URLs. If you can give us your ...
by docbrown
Tue Nov 07, 2006 6:40 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

Okay, but: I have a problem with old and existing links to my page. A few month ago, i made an "upgrade" from wordpress to serendipity. Wordpress was using links with a trailing slash at the end. Thats why, differnt pages know my links with that slash. I was just trying to handly that small problem ...
by docbrown
Mon Nov 06, 2006 3:14 pm
Forum: General discussions
Topic: .htaccess rewrite rule to remove trailing slash
Replies: 10
Views: 4751

.htaccess rewrite rule to remove trailing slash

Hi!

I'm still searching for a solution to let serendipity get rid of trailing slashes in incoming urls. Is it better to handle it with .htaccess (if yes how?) or to edit index.php and the url rewriting?
by docbrown
Mon Oct 02, 2006 12:53 pm
Forum: Bugs
Topic: trailing slash in url prob (was: URL lower upper case bug)
Replies: 7
Views: 3448

judebert wrote:Ah. That's because it's expecting URLs with a slash on the end to be directories or permalinks, like archives.
Indeed.
judebert wrote:Don't use the trailing slashes.
That's exactly the problem. :-) Isn't there a workaround for serendipity?
by docbrown
Sat Sep 30, 2006 12:23 pm
Forum: Bugs
Topic: trailing slash in url prob (was: URL lower upper case bug)
Replies: 7
Views: 3448

I'm so sorry. It's not a lower upper case problem. It is a problem with a trailing slash at the end of the url. Every url or link with this trailing slash results in "no entries found".
by docbrown
Fri Sep 29, 2006 9:24 pm
Forum: Bugs
Topic: trailing slash in url prob (was: URL lower upper case bug)
Replies: 7
Views: 3448

*ggg*

Sorry, it's late ... u know. :-)

The solution must be in how serendipity interprets given url's. Isn't there a simple php function that does the behavior i want? For example wordpress doesn't discern between

<url>/2006/09/29/Doppeltes-SpielziMMer/
or
<url>/2006/09/29/doppeltes-spielzimmer ...
by docbrown
Fri Sep 29, 2006 8:57 pm
Forum: Bugs
Topic: trailing slash in url prob (was: URL lower upper case bug)
Replies: 7
Views: 3448

trailing slash in url prob (was: URL lower upper case bug)

Hi!

I found a undesirable behavior after upgrading my webblog from wordpress to serendipity. Serendipity doesn't accept url's in lower case respectively it expects the url's in correct upper-lower case just as the author wanted the article header to be. For example:

There is a link in another ...