SEO Book PRO SEO Dashboard v0.0.16 Login Rich Snippets

How to Add .html Extension to WordPress Post URLs (Permalinks)?

Article Details and Information
badge This article was written by SEO Book Pro | Published on 5:06 am, Mon, 24 May 21
SEO Book Pro Headline Feed rss_feed
Do you have content that you want on SEO Book Pro?
Here are a few ways to submit it to us.

SEO | Website Audit | WordPress SEO | SEO Audit Tools

↑ Grab this Headline Animator

Subscribe to Our Newsletter

Powered by FeedBurner

Enter your email address:

Delivered by FeedBurner

Do you want to add .html to all your posts URL in WordPress website? For instance, you want to have a URL like https://seobookpro.com/page-permalink.html instead of the default one. So, how to change the permalink URL for posts in WordPress blog or website?

Within the settings panel. WordPress allows you to easily modify the permalink, or permanent links, to the posts. You can choose to have a post URL with just an ugly search query or make it prettier with date, month, year, post slug, post ID, etc. For this, you need to access the Permalinks settings.

Log in to your WordPress site dashboard
Go to Settings > Permalinks settings page
Choose the desired permalink URL structure
For adding .html to the end of URLs, simply add “.html” at the end of the URL structure.
Suggested URL structures for adding .html at the end
/%post_id%-%postname%.html
/%postname%.html
It is highly recommend that your WordPress peermalink URL structure has the POST ID in the beginning or at the end of the URL. Why? Post IDs are unique to each post, which means the post article that needs to be displayed can be picked from the database easily without having to search. If the post URL structure is limited to the post name, the right post can be displayed only after searching for the match from the list of post titles. Now, this can be a hassle if the website has thousands of posts.


24/05/2021 by SEO Book Pro
SEO Book Pro
5 stars
Technical SEO Audit
Quiet Valley Lane Sherman Oaks
Poway, CA 91403
8779 02354