[email protected]
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp-cron with .htaccess — cron jobs not runningOH — I am about to SHOOT myself!!! OK — it didn’t work after all!
I inadvertantly deleted my .htaccess and (duh) THEN it worked…
I’ve restored my .htaccess now, and (crap) it no longer works…
cron jobs are still not scheduled! MORE HELP! Current .htaccess is:
## password begin ##
AuthUserFile xxxxxxxxxxxxxxxxxxxxx
AuthName “Protected”
AuthType Basic
<Limit GET POST PUT>
require valid-user
Allow From xxxxxxxxxxxx
Allow From xxxxxxxxxxxx
</Limit>
<Files .passwd>
deny from all
</Files>
<Files wp-cron.php>
allow from all
</Files>
## password end ##
Allow From xxxxxxxxxxxx
Allow From xxxxxxxxxxxx
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /news/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /news/index.php [L]
</IfModule>Forum: Fixing WordPress
In reply to: wp-cron with .htaccess — cron jobs not runningWAIT — WAIT… OMG!!! It’s… WORKING!!!
Perhaps my host has done something?
Whatever! YAY!!!If not action by my host, then I suspect it was the files section after all! Maybe I just didn’t notice before!?!
Anyway, THANKS SO MUCH for the hand-holding and good advice!!!
— Mike
Forum: Fixing WordPress
In reply to: wp-cron with .htaccess — cron jobs not runningYes, yes, yes… Been there done that! LOL! I realized I was barking up the wrong tree last night, and put WP back the way it was this morning.
my .htaccess:
## password begin ##
AuthUserFile xxxxxxxxxxxxxxxxxxxxx
AuthName “Protected”
AuthType Basic
<files wp-cron.php>
order allow,deny
allow from all
</files>
<Limit GET POST PUT>
require valid-user
allow from xxxxxxxxxxxx
allow from xxxxxxxxxxxx
</Limit>
<Files .passwd>
deny from all
</Files>
## password end ##
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /news/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /news/index.php [L]
</IfModule>BUT… Still NOT working — I won’t be able to see error until tomorrow, but I ASSUME it’s still 401 (unauthorized) — the two ip addreses allowed are the apparent ip as reported in the error 401 and the server ip as suggested by the host — no help either.
SUGGESTIONS???
Forum: Fixing WordPress
In reply to: wp-cron with .htaccess — cron jobs not runningThank you Otto42 — I don’t know HOW to turn off the protection for all hits to wp-cron.php — any thoughts?
I just tried hacking cron.php to replace (WP 2.6.3) line 84
$cron_url = get_option( ‘siteurl’ ) . ‘/wp-cron.php’;
with
$cron_url = ‘https://user:[email protected]/blog/wp-cron.php’;but that did not seem to fix or affect anything… I still have all these old WP-cron entries — if I run one now (using Crontrol plugin) it adds itself to the end of the list but doesn’t seem to DO anything…
NO — wait — maybe at line 102 ?? OK — spoon feed me here — what should my hack be??? Or is there a better way (short of unprotecting the directory which is against the organization’s rules)???
MORE HELP!!!
OR — how, exactly, do I go about turning off the protection for all hits to wp-cron.php???
Thanks,
Mike