Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #50658
    greg2015
    Member

    Hi,

    When I password protect the /wp-admin directory, the header logo on the public site does not show.
    I’m using Catch Everest Free.
    Password protect is done through hosting control panel (so is an Apache/htaccess password file)

    I’ve tried adding additional code to the /wp-admin/.htaccess file but with no success.

    <Files admin-ajax.php>
    Order allow,deny
    Allow from all
    Satisfy any
    </Files>

    The above stops the header from showing even when there is no password protect on the /wp-admin directory.

    I’v removed the password protect for now, but can you confirm what I need to do so I can password protect the /wp-admin directory and have Catch Everest still show the header?

    Kind Regards,
    Greg

    #50694
    Sakin
    Keymaster

    @greg2015: Sorry I am not sure about .htaccess and server configuration. You need to ask to your server.

    #50701
    greg2015
    Member

    I’ll ask another way, my explanation perhaps confused what the actual underlying issue is here.

    If I block public access to the /wp-admin/ folder (regardless of method), why would your Catch Everest theme not show the header image, but shows everything else?

    I do not know why, as everything else works.
    The header logo is added via the theme’s own settings, and the header image is in the standard media library along with other images, of which all other images show up perfectly fine.

    Thanks.

    #50702
    Sakin
    Keymaster

    No sure about it. Can you post in your site URL then I can check in.

    #50703
    greg2015
    Member

    Sure, thanks for looking.
    http://www.1stchoicetilingandplastering.co.uk/

    I’m happy to do the work to fix it, just need a pointer in the right direction as to why public access to /wp-admin is required for your theme to display the header image.

    Thanks

    #50706
    Sakin
    Keymaster

    @greg2015: I don’t see any issue in Header Image.

    #50713
    greg2015
    Member

    Well, as per my first post, I’ve removed the password protect for now.
    I cannot have the live site with the issue.

    There is nothing to see really, if I make the /wp-admin directory unavailable to public (password protected) the header image is simply not there.

    Something in your theme seems to need public access to the /wp-admin directory to link to the header, which is odd as the header image is in /wp-content nothing to do with /wp-admin:

    src="http://www.1stchoicetilingandplastering.co.uk/wp-content/uploads/2015/01/first-choice-tiling-plastering-logo.png"

    #50777
    Sakin
    Keymaster

    @greg2015: But we don’t have anything that blocks. After adding that code can you try changing the logo to different image and check in. Also I see that you have WP Super Cache plugin. Don’t forgot to clear cache from WP Super Cache settings. As this plugin Cache for user who is not logged in. This might be the issue.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Password protect wp-admin’ is closed to new replies.