To solve this, you need to use the Post Name as the permalink – Ref: https://codex.wordpress.org/Using_Permalinks
Or check if your hosting mod_rewrite is enabled by creating a file phpinfo.php with content,
Upload this file and browse via Browser. So you know which modules are enabled. You need mod_rewrite enable to remove index.php from URL.
You must be logged in to reply to this topic.