Real estate website Optimization real site SEO actual combat
Source: Internet
Author: User
KeywordsReal estate site level two domain name server very
This optimization report is called Real estate website optimization Real station, in fact, the method for most information Web sites are applicable, but the introduction of real estate sites as a case, and in the large-scale real estate site practice. Large-scale information web site is characterized by a large number of channels, the number of pages, the use of a large number of two-level domain names, usually have access to the volume of large and the forum. 2006 I joined a real estate site in Nanjing after the real estate site for all the characteristics of the long-term optimization.
I. Website architecture
1. Use of level two domain name
Because of the regional expansion of business or content segmentation, for large Web sites, the use of two domain names is unavoidable. In 2006, when we did the first branch, we also discussed two options, one is divided by business, and then by geographical division, such as: http://wuxi.sell.housexxx.com; the other is by geographical division, and then by business division, such as: http:// Sell.wx.housexxx.com, both kinds of methods are precedent before one is Sina property is used, the latter is to search the house in use. Later, considering the difference of the business expansion after the substation, the second scheme was used. For the various branches of the business is also logically become a level three domain name.
As we all know, level two domain name or level three domain name is an independent website for search engine. For large web sites to open a number of two-level domain name what is the benefit. Oh, the advantage is placed in the Housetops, link ah, you have 100 two level domain name is equivalent to 100 sites, mutual cross links, great. Another benefit can not be plainly, that is, you can open some two domain name to do test domain name, even if the k will not affect the main station. Do not have their own DNS server small webmaster also don't regret, as long as have their own servers, plus a DNS service is very simple. Use the virtual host friend, can only say sorry, including many large domain name registrars (such as million net) of the two-level domain name resolution are very slow, needless to say the other these.
2, the impact of the multi-server architecture on search engines
For large web sites, the use of load-balancing technology is quite common, the common is based on LVS Linux load Balancing technology, some sites may also be using F5 such special devices. For a Web site that uses a reverse proxy, access is an IP from the outside, and there is no problem. If you are using a dual-machine hot standby Web site, once the primary server down, load automatically switch to from the server, so the server's IP will change, more embarrassing is a period of time, our data synchronization did not do a good job, Baidu snapshot is always wrong, I thought is Baidu data back, the result is our own data back, really sweat ah. So the stability of the server is a very important thing to search engine optimization.
3, the deployment of the directory
We all know that the weight of the table is higher than the page, then use rewrite site to do the whole station pseudo static has become an inevitable choice. Configuration rewrite is very simple, as long as the httpd.conf inside Add mod_rewrite module, and then write your rules on it, if it is the Apache server is usually to remove the previous comments, the specific operation of the Internet has a lot of tutorials, will not repeat. If it is a virtual host user, you can add the. htaccess file in the root directory of the Web site, write your rules in the file, the foreign host is basically support rewrite, the domestic support rewrite virtual host is more and more.
After these, the site will become a directory of this form, is not quite refreshing. Don't worry, here's the key. When you have done all this, you will find that the search engine does not include your modified pages, it should be said that Google or gradually update the link, and Baidu is rarely updated. Using the site command to look at the pages included, or frustrating. html files, worse still, there are some dynamic files. The reason is very simple, we just changed the page link, and the content of the page and the original exactly the same, and the original content can still be accessed, the search engine will not include two identical pages, similar to 100% of the page. So the structure of the site before the line should be planned well, to save a lot of trouble later, my personal habit is to use the Robots.txt before the site to screen all the search engines are off. What if this happens? Do a new revision, big can not so trouble, in the file head plus 301 jump on it.
Specific code:
if (Strpos ($_server[' Request_uri '), "list.php")!==false) {$id = Intval ($_get["id"]);
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.