I solved it!! It was missing some files for some reason in the wp-content folder! Wow, I thought I was going insane.
Localhost install of wordpress on zend server, style is absent
-
30-05-2022 - |
Question
Here's what i did:
- installed the wordpress db table from a .sql backup file.
- installed all plugins and themes for my site.
- made the site url and wordpress url to be localhost
- also changed the url in the wp_options table to localhost.
But the site only displays the raw html, no styles whatsoever.
*I have read the documentation on permalinks. I did what was recommended for using WAMP. It didn't help either, I don't even see the wordpress bar on the site at the top of the page.
Solution 2
OTHER TIPS
Try this in your wp-config.php
:
update_option('siteurl','http://localhost');
update_option('home','http://localhost');
Or if you want a more temporary solution ( this doesn't disturb the database values ), put this in your wp-config.php
:
define('WP_HOME','http://localhost');
define('WP_SITEURL','http://localhost');
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow