403 Error while trying to include "wp-blog-header.php"
-
Hello everyone;
I’m trying to integrate the theme header (with it’s menu) on another service I developped so I placed on the header.php file of my website, the following code:
include('C:\wamp\www\PROJECT\wp-blog-header.php'); include('C:\wamp\www\PROJECT\wp-content/themes/carry-hill/header.php');But it redirects me to the WordPress installation and I get this error :
Forbidden
You don’t have permission to access /PROJECT/panel/wp-admin/install.php on this server.
The database works well and the WordPress website works properly.
Here is the folder structure :
– panel
— app
—– layouts/default/header.php
— vendor
— ….
– wp-admin
– wp-content
…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘403 Error while trying to include "wp-blog-header.php"’ is closed to new replies.