-
i have alot of urls that shouldnt be in there, i put them in the robots.txt but issue is sitl lthere.
below in my robots.txt in rankmath
User-agent: SiteCheckerBotCrawler
Allow: /User-agent: *
# Disallowed paths
Disallow: /feed/
Disallow: /wp-admin/
Disallow: /images/
Disallow: /wp-content/plugins/
Disallow: /readme.html
Disallow: /refer/
Disallow: /thank-you/
Disallow: */?author-reviews-page*
Disallow: */product*
Disallow: /?__hstc*
Disallow: /?__hsfp*
Disallow: *?boundingbox=*
Disallow: */members/
Disallow: */activity/
Disallow: */reviews/
Disallow: */?option=getmosociallogin&wp_nonce=*
Disallow: */?option=oauthredirect&wp_nonce=*
Disallow: /listing-feature/*
Disallow: /author*
Disallow: /tasks*
Disallow: /?boundingbox*
Disallow: /s?category*
Disallow: /?category*
Disallow: /cart*
Disallow: /listings/?tax-listing*
Disallow: /en-au/*
Disallow: /category*# WP Import Export Rule
Disallow: /wp-content/uploads/wp-import-export-lite/# Prevent URLs containing common SQL injection characters
Disallow: /*?
Disallow: /*&
Disallow: /*=*
Disallow: /*’*
Disallow: /*”*
Disallow: /*/*
Disallow: /*–*
Disallow: /*#*
Disallow: /*;*
Disallow: /*%22*
Disallow: /*%27*
Disallow: /*%2F*
Disallow: /*%5C*
Disallow: /*%3D*# Prevent SQL wildcard characters
Disallow: /*%25*# Prevent URLs containing the semicolon
Disallow: /*%3B*# Prevent URLs with potential SQL comments or queries
Disallow: /*%20or%20*
Disallow: /*%20and%20*
Disallow: /*select%20*
Disallow: /*union%20*
Disallow: /*from%20*
Disallow: /*information_schema*# Prevent URLs with encoded apostrophes
Disallow: /*%60*
The ticket ‘urls being included in sitemap and indexed by google issue’ is closed to new replies.