Header, Footer, Theme options missing from WordPress website
-
The header, footer, theme options went missing on the website.
I am using the latest Bitnami WordPress Stack on Amazon Lightsail, Approach A: Bitnami installations using system packages.
When I migrated my website to this new server, the header, footer, theme options went missing on the website.
Adding the below code in wp-config.php solves the issue.
I am not sure if this is the right thing do? or does it affect anything.
If anyone has more knowledge about this, please let me know. Any kind of input will help.
<?php if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/wordpress/'); define( 'WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/' ); define( 'WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/' ); define('WP_CONTENT_URL', WP_HOME . 'wp-content'); define('WP_CONTENT_DIR', realpath(ABSPATH . 'wp-content/'));
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Header, Footer, Theme options missing from WordPress website’ is closed to new replies.