• I recently reprovisioned my server and set up my old wordpress site on the same domain using nginx as the web server instead of apache. Everything works great except whatever I assign as the home page is replaced by a ton of odd symbols and whitespace. If I am signed in and view the home page it works.

    You can see the issue at https://www.webrockrevolution.com and at https://www.webrockrevolution.com/rock which is the page I’ve assigned as the home page.

    Here are the other pages working at https://www.webrockrevolution.com/blog. Don’t mind the page not found if you click around on a couple, I’ve changed them all to drafts.

    I’ve flushed cache (server and local), ruled out theme specific issues, disabled all plugins and the nginx configuration is exactly as recommended by WP. There are no errors reported in the nginx log. WP_DEBUG is unusable and the headers look fine. Any help would be appreciated! If you need any additional info I’ll happily provide it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try to add a static page for example test.html with a simple html paragraph, and load it from the url you mention, like https://www.webrockrevolution.com/test.html

    If it works like that then you might want to check your database for proper encoding (utf8 or utf8mb4 if your db supports) and check if it corresponds to your wp-config.php database encoding.

    Check back if you did the steps above.

    Thread Starter tilt28

    (@tilt28)

    I tried it out and had no luck. The database encoding (schema, table, columns) seems to line up with the wp-config (utf-8). I’ve checked them all manually through mysql command line. It’s odd that if I switch the front page to something else I can load and view the page perfectly by going to the url. Whatever I set as the front page has the same issue.

    Thread Starter tilt28

    (@tilt28)

    I just said screw it, backed up and exported everything. I deleted the database and recreated it with utf8 charset. I reinstalled wordpress, my theme and imported everything. Not everything worked perfectly but it wasn’t worth the effort of trying to find some obscure bug. Thanks for the help though.

    Moderator Bet Hannon

    (@bethannon1)

    tilt28, if you have resolved this question, it would be really great if you could come back and mark it resolved. This helps us when we are searching for people who still need help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Static Home Page Doesn't Load (Symbols Instead). Everything else works.’ is closed to new replies.