301 reset to remove a forward slash 10086fj.net/xiaojian/xinwendongtai/zuixindongtai/20140112/14.html
The entered URL is not displayed normally. 10086fj.net/will be replaced by www.10086fj.net, leading to abnormal display of url errors. please solve the problem.
The rule is like this:
RewriteEngine On
RewriteCond % {HTTP_HOST} ^ 10086fj.net [NC]
RewriteRule ^ (. *) $ http://www.10086fj.net/1121 [L, R = 301]
What is the reason and how to modify it?
Reply to discussion (solution)
I think it is easier to implement redirection in code.
That is, when a user accesses www.abc.net with abc.net, he will jump directly to www.abc.net. what do you think?
The website is static ..
RewriteEngine OnRewriteCond % {HTTP_HOST} ^ 10086fj \. net $ RewriteRule ^ (. *) $ http://www.10086fj.net $1 [R = 301, L]
Let's take a look at it first. it's still so troublesome to get a space of 301.