Change WordPress Permalink to .html Or .php Without Losing Traffic

Have you ever before wondered exactly how some WordPress sites have.html or .php at the end of their LINK? WordPress has numerous functions and also its resources are huge when compared to other blogging platforms. This is why individuals primarily prefer WordPress for blogging in addition to to construct fixed internet sites. Users that move to WordPress from other blogging systems (that ends with.html /.php) wish to make their URLs finish with.html. Here we will certainly see how you can add.html or .php to the end of WordPress LINK posts along with to pages LINK.

Adding .html, .php or other extensions to your permalink framework is not visiting bump your Search Engine Optimization. In case if you are currently running a website that finishes with.html or .php and also if you want to make a move to WordPress after that this will certainly serve.

Change WordPress Permalink to .html Or .php Without Losing Traffic

Adding .html or .php to the end of WordPress posts LINK is just simple. You just need to go your WordPress Dashboard and go to settings >> permalink Remove the trailing slash at the end and add .html or .php. Save your permalink settings.

permalink-settings

Another Way is using Function file of your theme, Just put the below code in your function.php file and change according to you and your all pages and post link end with your desire .html or .php

Using above code your all link end with .php if you need .html then replace php with html.

You will find Fixing External Links With 301 Redirects or Which is The Best WordPress Permalink Structure for SEO? in my future post.

Summary
Review Date
Reviewed Item
Permalink Change
Author Rating
51star1star1star1star1star