Set fixed link-custom structure:
/%post_id%.html
To set other link formats, refer to the following structure tags:
%year%: The year the journal was published, such as 2009
%monthnum%: The month of the journal publication, such as 05
%day%: The date the journal was published, such as 28
%hour%: Log publication Time (hours), such as 15
%minute%: Log publication Time (minutes), such as 43
%second%: Log publication time (seconds), such as 33
%postname%: article name.
%post_id%: Log ID, such as 423
%category%: The abbreviated version of the category name (add category aliases on the new category/edit interface). Nested sub-classifications appear in URIs as nested subdirectories. For operational reasons,%category% is not recommended as the starting part of a fixed link.
%tag%: The abbreviated version of the label name (add a label alias on the New tab/edit interface). For operational reasons,%tag% is not recommended as the starting part of a fixed link.
%author%: The abbreviated version of the author name.
Create the. htaccess file and upload it to the root directory (Linux host):
# BEGIN WordPress < mod_rewrite.c>rewriteengine onrewritebase/rewriterule ^index\.php$-[L] Rewritecond%{request_filename}!-frewritecond%{request_filename}!-drewriterule. /index.php [L]</ifmodule># END WordPress
Then look at the foreground article address has not become HTML can.
WordPress Theme Creation Tutorial 11: Pseudo-Static Setup method