Answer question 4 week April 2015 g2494948 your questions about how to Setup www Domain pointer self about the non www Domain to link posts.
You g2494948 asked: Hello everyone, his Blog is currently using cloudfare, I want to set when the user typed the link posts such http://hoangluyen.com/huong-dan-hoc-wordpress-tu-a-z, then moved to self/hoangluyen.com/huong-dan-hoc-wordpress-tu-a-z/to do? I saw hoangluyen.com is using cloudfare which is still set to be the same. With back when both the www and non www domain domain then the google index contains duplicate content is not everyone, if yes then how handled? His previous use of blogger, then just add domain, tick on the option to redirect non www to www. When add sitemap to google analytics, then add in the non www domain is already enough? Thank you.,
to answer questions on forums:
cupidon192 You can use the .htaccess file is placed on par with the message muc wp-admin to set as follows:
Crayon Syntax Highlighter v 2.7.1
#Redirect on the www:
RewriteEngine on RewriteCond%
{HTTP_HOST} ^ example.com [NC]
RewriteRule ^ (. *) $ $ 1 [L http://www.example.com/ , R = 301, NC]
1234
#Redirect on the www: RewriteEngine onRewriteCond% {HTTP_HOST} ^ example.com [NC] RewriteRule ^ (. *) $ $ 1 http://www.example.com/[L, R = 301, NC]
[Format Time: 0.0017 seconds]
Crayon Syntax Highlighter v 2.7.1
#Redirect about the non-www:
RewriteEngine on RewriteCond%
{HTTP_HOST} ^ www.example.com [NC]
RewriteRule ^ (. *) $ $ 1 [L http://example.com/ , R = 301]
1234
#Redirect about the non-www: RewriteEngine onRewriteCond% {HTTP_HOST} ^ www.example.com [NC] RewriteRule ^ (. *) $ $ 1 http://example.com/[L, R = 301]
[Format Time: 0.0017 seconds]
If you have any other comments about the www Domain settings manually point about non www Domain please leave comments below , we will respond. So thank you for your interest in the article. Wish you Learn WordPress!
Articles related to the Doman of hoangluyen.com:
43: domain name (domain)?
Article 44: how to buy a domain name at Godaddy
46: pointing the domain name of the host by host's DNS
48.5: Add domains (addon domain) on host cPanel
& nbsp;
wordpress-mobile-app-plugin
Nhận xét
Đăng nhận xét