cwd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Permalinks Generated But Not RedirectedDang! That worked. I guess indexes must not include index.php, although that seems a bit unlikely as all sorts of other stuff would be breaking. Anyhow, this is wonderful. Google will love me, and all good things have happened.
Thank you very much.
Forum: Fixing WordPress
In reply to: Custom Permalinks Generated But Not RedirectedI did that and still no success. Either Apache is not rewriting the URL (the likely scenario because the logs show a 404), or there is a problem turning the URL into an actual post. I’m stumped.
Forum: Fixing WordPress
In reply to: Custom Permalinks Generated But Not RedirectedYup.
Forum: Fixing WordPress
In reply to: Custom Permalinks Generated But Not RedirectedOk, so I did that, and the link that’s being generated comes out something like:
http://subdom.domain.com/2010/05/11/zooming-in-photoshop-cs4-and-cs5From the custom string:
/%year%/%monthnum%/%day%/%postname%So now the post id is not being included in the string. I’ve resaved the permalink structure using Save Changes on the Permalink Settings page but still see no evidence that the redirection is taking place.
Weird thing about it is that this works just fine locally. Is there something in the main httpd.conf that could be making Apache not read .htaccess?
Thanks so much…
Forum: Fixing WordPress
In reply to: Custom Permalinks Generated But Not RedirectedI *am* my host. It’s a VPS. Therein lies my problem 🙂
Forum: Fixing WordPress
In reply to: can’t get feed to workWell, I fixed that validation nit as well, and all my feeds are now passing the W3C validator. But… only ATOM is displayed at all in Safari. FireFox is fine, IE 7 gets most of the feeds. Not Safari.
I know this isn’t a WP problem, but does anyone know why Safari would give an error on these? BTW: I’ve used this release of Safari on other RSS feeds no prob.
Thx
Forum: Fixing WordPress
In reply to: can’t get feed to workUpdate. I punted trying to hunt the errant space down and did this: I edited wp-rss2.php, inserting the following code:
At the very top:
function clean_spaces($buffer)
{
return trim($buffer);
}
ob_clean();
ob_start('clean_spaces');At the very bottom:
<?php
ob_end_flush();
?>This takes a blunt instrument approach to chomping any leading or trailing whitespace. The feed works in FireFox and NewsFire reader. It fails in Safari and IE 7.
I’m an RSS noob so please forgive what are probably old questions…
Thx
Forum: Fixing WordPress
In reply to: can’t get feed to workOk, I tried shutting off *all* plugins and the problem persisted. I checked every PHP file and none have leading space prior to the
<?phpor trailing space after the last?>. Any further thoughts regarding how best to find the errant blank line?Forum: Fixing WordPress
In reply to: Changing the #more-ID anchor for Read more… linkIs there a case where a page contains more than one article? That would explain the #post-ID in the url. If it’s only one article per page, wouldn’t this be just as good?
function replace_the_more($content) {
return preg_replace('/#more-(d)/','',$content);
}
add_filter('the_content','replace_the_more');Forum: Themes and Templates
In reply to: admin skin plugin questionA good solution.
Thanks