energylevel — 2012-12-17T16:32:32-05:00 — #1
Please can I have some helo with this 301 as I am struggling to get it working correctly:
I want to rewrite a URL withquery string to SEO friendly one and ignore part of the query
basically want to ignore everything after the model value in query string
Help would be really appreciated
dklynn — 2012-12-19T23:21:54-05:00 — #2
Sorry, YOU must change your links and write the mod_rewrite code to actually serve the file you want it to serve (your mindset is backward).
I have a very long tutorial which tells you everything you need to know about mod_rewrite - including a number of coding examples - linked in my signature.
As for the modelcode or other strings, if you don't need them (or don't supply them to mod_rewrite in the requested links), they will not be read because they'll not be present.