php - WordPress files downloading instead of executing on the server -


my wordpress files downloading instead of executing on server. have tried changing server not solve issue. sure happening wordpress files hosting runs other wordpress files smoothly.

i wish could provide code isn't needed. please guide me. thanks.

i have seen happen when:

1) php turned off or not installed on server

2) server needs reset

3) file names not correct

4) redirect script not redirecting should

5) links not valid

the news of these can solved you/your host. call host ask them on verifying php install/process. if (for instance, if have site on same server working fine) need verify file names. wordpress , file names pretty standard isn't make sure there no unwanted spaces , file names "something.php". wordpress may see bunch of parameters passed through url "something.php?blah=blah" fine (no space between php , ?).

check link clicking. file names might link may bad. might simple fixing link urls. recall of wordpress, there built in method of linking pages within same wp site. believe these based off url in database may want verify url in database/config file verify wp sending them correct place. if not stored in database , instead, coded directly content, may have manually update every link correct url.

finally, if script or wordpress related may want consider fresh wordpress install. thing wordpress stuff in data base:

1) make backup of data base

2) trash wp install completely

3) download , install new wp desired plugins , themes

4) restore database

if last step breaks server again, check urls within database: http://codex.wordpress.org/changing_the_site_url

your host can in backing , restoring wp databases. godaddy (who not support it) walk through process (you want call hosting team. ex-godaddy employee, guys experts).

if isn't enough information, please provide link site. allow me quick troubleshooting determine overall issue.

edit: verifying php install

create php file following contents:

<?php phpinfo(); ?> 

and upload site

this make information php install accessible

note: not leave file permanently , not post link publicly, not want random people on internet accessing information

if can access file , loads bunch of information in purple (i believe purple) table, php install , running. if file downloads rest, contact hosting provider.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -