Before writing an article, make two statements beforehand:
1. The tutorial in this article is only for the zblogphp version;
2. Please make sure that your host supports pseudo-static function (how to identify whether the host supports pseudo-static?) It's simple, just ask your hosting provider) VPS recommended pagoda panel
Okay, let's talk.
The zblogphp version has a very useful "static management center" setting zblog pseudo-static plugin, installing zblogphp will come with this plugin, directly find it in the background plugin management to open the settings, the screenshot of the plugin use is as follows:
How do I set up pseudo-static on zblog? Explanation of how to set pseudo-static zblog pseudo-static setting zblog pseudo-static tutorial 1
The meaning of the configuration options is that you can decide what form the web address will be displayed after zblog is set pseudo-static. There are multiple options under each configuration, and you can freely choose according to your preferences. The key point is to let you understand this writing parameter:
{%host%}=Website domain name
{%id%}.=Article id or category id
{%alias%}=alias (there is an alias option for publishing an article or creating a new column, this parameter calls the alias here)
{%page%}=page bar number id (you click on the "2" parameter of the page bar to display the number 2)
{%year%}=year
{%month%}=month
Well, after you understand the meaning of the above parameters, you can try it slowly by yourself.
After all the page configuration parameters are filled in, click submit to automatically jump to the "ReWrite Rules" page, generally speaking, zbolg will automatically match the parameters of your host, we only need to click "Create .htaccess" or "Create web.config" below. Then setting up zblog pseudo-static is complete.
No way? Won't the page open? Prompt error?
Next, we need to contact your hosting provider to see if your host is Apache + .htaccess or IIS7, 8 + URL Rewrite Module or IIS6 + ISAPI or Rewrite 2.X Nginx, find the right one, go back to the "ReWrite Rules" page and select the appropriate one and click Create again. If it doesn't work, contact your hosting providers after confirming that your pseudo-static configuration rules are correct, because the situation of each host is complex, resulting in a variety of error causes, after all, they are professionals, so leave it to professionals to solve problems that really can't be solved!
|