Hello, I use yourarcadescript gaming CMS on this website : http://jocurigratis.pubtv.ro. I have the following problem using .htaccess mod rewrite (i already have mod rewrite enabled on the server) : I made a modification to the .htaccess file and now the game's URL works ok, but the category and page url doesn't work ok, as it shows the content of the homepage without displaying the thumbs of the games. What should i modify in order to work these too ? This what i have now: Options +FollowSymLinks RewriteEngine on RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ /index.php?act=$2&page=$3 RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?act=$1&id=$2 [Last] >>>>>> This is the one that works, for the game(i tried to replace $1 with the word "game" but then, the game url doesn't work, but the category's and page's URL work. It's either the game url working, or the others two, but never all 3 of them at the same time RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?act=$2&page=$3 This is the only way the game's URL works for now Can anyone help me ? Please ... I'm trying to resolve this matter for 6 days now ... So, my .htaccess is : Options +FollowSymLinks RewriteEngine on RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ /index.php?act=$2&page=$3 RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?act=$1&id=$2 [Last] RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?act=$2&page=$3 What should i do in order to display everything ok, not only the game's link ? Thank you in advance
has to have something unique in each line. Apache will have no idea which line to use if they are the same. For example, have RewriteRule ^([^/]*)/id/([^/]*)\.html$ /index.php?act=$1&id=$2 [Last] RewriteRule ^([^/]*)/page/([^/]*)\.html$ /index.php?act=$1&page=$2