When building a website, you should pay attention to the following basic elements.
Design and Content Guidelines
The website should have a clear hierarchy and text links.
Each web page should be open through at least one static text link. Text links are different from links generated through other code such as javascript. For example, the "print" below in this article is not implemented through text links.
Provide users with a site map listing links to important parts of the site.
If you have more than or approximately 100 links on your sitemap, you will need to split your sitemap into multiple pages.
The website should be practical and informative, and the text on the web page should clearly and accurately express the content to be conveyed.
Consider the words people would use to find your page and make sure those words are included on your site. A deep understanding of this will benefit you a lot.
Try to use text rather than graphics to display important names, content or links.
Google's crawler does not recognize the text contained in the graphic. Especially when it comes to friendly links, if you are aiming to provide PR and ranking, it is important to use text links.
Ensure that the description and expression of TITLE and ALT tag attributes are accurate.
Remember to add ALT descriptions to the images on the web page. This is a good place to put your keywords.
Check whether the link is broken and make sure the HTML format is correct.
Please use Google Webmaster Tools to check the links of your website at all times. If there is any damage, please delete or correct it.
If you decide to use dynamic pages (that is, the URL contains the "?" character), please note that not all search engine crawlers can crawl dynamic web pages in the same way as static web pages. Shortening the parameter length and reducing the number of parameters is helpful for dynamic pages.
It is recommended to use URL rewriting technology to make dynamic links static.
Limit the number of links on a specific page to a reasonable number (less than 100).
For example, this page should contain no more than 100 internal links and external links.
After the website is ready
Link other related websites to your website. Just look for friendly links.
Submit your website to Google at http://www.google.com/addurl.html.
Submit a Sitemap as part of Google Webmaster Tools. Google uses your Sitemap to understand the structure of your site and improve the crawlability of your pages.
Make sure that all sites that should know about your page know that your site is online. That is, the links pointing to your website need to be normal and not broken.
Submit your website to relevant directories such as the Open Directory Project and Yahoo!, as well as other industry-specific professional websites.
The above is the detailed content of What basic elements should you pay attention to when building a website?. For more information, please follow other related articles on the PHP Chinese website!