cotonti.com : URL Rewrite https://www.cotonti.com Останні повідомлення в темі Cotonti en Wed, 25 Feb 2026 13:30:20 -0000 urlkiller fiddle with that a bit later... works for now...]]> Пн, 09 Сер 2010 09:22:13 -0000 GHengeveld Нд, 08 Сер 2010 23:49:15 -0000 urlkiller
but for now i fixed it with adding the url directly "Oh-No" in the tpl ;((]]>
Thu, 05 Сер 2010 01:10:05 -0000
donP datas/urltrans.dat like this:

page	id=*	{page_url_structure()}
page	al=*	{page_url_structure()}
list	c=*	{list_url_structure()}
*	*	{$_area}.php

so only page.php?id= and page.php?al= had rewritten, instead the urls to add/edit pages remain un-rewritten and don't generate errors.]]>
Вт, 03 Сер 2010 17:00:03 -0000
urlkiller
# Rewrite engine options
Options FollowSymLinks -Indexes
RewriteEngine On
# Server-relative path to creations:
RewriteBase "/"
RewriteRule ^(datas|images|js|skins)/(.*)$ $1/$2 [QSA,NC,NE,L]
RewriteRule ^rss/([^/&?#]+)(.*)$ rss.php?c=$1$2 [QSA,NC,NE,L]
RewriteRule ^message/([^/&?#]+)(.*)$ message.php?msg=$1$2 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/([a-z-]+)/([a0-9]+)$ page.php?id=$4 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/([0-9]+)$ page.php?id=$3 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([0-9]+)$ page.php?id=$2 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/([a-z-]+)/([a-zA-Z0-9-_]+)$ page.php?al=$4 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/([a-zA-Z0-9-_]+)$ page.php?al=$3 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-zA-Z0-9-_]+)$ page.php?al=$2 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/$ list.php?c=$1 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/$ list.php?c=$2 [QSA,NC,NE,L]
RewriteRule ^(Neuigkeiten|Erfolge|Community)/([a-z-]+)/([a-z-]+)/$ list.php?c=$3 [QSA,NC,NE,L]


the problem iam encoutnering is that when i add/edit pages because the category wont get handed over to the add/edit url link.

is there maybe any easy workaround there?

Added 6 days later:

bump!]]>
Ср, 28 Лип 2010 01:02:58 -0000