" Often, we are too slow to recognize how much and in what ways we can assist each other through sharing such expertise and knowledge."

utm_source Remove the URL using htaccess

You may have seen in some URL that automatically adds in the URL of a page, utm_source chain . For example, when you visit a post from a Twitter URL or if you do through feed. Perhaps a special campaign or some other similar. The problem with this is that you can create duplicate content.

If you want to save you problems , and manage a blog that allows you to make changes to the htaccess , for example in Blogger could not , you can define a conditional rule that removed, in order to feel more relaxed.

The rule that you add to your file . htaccess at the root of files Your blog or website is as follows.

Easy, right? So if dare, can implement it on your site and tell me how it went .

RewriteCond % { QUERY_STRING } .* utm_source
RewriteRule (.* ) $ 1 ? [ R = 301 , L]a

No related posts.



Posted: July 20th, 2010 | Author: | No Comments »


Leave a Reply