Hope to help you:
Highlights of website optimization for current search engines.
1. Use <HTML> as the beginning of the code, modularize javascript and CSS, and use include as much as possible to separate the code from the HTML page.
2. If the access to the website content requires logon by a member or password protection, open it to the search engine Spider or Robot.
3. If the website content is dynamically generated using scripts such as PHP, ASP, and JSP, URL rewriting and optimization must be performed through Mod_Rewrite of Apache or Path_Info of PHP, to make a URL similar to a static page. For exampleHttp://www.domain.com/article? Id = 123 & cat = abc INGHttp://www.domain.comRticle/123/abc orHttp://www.domain.com/article_123_abc.htm.
4. Avoid unnecessary page jump and redirection or generate a similar mechanism of 3xx.
5. Keep the content in the <title> tag in HTML consistent with the title of the actual article or content, and try to ensure the uniqueness of each page.
6. Use the <H1> and <H2> labels to indicate the title and subtitle of a real article or content. To keep it beautiful, use c ss for definition.
7. Try to ensure that each label has the ALT attribute, and it is best that all ALT attributes have content.
8. Create a clear and meaningful website navigation page.
9. Create a robot.txt file in the root directory of the website. If there are no special requirements on the search engine, the content is *; or add some scripts that require the search engine.
10. Try not to use the frame structure to present the website.
11. Try to make the website code comply with W3C HTML 4.0 or XHTML 1.0 specifications.
12. Convert the most important content or academic articles on the website into PDF format as much as possible. Because the natural Page Rank of PDF files is 3.
13. Try to make the website structure flat as much as possible. It is best not to exceed three layers.
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.