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.
Hello, i have this HTACCESS file to rewrite my URLS.
i want to transform the url [domain]/ecom-catshow/[ref].html
to
[domain]/[ref].html
which i have done using this
RewriteRule ^(.*)\.html index.php?app=ecom&ns=catshow&ref=$1 [L,PT]
but when i try to apply this rule to other ns it doesnt work
RewriteRule ^(.*)\.html index.php?app=ecom&ns=catshow&ref=$1 [L,PT]
RewriteRule ^(.*)\.html index.php?app=ecom&ns=prodshow&ref=$1 [L,PT]
RewriteRule ^(.*)\.html index.php?app=ecom&ns=display&ref=$1 [L,PT]
any ideas where i ahve gone wrong.
Many Thanks
Offline
there has to be some way for the URL's to differentiate the difference between namespaces.
Offline
Hmm do you have any suggestions??
Offline
You will need for CCP to generate SEO friendly URLs AND the appropriate rewrite rules to decode the URLs
Check out my Extreme SEO XMOD which does what it appears you are trying to do.
https://forum.kryptronic.com/viewtopic.php?id=28655
Offline