Website doesnt load instead downloads a file wrodpress






















Has your host made any changes to your server configuration? Has PHP been recently upgraded? A google search yields lots of results, nearly all being an issue with the http server.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast An oral history of Stack Overflow — told by its founding team. Millinery on the Stack: Join us for Winter Summer? Bash, ! Viewed 8k times. Use PHP5.

Improve this question. Looks like the index. Yes, localhost is reachable. Right now I'm trying to get the regular wordpress site initial installation to work because it is no longer working. You can just delete the htaccess file and generate your own by visiting the admin permalinks page. Your client doesn't need your htaccess file when you pass the project back.

The AddHandler directive may be causing an issue, typically when php files get downloaded it's because the server doesn't know what to do with that file extension. Have you tried copying the. Add a comment. Active Oldest Votes. Then copy. Improve this answer. Craig Lambie Craig Lambie 3 3 bronze badges. I edited the. If your WordPress site is unavailable, figure out what kind of error it is and check to see if you still have access to the WordPress Admin dashboard.

WSoD can happen on your entire website or only one or a few pages on your site, such as your WP Admin dashboard. You can find the files on your web hosting account in the cPanel which most hosting accounts have. Start by renaming the folders and files within your wp-content folder one at a time. We recommend starting with the plugins folder, or the theme folder as updates to either often cause conflicts within your code.

After renaming one file like changing the plugins folder name to plugins-disabled , refresh your site and see if the blank page still occurs.

If it does, return the folder to its previous name, and move to the next folder. If something does change when you reload your WordPress site, such as a partial page reload, that means the problem is somewhere in that folder. Rename the subfolders within that folder one-by-one until something changes again.

The renamed file that causes the change will be the file that caused the crash. Renaming that file will cause your site to load properly. When you rename a file, you are essentially disabling it, causing WordPress not to load it. If the file is the only thing causing the problem, it should let your WordPress site load after the rename.

To troubleshoot, you or someone else on your team can reprogram the file or reach out to a developer to inform them of the problem. A quicker, but more technical method is to turn on debugging mode, which helps you find the file path to the issue causing the WSoD faster than individually renaming each file. Changing to debugging mode will show error messages that include file paths when your page reloads.

You can then find the file containing the blank screen using the file path and rename it to disable it, which should get your site working again. Our long list of services helps you make waves in your industry and increase metrics that matter most — like sales. First, check that the hostname, username, password, and database name in the file are correct by accessing your phpMyAdmin and comparing them. Correcting those details should fix the issue.

Get the latest tutorials on SysAdmin and open source topics. A question can only have one accepted answer. Are you sure you want to replace the current answer with this one? Hollie's Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits.

I just get a download file instead of the website. 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.

You can type! Hi scottastafford5.



0コメント

  • 1000 / 1000