Welcome! Log In Create A New Profile

Advanced

how to remove index.php prefix from all wordpress url

Posted by shajin 
how to remove index.php prefix from all wordpress url
September 29, 2022 02:49AM
Hi,

I've installed WordPress using aapanel, I noticed that my permalinks structure included the prefix /index.php/url. I've tried simply deleting it, however it causes server error 404 page not found to appear for all of my pages.

If I choose any other permalink structure without /index.php/ in front I get 404 error on my pages.

So basically my pages have to look like this: https://website.com/index.php/blog/this-is-my-blog/ in order to work and not give me 404. If I change permalink structure to: https://website.com/blog/this-is-my-blog/ I get 404.


I wonder if anyone has any suggestions on how I might be able to solve this.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready