Table of Contents
Understanding Change requires more than a headline. The overview below breaks down the key facts, changes, and user impact.
Change Overview
First, install and activate the plug-in as usual.
Select AdminPanel -> Options -> PermalinksMigration and set up the old structure of the website you are using, in this case we use the default structure, so fill in /% post_id% /
Next, at AdminPanel -> Options -> Permalinks and change this structure to whatever format you want, with various sources and suggestions from the online community, along with the search engine optimization feature. - Search engine optimization (SEO), we will use the form /%postname%-%post_id%. HTML/
For other plugins, just change the corresponding technical parameters to the correct format that can be used and functioning normally. All posts previously posted using the old permalink structure will return HTTP 404 results unless they are re-indexed by each post manually with Permalinks Migration. So how to simplify this process? Any operator using the current URL will immediately point to HTTP 301 that requires mod_rewrite module to be enabled in the Apache server system, but is at the time disabled in default mode. And this is one of the reasons for this phenomenon.
Use locate to search if mod_rewrite. So is available on the server:
Sudo locate mod_rewrite. So
Usually, the results will be found in / usr / lib / apache2 / modules.
Switch to the modes-enabled directory:
Cd / etc / apache2 / mods-enabled
Proceed to update and open the rewrite. Load file:
Sudo touch rewrite. Load sudo gedit rewrite. Load
Paste the following command into the rewrite. Load file:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite. So
Next, open the file / etc / apache2 / sites-available / default and look for the following parameters:
Indexes Options FollowSymLinks MultiViews AllowOverride None
And change to:
Indexes Options FollowSymLinks MultiViews AllowOverride all
Finally, restart Apache:
Sudo /etc/init. D/apache2 restart
Good luck!
FAQ
What happened in Convert the Permalink Structure of Wordpress in Ubuntu: Change?
Understanding Change requires more than a headline.
What factors influenced Change?
The overview below breaks down the key facts, changes, and user impact.
What was the practical impact on users?
Change Overview First, install and activate the plug-in as usual.
Reader Comments 0
Sign in with email or Google to join the discussion.