Wordpress website fixed permalink URL Method

Source: Internet
Author: User

1. First, you must check whether your host's server supports the mod_rewrite mode (currently supported by many php hosts) and the main directory is writable, you can set it in Options> Permalinks (this does not have to worry, but almost all virtual hosts currently support it ). 2. determine what kind of link you use as your permanent website Permalinks? If the domain name is a person represented by a blog on the Internet, then the fixed website of your blog is your house number. Only through this fixed website can you find everyone. We can see the importance of a fixed website in a blog. For wordpress users, master the following six skills to help others find your blog more quickly and better. 1. Pay attention to modifying the preset fixed website of wordpress, and emphasize that this is the first place to be modified after wordpress is installed. Using a preset fixed URL is not only unfriendly to many search engines on the Internet, but also has no personality. Some people who use WordPress to create their own blogs also like structure directories such as "/yyyy/mm/dd/post-name/", because it looks clear, sort articles by year, month, or day. The disadvantage is that the directory level is too deep. Some people suggest that you use a flat structure directory like "/post-name/" for a small personal blog website, it is advantageous for search engines to find your articles or content. However, it may not be easier for a Web page with a deeper physical structure to be indexed by a search engine. The difficulty of indexing is the distance between several clicks on the main web page ), instead of its physical location, no matter which directory structure we use, there should be no big problem, because search engines usually search for and find subdirectories at least layer. What's more important than the directory level is whether your webpage has many reverse links from other websites? That is to say, a high-quality web page, even in sub-directories of Layer 3 and layer 5, will be indexed by the search engine. Permalinks settings for some permanent URLs used by many users are as follows: for example, Permalinks syntax for "/2007/03/15/post-name/" directory structure (example: WordPress.com: /% year %/% monthnum %/% day %/% postname %/For example "/2007/03/15/post-name.html" directory structure (example: boingboing.net) Permalinks: /% year %/% monthnum %/% day %/Your postname20..html for example, the Permalinks statement in the "/2007/03/post-name/" directory structure (example: WordPress.org blog: /% year %/% monthnum %/% postname %/For example "/2007/03/post-name.html" directory structure (example: Blogger, TypePad) Permalinks:/% Year %/% monthnum %/define postname20..html for example, Permalinks: /define post_id1_.html 2. The short format containing % postname %/may be considered the most reasonable and friendly fixed format, when you post an article, if you ignore the "Post name" column, wordpress will use transcoding to edit the title of your article (if it contains text ), otherwise, wordpress will link all the English text in the title with the '-' symbol. If you are not bothered, it is very easy, the simplest method of Permalinks is to modify Permalinks in/website postnameapps.html. If the link addresses of other websites and search engines are yours, then the standard 404 error will occur after the link is reversed. If this file cannot be found, Permalinks cannot be modified for this reason. The text you write here will eventually become your file name and add the. html suffix. You can use '-' as the separator for key English characters in the file name. If you want to use a regular combination method, you should first mention it here. Reprinted content: http://www.chinaxianghui.com The text is copyrighted. For more information, see the source link.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.