Quick & Easy: Get Rid of index.php from WordPress URL Permalink

Have you been having issues with your WordPress website showing Index.php on your Permalink and thus leading to 404 error on some page? Here on this article; you’ll get to learn how to remove index.php from your WordPress Permalink URL.

remove index.php from wordpress permalink URL

WordPress is a power-packed Content Management System (CMS) – no wonder it powers 35% of the Internet. However with Great Power, Comes Great Responsibility ( a quote from SpiderMan Marvel Movie ) and WordPress is no exception.

“With Great Power, Comes Great Responsibility”

– SpiderMan

These amazing features can do a lot of good things to your website if you used those functionalities correctly. And at the same time – they could lead to drastic outcome if you happen to tamper with the wrong buttons on your Power-Packed WordPress Website.

One of the things you don’t wanna have issues with on your website is the WordPress Permalinks :/

What are Permalinks in WordPress?

A permalink or permanent link is a URL that is intended to remain unchanged for many years into the future, yielding a hyperlink that is less susceptible to link rot. They can simply be referred to as the permanent URLS that leads to your Blog Posts or Pages [WordPress.org defn]

Permalinks are so important on every website so much that a single damage in them wouldn’t just cause you and your audience a lot of headache, but also trigger a bad performance in SEO. While there are several things which can lead to a broken Permalink, we’ll be taking a look at one of them which is the Index.php Permalink 404 error.

READ ALSO: AMP for WP – Best Accelerated Mobile Pages Plugin for WordPress

How To Remove And Fix Index.Php From WordPress Permalink URL

While there might be several other means of fixing the Index.php error which occured from your wordpress permalink, there are 2 Best Ways To Fix it as at the time of writing this article.

1st Solution – Get Rid of Index.php from WordPress Permalink URL

You can get rid of Index.php from your WordPress Permalink URL by visiting the Permalink Settings in your WordPress Dashboard. All you have todo is goto Settings >> Permalinks >> and removed Index.php as shown in the diagram below;

All you hav todo is remove index.php from your permalink as shown in the picture above

2nd Solution – Remove Index.php from Permalinks in WordPress URL

If the first solution did not work out, then you can reset the code in your .htaccess file via Cpanel. You can file this file by login to your Cpanel >> File manager

Then locate your htaccess file by navigating to Home directory >> /public_html >> .htacess

NOTE: Ensure you download a backup first of your .htaccess file.

Now copy the default .htaccess code and replace it with your exisitng code

Buy Me a CoffeeSupport Us

About Tuham

Award Winning Blogger. Creative Web and Content Creator. Storyteller
View all posts by Tuham →

Leave a Reply

Your email address will not be published. Required fields are marked *