urban_mainframe
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] index.html 404 error gets cachedOkay, that’s good to know. Thanks for your time Frederick.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] index.html 404 error gets cached@sqlwiz: It was caching as index.html.
@frederick: That’s great, thank you.
This isn’t a show-stopper guys, the code I posted in my original message is enough to prevent this occurring. Maybe just a paragraph in the W3TC documentation, to the effect that the 404.php file should be modified, is all that need be done.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] index.html 404 error gets cachedFrom the WordPress documentation, “Creating an Error 404 Page“:
Sending Proper Headers
By default, WordPress continues to send 404 pages as if they were fine. To make search engines like Google spider these pages correctly, you can add this line to the top of your theme’s 404.php file.Note: This is no longer required in the latest versions of WordPress
(Emphasis added)
Forum: Plugins
In reply to: [Plugin: Redirection] Redirected URLs to 404 Return 200 ResponseAdd the following code to the very beginning of your 404.php file:
<?php header("HTTP/1.0 404 Not Found"); ?>Forum: Plugins
In reply to: [Plugin: W3 Total Cache] index.html 404 error gets cachedThanks for responding Frederick. I have checked with Firebug… WordPress is definitely returning a 404 header, not a 200.
Forum: Plugins
In reply to: Trouble with javascript and css after latest upgrade of W3 Total CacheHi Frederick. I reused my old settings file. Is that the problem?
Forum: Plugins
In reply to: Trouble with javascript and css after latest upgrade of W3 Total CacheHi Frederick. I just double-checked and light.css is definitely in my Minify settings. “Verify URI” result is positive too.
Forum: Plugins
In reply to: Trouble with javascript and css after latest upgrade of W3 Total CacheI’m was having the same problem as swatgod. I followed your advice Frederick, a complete reinstall of W3TC, and the minify now works but has introduced a new problem:
My page source still requests the original CSS file along with the new minified file.
<link rel=”stylesheet” type=”text/css” href=”http://assets.urbanmainframe.com/wp-content/w3tc/min/default.include.css” media=”all” />
<link rel=”stylesheet” href=”http://assets.urbanmainframe.com/wp-content/themes/options/styles/light/light.css” type=”text/css” media=”screen” />
All that “default.include.css” contains at the moment is the minified version of “light.css” but the request for “light.css” remains in the source of the page. This didn’t happen with the previous version of W3TC.
Any ideas?
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Category View Not UpdatingThat’s great. Thank you for the advice.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Category View Not UpdatingSorry Frederick, I should have mentioned the browser at the very least.
It’s Safari 4 on OS X. You’re right I guess, the browser is probably just respecting the tags.
What’s a reasonable caching time? I’m currently set for 24 hours.