Forum Moderators: phranque
im wondering if someone can help me, i have been looking into using this mod rewrite stuff however the things i have looked at have actually on confused me, some reason i just cannot seem to make sense of it.
i am looking to have my urls change from..
www.web.com/properties.php?propertytype=value
to..
www.web.com/properties/propertytype/value
am i right in thinking this is how it should work? also can anybody show me how i would go about doing this and maybe explain the parts in 'dummies' language to me.
thanks for any help..
adrian
Next, you use ModRewrite to translate a folder-based URL request into the parameter-based filepath on the server to fetch that content from. There are many previous examples here that show exactly how to do this.
Finally, you will need to set up a redirect so that if anyone requests a parameter-based URL, they will be redirected to the equivalent folder-based URL, so preventing duplicate content.
This thread shows just such a redirect and rewrite (with some canonicalisation stuff in the middle): [webmasterworld.com...] however it isn't for parameter-based URLs in that case.
Especially run Xenu LinkSleuth over your site and check both the progress list and the final report very carefully for any sort of anomolies.