Fake URLs created automaticly

While checking my indexed pages in Google and Bing. i have found below links in search engine index listing. i am getting 404 errors in google webmaster tools. i got wordpress installed only. I dont have any plugin or any other CMS (Joomla) which may create those links.
how should i remove extra strings/values? what will be the code for .htaccess

Please ignore 2 spaces between url and strings/values.

Read More

deemasfashion.com/page/5/ ?Itemid=fnexvhxovxlxhzjb

deemasfashion.com/page/2/ ?start=117

deemasfashion.com/page/44/ ?wpmp_switcher=mobile

deemasfashion.com/page/56/ ?attachment_id=fqtldnsdj

deemasfashion.com/page/56/ ?attachment_id=pffbvrpggpx

deemasfashion.com/page/13/ ?attachment_id=riohhjoahp

deemasfashion.com/page/51/ ?start=108

deemasfashion.com/ ?iapolo_com

deemasfashion.com/ ?Itemid=nkuilfzcxvvb

deemasfashion.com/ ?wpmp_switcher=desktop

deemasfashion.com/page/38/ wpmp_switcher

deemasfashion.com/page/7/ ?wpmp_switcher=desktop=mobile

deemasfashion.com/page/7/ ?wpmp_switcher=desktop

deemasfashion.com/page/39/ ?2fou_com

deemasfashion.com/page/22/ ?file

deemasfashion.com/page/56/ ?option=com_content&view=article&id=94&Itemid=2

deemasfashion.com/page/36/ ?option=com_content&view=article&id=62&Itemid=2

deemasfashion.com/page/21/ ?iframe=true&width=90%25&height=90%25

deemasfashion.com/ ?option=com_content&view=category&id=34%3Alatest-tech-news&Itemid=60

deemasfashion.com/latest-pakistani-anarkali-pishwas-frock-wear/indian-style-light-golden-anarkali-fashion/ function.session-start

deemasfashion.com/latest-pakistani-anarkali-pishwas-frock-wear/latest-pakistani-outfit-mehndi-green-pishwas-churidar/ function.require

deemasfashion.com/latest-pakistani-bridal-wear/red-front-open-gown-off-white-bridal-wear-lehnga/ function.include

i have used below .htaccess code but it is not working.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(page/[0-9]+/).+$ /$1? [L,NC,R=301]
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^www.deemasfashion.com$
RewriteRule ^deemasfashion.com/?(.*)$ http://deemasfashion.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.html HTTP/
</IfModule>

Related posts

Leave a Reply

1 comment

  1. Majority of your bad URLs can be permanently redirected to correct one with this rule:

    RewriteEngine On
    
    RewriteCond %{QUERY_STRING} ^.+$
    RewriteRule ^(page/[0-9]+/).*$ /$1? [L,NC,R=301]