In apache. htaccess, the 301 redirection cashes do not have the www domain name to jump to the domain name with the www
Source: Internet
Author: User
Apache. the 301 redirection in htaccess enables the website to be collected from a domain name without a www domain name: create a file redirect in the root directory. htaccess with Options + FollowSymlinksRewriteEngineonRewriteCond % {HTTP_HOST} ^ bysui. apache. 301 redirection in htaccess enables jump without a www domain name to a domain name with www
Methods collected online:
Create the file redirect. htaccess in the root directory. the content is
------ Solution --------------------
Local or server
Restart the server if it cannot be changed.
Http://topic.csdn.net/u/20120831/11/0e57d7df-8d90-4f23-92a9-61fd1d2b2546.html
------ Solution --------------------
Apache supports redirection.
------ Solution --------------------
Note that if you use NC, you will transfer bysui.com to RewriteRule.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.