- This topic has 7 replies, 2 voices, and was last updated 9 years, 2 months ago by Sakin.
-
AuthorPosts
-
January 28, 2015 at 12:37 am #50658greg2015Member
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,
GregJanuary 28, 2015 at 4:58 pm #50694SakinKeymaster@greg2015: Sorry I am not sure about .htaccess and server configuration. You need to ask to your server.
January 28, 2015 at 5:14 pm #50701greg2015MemberI’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.
January 28, 2015 at 5:15 pm #50702SakinKeymasterNo sure about it. Can you post in your site URL then I can check in.
January 28, 2015 at 5:19 pm #50703greg2015MemberSure, 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
January 28, 2015 at 5:43 pm #50706January 28, 2015 at 6:50 pm #50713greg2015MemberWell, 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"
January 29, 2015 at 10:39 pm #50777SakinKeymaster@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.
-
AuthorPosts
- The topic ‘Password protect wp-admin’ is closed to new replies.