We help IT Professionals succeed at work.

403 forbidden error on WAMP localhost of Wordpress' stylesheet file bootstrap.css

2,349 Views
Last Modified: 2014-09-29
Hi,

I'm getting a 403 forbidden error on my WAMP localhost (Win 7 64bit) using Wordpress. It can access the index and the Apache server is working fine but it can't access the stylesheet.

I tried this:
<Directory "C:/wamp/www/test/trunk/php/wordpress">
	Options All
	AllowOverride all
	Order Deny,Allow
	  Allow from 127.0.0.1
</Directory>

Open in new window


And I tried the same above code except with "Allow from all" but to no avail.

Note - Apache can access the main style.css of the active theme folder but it can't access the @import bootstrap.css files. For some reason, it's trying to access the .css file as an html file it seems like.

Here's the snapshot of the Network tab in the Chrome dev tool:Chrome dev tool Network tab. bootstrap.css has a 403 forbidden error
Here's the Chrome dev snapshot attached.
Comment
Watch Question

Mandeep SinghDatabase Administrator
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
SEO, Web Developer
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Victor KimuraSEO, Web Developer

Author

Commented:
I think I found the answer on a "hidden" blog post somewhere or some forum.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.