Search engine Baidu
Use: $_server[' http_host '] to get the host address.
I have a website a:www.nowphp.com
There is a level two domain name: bbs.nowphp.com The post for the domain name is bbs.nowphp.com/1001.html
Here's the problem:
Baidu search engine is sometimes included in the www.nowphp.com/1001.html
My website distinguishes between Chinese and English.
Sometimes the host link address that sends the message is also replaced by www.nowphp.com/notify/101.html, which should have been bbs.nowphp.com/notify/101.html
I wonder if anyone can know why.
Reply to discussion (solution)
There are two kinds of domain name resolution, one is to point to a host IP, one is to forward
Sub-domains are the same
Most of your subdomains just forward instead of having a dedicated host
There are two kinds of domain name resolution, one is to point to a host IP, one is to forward
Sub-domains are the same
Most of your subdomains just forward instead of having a dedicated host
Thank you, listen to you say, seems to have some clues, can you tell me in detail
If you separate the system path of WWW and BBS and then parse it in Apache, you should not confuse the search engine
Or for the search engine crawler to do SEO filtering processing, this has not been studied
Thanks, upstairs.
Add the following questions:
I have a website a:http://www.nowphp.com
There is a level two domain name: http://bbs.nowphp.com The post for the domain name is http://bbs.nowphp.com/1001.html