Adding .html or .php to the end of wordpress URL (posts and pages)
Have you ever wondered how some wordpress sites have .html or .Php at the end of their URL? Blogging platforms like Blogger and Weebly will have .html at the end of the post URL. There are even some Content Management Systems in which its URLs end with .php. Wordpress has many features and its resources are huge when compared to other blogging platforms. This is why people mostly prefer wordpress for blogging as well as to build static websites. Users who migrate to wordpress from other blogging platforms (that ends with .html / .php) wish to make their URLs end with .html. Here we will see how to add .html or .php to the end of wordpress URL posts as well as to pages URL.
Adding .html, .php or other extensions to your permalink structure is not going to bump your SEO. In case if you are already running a site that ends with .html or .php and if you wish to make a move to wordpress then this will be useful.
Check out the video below that is relating this topic.’
How to add .html or .php at the end of wordpress posts URL
Adding .html or .php to the end of wordpress posts URL is just simple.
- Head to your wordpress admin panel
- Now move on to settings >> permalink
- In custom permalink structure you might be using something like this.
/%category%/%postname%/ or /%postname%/
Remove the trailing slash at the end and add .html or .php. Save your permalink settings and check your site. This setting works only on wordpress posts and not on pages.
How to add .html or .php to the end of wordpress page URL
If you wish to make wordpress page URLs end with .html or .php then you should try this plugin.
If you want to make your wordpress page URLs end with .html then just install and activate .html on pages plugin.
If you wish to make your wordpress page URLs end with .php then Install and activate .php on pages plugin.
Hope this helped you on adding .html /.php to the end of wordpress post URL and page URL.