rjohnsonfbr1us
Forum Replies Created
-
Though this issue we’ve already solved, there is another tidbit I might mention. WordPress makes extensive use .htaccess files, which is meh imo, but it is what it is. Apache 2 by default disables use of .htaccess in its main configuration file apache2.conf. AllowOverride None is the specific clause in the apache2.conf which disables htaccess usage.
To be able to make use of the htaccess files, you need put a AllowOverride All (ouch!) within the (directory block|config file) of the specific directory you want it to work in.
Later today I’m going back on the dev server to see if I can change the ‘All’ to specific options, though not being an expert, I need to consult the Apache documentation and see if I can lock it down better via specific directive-types (ex. AuthConfig, FileInfo, Indexes, Limit, options etc etc).
Should I come up with a better locked down AllowOverride option, I’ll come back and post it later.
Ron
<THIS IS A COPY OF MY ORIGINAL POST WHERE I POSTED IN THE WRONG PLACE. -Ron>
I finally fixed the 4 cache issue expiry thing. For whatever reason adding the caching code to my htaccess wasn’t being picked up by WordPress. I’m sure it’s a config issue on my side that I need to track down, but maybe not.
I did a little more digging (the answer was on hummingbird manual cache page, mostly) and finally figured it out.
I had to add the caching code to my apache2.conf, restart apache2 and then recheck, and then everything lit up green!
I may have another post with this issue and it can be close out. I will go look for it now.
Ron
K I will copy it over there. You can delete this thread as I don’t see where I an delete this post myself.
Ron
Yeah, I posted my solution in another post. For me adding the caching code to htaccess did not work. I have to add it to my apache2.conf and then everything lit up green.
Thanks for checking it out and confirming that it is working as intended.
Ron
Another reply randomly ending up in my email, second one…
ROn
Weird, this came to my email…
Me too. Pagespeed via google went from yellow ring 83 to green ring 97 (it was 100 1 time, but haven’t been able to duplicate since. That’s the push I needed to finally pay for both products and to get that nice warm fuzzy feeling inside 😉
Ron
I finally figured out the 4 cache expiry thing not working in hummingbird (they always showed up yellow either disabled or false.
The added caching code for some reason was not picked up wordpress when the code is added to htaccess.
To get it to work I had to move that code to my apache2.conf and then finally everything lit up green.
I read every single post on this issue in the top 10 google response and I can’t beleive I didnt find it.
Ron
I finally fixed the 4 cache issue expiry thing. For whatever reason adding the caching code to my htaccess wasnt being picked up by wordpress. I’m sure it’s a config issue on my side that I need to track down, but maybe not.
I did a little more digging (the answer was on hummingbird manual cache page, mostly) and finally figured it out.
I had to add the caching code to my apache2.conf, restart apache2 and then recheck, and then everything lit up green!
I may have another post with this issue and it can be close out. I will go look for it now.
Ron
- This reply was modified 5 years, 6 months ago by rjohnsonfbr1us.