Hello,
I need some help with rewrite / FURL, I actived this in the modx manager and work correct.
However I also work with some snippets with data from mysql database.
This will call pages like this:
index.php?id=6&cat=news&page=2
index.php?id=6&cat=news&item=2010
The rewrite at this point will show the pages like (where the news.html comes from modx index.php?id=6):
news.html?cat=News&srch=&page=2
newsitem.html?cat=News&item=2010
But I want it to show like this:
mywebsite.com/news/page2/
mywebsite.com/news/2010/
Tried this lines and even a rewrite generator, but no result
#RewriteRule ^(.*)/(.*)/(.*)/$ index.php?id=$1&cat=$2&item=$3 [QSA]
#RewriteRule ^(.*)/(.*)/$ index.php?id=$1&cat=$2 [QSA]
#RewriteRule ^(.*)/$ index.php?id=$1 [QSA]
#RewriteRule ^news/(.*)/(.*)$ news.html?cat=$1&page=$2 [QSA]
Can somebody help me.
hathor