waynew Posted May 22, 2009 Share Posted May 22, 2009 The following worked on my localhost: Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteRule ^profile/([0-9]+)(.*)\.html$ profile.php?uid=$1 RewriteRule ^skin/(.*)\.html$ bebo-skin.php?skin_url=$1 However, it's giving me 404s when I upload it to a test server that I'm using? Quote Link to comment https://forums.phpfreaks.com/topic/159307-stumped/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 24, 2009 Share Posted May 24, 2009 404 mean page not found, htaccess or not. If the htaccess was working on the localhost i assume some file are missing on the server. Did you copy profile.php and bebo-skin.php in the same directory with the htaccess ? did you try to access the page directly or with the htaccess mod_rewrite ? Quote Link to comment https://forums.phpfreaks.com/topic/159307-stumped/#findComment-841244 Share on other sites More sharing options...
corbin Posted May 24, 2009 Share Posted May 24, 2009 Try using a better path: /path/to/profile.php Quote Link to comment https://forums.phpfreaks.com/topic/159307-stumped/#findComment-841251 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.