I think I may have changed a permalink on my WordPress site and now I can't log in or go to my site without this message coming up
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
When I looked in my CPanel File manager I can see that the WordPress files are still there, with the theme and images etc. So I'm assuming it's just going to a different file name or the structure is off?
Since you have cPanel, go to phpMyAdmin and check in the wp-options table of your WordPress database. Make sure the first two entries for 'siteurl' and 'home' are correct. They should reflect the address of your site - ie) https://yoursite.com
That might fix it. If not, let us know and we'll recommend next steps. Good luck!
Need some help with WordPress? Check out Site Doctor 911 Worry-Free WordPress Support - So You Can Focus On The Important Stuff