deepson2 Posted July 11, 2009 Share Posted July 11, 2009 Hello, I have page games.php. using htaccess i have been using the following url sitename/games/gamesnam Using gameid i can see different game pages . Now on this gamesname.php,i am trying to build up add favorite games option. using ajax i want to do that. I have tested my code with simple insertion page. but here on particularly on this page. where my site url is like this sitename/games/gamesname with this path its showing me this error The page cannot be found The page you are looking for: /games/sliderman/addremovefav.php?t=1246876451&gameid=11240 addremovefav.php gamepage.php ajaxdev.js ab is the main folder, where all my file are there. This is my htaccess look like. RewriteRule games/([-a-z|A-Z|0-9|-|.|'|,|&|_|!|:]+)/([0-9]+)$ /ab/games/$1/$2/ [R=301,L] RewriteRule games/([-a-z|A-Z|0-9|-|.|'|,|&|_|!|:]+)/([0-9]+)/$ /ab/gamesname\.php?url=$1&start=$2 RewriteRule games/([-a-z|A-Z|0-9|-|.|'|,|&|_|!|:]+)$ /games/$1/ [R=301,L] RewriteRule games/([-a-z|A-Z|0-9|-|.|'|,|&|_|!|:]+)/$ /ab/gamesname\.php?url=$1 Ab is my main folder where all these files are there ab/gamesname.php I want to pass value from this page to here ab/addremovefav.php can anyone please tell me how can i pass this value? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/165595-solved-htaccess-path-issue/ Share on other sites More sharing options...
deepson2 Posted July 13, 2009 Author Share Posted July 13, 2009 Solved my problem. Quote Link to comment https://forums.phpfreaks.com/topic/165595-solved-htaccess-path-issue/#findComment-874420 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.