• thebigmiike

    (@thebigmiike)


    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)
  • Clarion Technologies

    (@clarionwpdeveloper)

    Hello thebigmiike.

    This may be due to folder permission issue can you please try by changing the folder “PROJECT” permission.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘403 Error while trying to include "wp-blog-header.php"’ is closed to new replies.