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.

Was it helpful?

Solution 2

I solved it!! It was missing some files for some reason in the wp-content folder! Wow, I thought I was going insane.

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
scroll top