Hi guys !
I am using rewriting rules to redirect some URLs, but search engines crawling both URL (Rewritten and Real URLs).
For example :
Real URL : www.catchcoupons.in/storecoupon.php?cid=Flipkart
Rewritten URL : www.catchcoupons.in/coupon/Flipkart.html
Search Engines are crawling both URLs, even i want search engines to index only Rewritten URLs (http://www.catchcoupons.in/coupon/Flipkart.html)
This is happening with all the URLs...
Below are the codes that i am using on my .htaccess file :
Options +FollowSymLinks -MultiViews
RewriteEngine on
RewriteRule index.html$ index.php [NC,QSA,L]
RewriteRule allstore.html$ allstore.php [NC,QSA,L]
RewriteRule printable.html$ printable.php [NC,QSA,L]
RewriteRule coupon/([a-zA-Z0-9_-]+).html$ storecoupon.php?cid=$1 [NC,QSA,L]
RewriteRule category/([a-zA-Z0-9_-]+).html$ categorystore.php?cid=$1 [NC,QSA,L]
RewriteRule pages/([a-zA-Z0-9_-]+).html$ cms.php?id=$1 [NC,QSA,L]
RewriteRule print/([a-zA-Z0-9_-]+).html$ printcoupon.php?cid=$1 [NC,QSA,L]
RewriteRule newsletter.html$ newsletter.php [NC,QSA,L]
RewriteRule newslettererror.html$ newslettererror.php [NC,QSA,L]
RewriteRule offers/([a-zA-Z0-9_-]+).html$ detail-page.php?cid=$1 [NC,QSA,L]
RewriteRule submit.html$ submit.php [NC,QSA,L]
RewriteRule contactus.html$ contactus.php [NC,QSA,L]
RewriteRule List-Your-Business-On-CatchCoupon.html$ List-Your-Business-On-CatchCoupon.php [NC,QSA,L]
RewriteRule sitemap.xml$ sitemap.php [NC,QSA,L]
RewriteRule listing/([a-zA-Z0-9_-]+).html$ comment.php?id=$1 [NC,QSA,L]