I’ve an current website that I’m now making an attempt to safe, however I am working into issues with the header and footer on the pages which can be accessed by way of customized hyperlinks within the menu. When I attempt to entry a customized hyperlink (equivalent to http://mywebsite.com/SomeNonWordPressComponent), the content material hundreds, however the header and footer render as:
Moved Completely The doc has moved right here (https://localhost/frequent/header.php).
The header and footer on common WordPress pages render completely positive.
What do I’ve to vary in order that the header and footer will render accurately for customized pages?
Issues I’ve tried to this point:
- set
WP_HOME
andWP_SITEURL
to start withhttps
. - click on the “Save Adjustments” button on the Permalinks web page.
- manually add to my WordPress root listing’s .htaccess this further rewrite rule:
RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Nonetheless getting the redirect (as above) for the header and footer.
Additionally:
the trail frequent/header.php
really exists up one stage from the wordpress root listing. Tried a symlink in wordpress to /path/to/webroot/frequent
bt that doesn’t appear to work, both.