Hiding WP-Content from browsing also stops search menu icon from displaying
Hi, Using the a .htaccess file within the wp-content folder to stop the public browsing the folder but this also affects the search icon that i have placed on the top menu (no longer displaying just a square box)
Order Allow,Deny Deny from all Allow from all
Any ideas how i can resolve this?
(Unfortunately the site is not public yet so cannot send a link)
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
7not sure why the code box does not display the following but this sits in the middle
I think i’ll talk to myself but let see if quotes work to show the missing line.. “”
Ok break down
Files ~ “\.(css|
jpe?g|
png|
xsl|
gif|i
co|js)$”
Actually Affecting all menu icons
Hi Madnutter
Please try altering your .htaccess file to read
Order deny,allow Deny from all <Files ~ ".(xml|css|jpe?g|png|gif|js|eot|woff|otf|ttf|svg)$"> Allow from all </Files>Let us know how you get on
Magus
Hi Magus,
Its worked a treat.
Thanks very much.
Perfect. Glad to help
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.