Every time i click on pages or all pages in wp-admin, I download a php file instead of viewing the pages. I’ve heard this can be a htaccess file issue but can’t locate it to edit and debug. I’ve disabled all plugins and still nothing but a file download and when i open it is has all sorts of stuff i don’t really understand but seems to have to do with a notification for permission of something.
I’m brand new to ubuntu and linux but learning commands like nano to view or edit docs in the console.
I tried to locate the htaccess but the main locations didn’t have any.
I think i need some help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
You can create a new .htaccess file in the WordPress main directory. You can use the default WordPress .htaccess file:
Let me know how it goes.
Ok last night i did the file changes and then cleared cache and cookies and it worked! Thanks so much! Now I have to fix this nginx problem lol
it is working in Edge but not in Chrome???