Can only see PHP code?
-
I have a Ubuntu server onto which I have loaded Apache, MySQL, PHP and WordPress. I copied an exiting SQL database to the new server, using all the existing usernames and passwords, and can connect to it OK. The problem is that instead of nice pages, all I can see is the PHP code. What is wrong/have I done wrongly?
The URLs contain a /#!/ reference which as a beginner to WordPress (and indeed website work) I do not understand. I need some help! The site is http://www.paspana.com -
Hi,
It appears that your website uses the self-hosted version of WordPress rather than WordPress.com, which is what this forum is designed to help with. Note the difference here: https://en.support.wordpress.com/com-vs-org/
You may be able to find help here: https://wordpress.org/support/ or alternatively contact your hosting provider.
Hope this gets fixed soon!
-
@timpaspana just noting you’ll likely want to test to be sure apache+PHP is working on your system too prior to posting in the .org forums. You can search the web for a “hello world” test for example. And be sure you’re putting them in the right directory.
Once PHP is working fine, the folks at https://wordpress.org/support can likely help you out.
Of course, you’re also welcome to set up your site here, but it sounds like you’re okay handling the tech end of things on your own. Good luck!
-
Thanks for all your comments – I realized after I’d posted, that this was the wrong forum!
Anyway, I fixed it by rewriting the code myself. I hate trying to correct someone else’s mess ;-)
- The topic ‘Can only see PHP code?’ is closed to new replies.