我可以'无索引,在.htaccess中使用x机器人的特定页面吗?
我已经找到了一些没有索引文件类型的说明,但是我找不到指令来对单个页面进行索引,而我到目前为止所尝试的内容并没有奏效.
这是我正在寻找noindex的页面:
http://www.examplesite.com.au/index.php?route=news/headlines
Run Code Online (Sandbox Code Playgroud)
这是我到目前为止所尝试的:
<FilesMatch "/index.php?route=news/headlines$">
Header set X-Robots-Tag "noindex, follow"
</FilesMatch>
Run Code Online (Sandbox Code Playgroud)
谢谢你的时间.