A colleague asked me for some help with a few RewriteRules in his .htaccess today. One of the links he was trying to rewrite was unusual in the fact that is had 2 question marks “?” in it. Let’s say the url looked like: www.site.com/2009/1/is-this-a-legit-url?-i-don’t-know? and you wanted to rewrite that to: www.site.com/2009/1/is-this-a-legit-url-i-dont-know/ You might [...]
Posts Tagged ‘question marks’
Mod rewrite URL with 2 question marks?
Posted: 10th February 2009 by Jon in Hints and Tips, Web DevelopmentTags: apache, colleague, condition, fact, file folder, job, legit, Mod, query, query string, querystring, question, question mark, question marks, request, request url, rewrite rule, RewriteCond, RewriteRule, RewriteRules, server, simple solution, URL, workaround, www
0