我正在努力提高我的网站排名在SEO.I,我做了很多,我已经提高了从C级到B级,但从早上起,我一直在尝试2件事。
1.IP CANONICALIZATION
2.TURN OFF SERVER SIGNATURE我添加了以下内容来关闭服务器签名到我的.htaccess下的public_html文件夹中
#Turn Off sserver signature
ServerSignature Off对于Ip规范化,我在.htaccess中包含的c代码是
RewriteCond %{HTTP_HOST} ^xxx\.xx\.xxx\.xxx [nc,or]
RewriteCond %{HTTP_HOST} ^example\.com [nc]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]它们都不是像我通过SEO分析工具http://www.seositecheckup.com/检查过的那样工作,而是另一个SEO分析工具http://www.woorank.com/说两者都在工作。
有没有人会说我可以信任哪一个,我在代码中做错了什么?
发布于 2015-11-17 02:46:11
根据Apache的说法,ServerTokens只用于服务器配置,而不是.htaccess,这意味着您只能通过httpd.conf文件更改它们。
Description: Configures the Server HTTP response header
Syntax: ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full
Default: ServerTokens Full
Context: server config
Status: Core
Module: core服务器令牌
https://stackoverflow.com/questions/20348862
复制相似问题