WordPress

How to Remove index.php From URL WordPress

Here we are going to learn how to remove index.php in the URL structure WordPress. As we know, permalinks are one of the most important factors of any website, and it’s easy to change permalink structures in WordPress.

Follow the below steps to remove any extensions or to change the URL structure of any WordPress website.

Read Also: How to Create a New Custom Sidebar in WordPress

Remove index.php From WordPress URL

To change the URL structure, First, go to Settings > Permalinks.

In general, WordPress provides many types of permalink schemas for posts and pages. Mostly it has index.php in the middle of the permalink schema of posts.

WordPress default permalinks

As we can see, in defaults, there will be index.php in the middle of the permalink for posts.

Solution

To remove index.php from URL WordPress, we have to select the Post Name option above Custom Structure in the permalink options for posts.

Even more, we can also change the permalink structure of custom pages in WordPress.

Read Also: [Solved] Briefly Unavailable for Scheduled Maintenance. Check Back in a Minute

Conclusion

Now we understand the procedure to remove index.php in WordPress URL. Also, we gained a little knowledge about WordPress permalinks and how to change them for posts and pages.

Enjoy WordPress 🙂

Nachiket Panchal

Founder & Administrator of `errorsea` Having interest in Programming & Technology.

Recent Posts

5 Important Things To Know About WordPress Before You Use It

There is a reason big-name companies like CNN use WordPress. WordPress is a popular content…

3 years ago

How to Install MySQL on Your PC in 3 Easy Steps

In this tutorial, I'm going to show you how to install MySQL on your computer.…

4 years ago

Download and Install Turbo C++ for Windows 10 (Full Installation Guide)

Download Turbo C++ for windows 10 in just 7 Mb and run your first C++…

5 years ago

PHP .HTACCESS Redirects

We can redirect any webpage to any other or redirect the whole domain or website…

5 years ago

PHP Redirect Pages

There are lots of methods to redirect pages, like refresh-redirect from META tag, redirect from…

5 years ago

PHP Include & Required

Include files in PHP are used in appending various global or config files. We can…

5 years ago