
04-22-2008, 09:16 PM
|
|
|
Join Date: Sep 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by AndrewD
Sorry, I'd missed the capitals and spaces. Here's a modified version of includes/local_links_include.php
|
this solved the caps and spaces problem. thanks
Quote:
Originally Posted by AndrewD
If you set seo_friendly to 2, you need a different set of mod_rewrite rules. These are the ones I am using as test. If you also set seo_title, then you need to replace local_links in the first part of each rule by your seo_title:
Code:
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
|
i tried it in many different ways but it didn't work
|