You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Title says it all, in the manual it has:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
But as far as I can see this doesn't (and can't) work for the new version. Any ideas?
Offline
The manual is wrong. Read this:
http://wiki.kryptronic.com/CCP8SearchEngineOptimization
I'll have Jeff update the manual. Thanks for the catch.
Offline
This worked for me on a sub directory!
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^directoryname/index.php - [L,PT]
RewriteRule ^directoryname$ index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^directoryname/sitemap\.xml directoryname/utilities/sitemap.xml [L,PT]
RewriteRule ^directoryname/rss\.xml directoryname/utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/directoryname/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^directoryname/(.*) directoryname/index.php?COREseourl=/$1 [L,PT]
Offline
However when I redirected to a Sub Directory... you get this whenever you go directly to the domain page..
wwwmydomain.com//subdir/?COREseourl=/
It works but leaves this confusing line? any ideas? I used the following re-write and it seems to pick up the last line of the above for the SEO rules???
RewriteRule ^$ /subdir
Offline