Beaumonde Posted June 16, 2008 Share Posted June 16, 2008 Ok so on this website I'm using Google Custom Search (Cse) but it produces really long urls like: url.com/Results.html?cx=011104985059190352489%3A3lzpqwq7l2u&cof=FORID%3A9&ie=UTF-8&q=hi&sa=Search#1120 For the search hi, now I want to know if I can use mod rewrite to make this url: url.com/search/hi display the results page like in the above example url. Is it possible and how exactly could that be achieved? Stat Progress | Stat Averages | Stat Records Link to comment Share on other sites More sharing options...
Errdoth Posted June 16, 2008 Share Posted June 16, 2008 Something like this should work RewriteEngine on RewriteRule ^search/([^/\.]+)/?$ Results.html?cx=011104985059190352489%3A3lzpqwq7l2u&cof=FORID%3A9&ie=UTF-8&q=$1&sa=Search#1120 [L] Last.fm Signature Overlays Link to comment Share on other sites More sharing options...
Mercifull Posted June 17, 2008 Share Posted June 17, 2008 http://www.webmaster-toolkit.com/mod_re ... ator.shtml This is a useful little tool which I have used in the past. Might be helpful for you. Don't know if you could get one to work nicely though because it looks like a session id/random number is in there. Edit: Errdoth wrote you out a better one customised for you. Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now