Hi, I'm using phparcadescript v4 and i'm having a big issue when i turn on Search Engine Friendly URLS. The theme i'm using is blackops. Everytime i try to enter a game i get a 404 error. The "preview" SEO works fine, but when it jumps to "playgame", here comes the error. Please help me! My URL is: http://www.jocultau.com Thanks in advance! EDIT: I think the problem is here: RewriteRule ^previewgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=previewgame&gameid=$1 RewriteRule ^previewgame/([_A-Za-z0-9-]+)/?$ index.php?action=previewgame&title=$1 RewriteRule ^playgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1 RewriteRule ^playgame/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1 RewriteRule ^playgame-full/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1&full=yes RewriteRule ^games/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1 RewriteRule ^games/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1 [L] RewriteRule ^fullsizegame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ includes/fullsizegame.php?gameid=$1 Code (markup): But i don't know, i'm a newbie. Maybe this can help you.
On your first rule: RewriteRule ^previewgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=previewgame&gameid=$1 Code (markup): What should the gameid be? this.html or /theDirectory/?
No, .html This is how i want it to be: The preview before the play: jocultau.com/previewgame/4895/the-lost-sword.html Play: jocultau.com/play/4895/the-lost-sword.html But when i click play, i get that annoying 404.
No problem . Revised .htaccess: Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteRule ^previewgame/([^/]+)/([_a-z0-9\-]+).html$ index.php?action=previewgame&gameid=$1 [NC,L] RewriteRule ^previewgame/([_a-z0-9\-]+)/?$ index.php?action=previewgame&title=$1 [NC,L] RewriteRule ^playgame/([^/]+)/([_a-z0-9\-]+).html$ index.php?action=playgame&gameid=$1 [NC,L] RewriteRule ^playgame/([_a-z0-9\-]+)/?$ index.php?action=playgame&title=$1 [NC,L] RewriteRule ^playgame-full/([^/]+)/([_a-z0-9\-]+).html$ index.php?action=playgame&gameid=$1&full=yes [NC,L] RewriteRule ^playgame-full/([_a-z0-9\-]+)/?$ index.php?action=playgame&title=$1&full=yes [NC,L] RewriteRule ^games/([^/]+)/([_a-z0-9\-]+).html$ index.php?action=playgame&gameid=$1 [NC,L] RewriteRule ^games/([_a-z0-9\-]+)/?$ index.php?action=playgame&title=$1 [NC,L] RewriteRule ^fullsizegame/([^/]+)/([_a-z0-9\-]+).html$ index.php?gameid=$1 [NC,L] RewriteRule ^fullsizegame/([_a-z0-9\-]+)/?$ index.php?gameid=$1 [NC,L] Code (markup):