amenitya
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: custom 404 messages depending on path?Okay, it’s embarrassing how simple the solution was, but I’ll post it here in case anyone else is every as daft as me :). Just catch a query that returns no posts before entering the loop:
<?php if (have_posts()){
include (TEMPLATEPATH . ‘/theloop.php’);
}
else {
print “nope”;
}?>Forum: Fixing WordPress
In reply to: custom 404 messages depending on path?Nope, doesn’t work. I’m not trying to redirect from static URLs, but rather URLs that are passing a parameter to query_posts:
https://protogeo.info/wordpress_v2/recetas/resultados/?prod=27
Should not redirect if there are posts in category 27.
I think maybe the solution involves the query itself rather than the 404 page..Forum: Fixing WordPress
In reply to: custom 404 messages depending on path?I’ll try it- thanks. But surely there is a non-plug-in solution to this???
Forum: Fixing WordPress
In reply to: Permalinks problems after upgrade 2.7So…I tried both
php_flag magic_quotes_gpc Off
and
php_value magic_quotes_gpc Off
in the .htaccess file as recommended here. No luck.
I set my permissions to 666 and let WordPress rewrite- no luck.
I added “category” and “tag” as suggested here. Nada.
I uploaded the revised query.php lauded as the solution in this thread. Nope.Finally, I followed these instructions and remade the .htaccess again…Et voila. Success at last. HTH!
Forum: Fixing WordPress
In reply to: hyperlink to select post categories with URLI still have no idea what was/is wrong with those paths, but I was able to solve my problem by creating a search results template page that gets variables from the product page to determine which posts to display.
Forum: Fixing WordPress
In reply to: Register allows new users to see adminThanks. Since it’s only tested with 2.0.5, I’ll look at this updated hack as a plan b: https://www.kpdesign.net/wordpress/allowing-limiting-user-access-in-wordpress/
(See “Requirement 2”). Also recommended there: https://www.theblog.ca/wplogin-redirectForum: Fixing WordPress
In reply to: Register allows new users to see adminIt’s true, the admin available to basic subscribers is limited – but the point is I don’t want them to see it at all. It’s visually incoherent and unnecessary – just bad UI. Any ideas how to turn it off?
Forum: Plugins
In reply to: [Plugin: MiniMeta Widget] MiniMeta disappears when logged inOkay, this was just major URL confusion on my part. False alarm.
Forum: Fixing WordPress
In reply to: Register allows new users to see adminI have the same concern…I seem to recall an option to have users jump to another page after login, but I can’t find this setting anymore. Am I crazy?
Forum: Plugins
In reply to: [Plugin: Register Plus] So perfect…but no email!Thanks for the advice. I was bracing myself for the plugin turn-off, but decided on a whim to just reinstall the Register-Plus plugin.
And it worked! Now my emails are going through.Forum: Plugins
In reply to: [Plugin: Register Plus] So perfect…but no email!Has anybody else experienced this? I really can’t solve it. I even tried resending verification emails from the admin panel and still no success. ??
Forum: Fixing WordPress
In reply to: Where is my blog title and tagline?url?
Forum: Fixing WordPress
In reply to: Trying to retrieve category slug with PHPThanks so much.