我试图从URL中移除重复的斜线。下面的.htaccess规则:
重写规则^(。+)// +(。*)$ $ 1 / $ 2 [L,NC,R = 301]
我在URL不起作用,如下面的:
的http://www.mp7/网站= 69 \\\\\\\\\\\\\\\\
.htaccess文件
#### mod_rewrite的使用 选项+的FollowSymLinks RewriteEngine叙述上解决方案
这是因为IIS服务器,主要几乎可以肯定你的网站是城市化在中的.asp或。 ASPX你需要投入服务的一个缩影脚本,当您的服务器的HTTP或HTTPS要求必须LCASE(URL)。如果没有大量的页面,你可以重命名都在小写,修改网页内的所有链接到小写并在谷歌网站管理员工具的吸引力网址删除请求后。
如何删除重复的URL
I'm trying to remove duplicate slashes from URLs. The following .htaccess rule:
RewriteRule ^(.+)//+(.*)$ $1/$2 [L,NC,R=301]do NOT work for me on a URL such as the following:
www.mp7/?site=69\\\\\\\\\\\\\\\\The .htaccess file
#### mod_rewrite in use Options +FollowSymlinks RewriteEngine On解决方案
This is because of IIS server, and mainly almost certainly your site is urbanized in .Net .asp or . aspx You need to put into service one miniature script, when your server be given http or https demand it must Lcase(URL). If there are not a lot of pages, you can rename all within lowercase, modify all inner linking of WebPages to lowercase and after that appeal URL removal request in Google webmaster tools.
how to remove duplicate urls
更多推荐
删除重复通过的.htaccess或PHP斜线的网址
发布评论