我正在为我的网站使用Wordpress,我想阻止搜索引擎来自任何有这个slug http://www.trustshore.com/map-location/以及该slug之后的任何网址。我试过在网站上搜索,但我看不到任何人有同样的情况下我的。
# Switch rewrite engine off in case this was installed under HostPay.
RewriteEngine Off
AddHandler application/x-httpd-php53 .php .php5
DirectoryIndex index.cgi index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress