Welcome Guest, Not a member yet? Register   Sign In
Question regarding the uri + more
#6

[eluser]Dennis_gull[/eluser]
Any hints on question 2 & 3?

Before I decided to convert to CI i used the below code in the htaccess to change the GET form result url to a human friendly url, is this my only option?
Code:
RewriteCond %{REQUEST_URI} search.php$
RewriteCond %{QUERY_STRING} ^id=([A-Za-z0-9\+]+)$
RewriteRule ^(.*)$ search/%1? [R=301,L]
RewriteRule ^search/(.*)$ search.php?id=$1&a=1 [L]


Messages In This Thread
Question regarding the uri + more - by El Forum - 06-30-2009, 10:10 AM
Question regarding the uri + more - by El Forum - 06-30-2009, 10:36 AM
Question regarding the uri + more - by El Forum - 06-30-2009, 12:09 PM
Question regarding the uri + more - by El Forum - 06-30-2009, 12:33 PM
Question regarding the uri + more - by El Forum - 06-30-2009, 02:20 PM
Question regarding the uri + more - by El Forum - 07-02-2009, 04:38 AM
Question regarding the uri + more - by El Forum - 07-02-2009, 07:47 AM
Question regarding the uri + more - by El Forum - 07-02-2009, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB