Why is there /index.php/ in all my links? How do I remove it?

I recently realized that my rss feed is not working, because a plugin was assuming it's under

mydomain.com/feed

But it isn't. I get an 404 error. I figured out that instead my feed is under

mydomain.com/index.php/feed

I already had similar issues in the past when using Easy Affiliate Links. For example when I created a link that was supposed to be:

mydomain.com/visit/google

The link that worked was

mydomain.com/index.php/visit/google

My blog url is equally annoying:

mydomain.com/index.php/blog

It's not a minor annoyance any more. I need to get "index.php" completely removed from my url structure. I'm assuming it's some kind of misconfiguration. How do I fix it?

Topic url-rewriting directory slug 404-error links Wordpress

Category Web


After browsing all my dashboard, the solution turned out to be simple:

Navigate to:

Dashboard -> settings -> permalinks

For some reason "Custom structure" was activated. I simply had to choose "Post name" instead.

Now all my links look as they should.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.