Need help with .htaccess
For some reason google is indexing my site with the following for all the urls
Code:
?utm_source=twitterfeed&utm_medium=twitter Code:
http://www.url.com/news/2010/10/people-live.html?utm_source=twitterfeed&utm_medium=twitter Code:
http://www.url.com/news/2010/10/people-live.html |
Hi,
Use the following in a .htaccess Code:
RewriteEngine on |
I have over 500 urls with the same problem.
Is it possible to remove them in one shot rather then create 500 ood lines? |
Sure.
Just give more details, like what is the generic form of the URLs you want to rewrire and how they should look after rewritting |
The problem is all my urls are being indexed by google with the following in the end -
Code:
?utm_source=twitterfeed&utm_medium=twitter |
So you want to remove the QUERY_STRING (everything after the 1st ?)
If that's the case, you can use: Code:
RewriteEngine On |
All times are GMT -5. The time now is 11:46 PM. |