onlyican Posted September 25, 2006 Share Posted September 25, 2006 HeyAs you can tell, I am coming to the end of this websiteYou can tell this, cos I store all my problems to the end, then I search and post in forums like I have doneI must say, I posted a lot less this time, than I have on the first take of this website, So I must be learning somethingAnywayI have a page called friends.phpOn that page, I have a search form, AND page numberingSo to get this to workI parsed the values in the address barBut I dont like ?page=1&search=somethingSo I used Mod RewriteI have something likeRewriteRule ^friends/([A-Za-z_]*)/([0-9]*) friends.php?l=$1&p=$2 [L]sofriends.php?l=All&p=1is now/friends/All/1A lot cleanerBUTas this is a remake of the websitethe friends.php file is in googleso I want to redirect anyone who hits friends.php to friends/All/1Which is friends.php Mod-RewrittenI have a couple of ideas, but I wanted to hear your suggestions Quote Link to comment 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.