When making a website SEO friendly, one of the first orders of business is analyzing the URL structure. If the website utilizes the proper keywords in the URL filenames, then the next step is to make sure that search engines (and users) are only able to view one version of each page.
Archive for the ‘.htaccess’ Category
After receiving a positive response from my last post regarding the .htaccess mod_rewrite, I wanted to follow up with a post that contained a little more information on why the rewrite would be good to use, and a few descriptions about it’s syntax.
I decided put together a few example of rewrites that I use and like. BEWARE!!! Editing the htaccess file is not for the faint of heart. Making one small edit that incorrectly rewrites, or redirects, or changes any URL could kill your search engine rankings, and make your webmastering life miserable. Make sure you understand what you are doing, and test throughly. Be sure that no matter what no two URLs can access the same page, and make sure that any old URLs redirect to the new ones.
Beware that editing the .htaccess file is not for the faint of heart, and we recommend not editing the file unless you know what your doing.