I'm finding this string appended to the end of my URLs sometimes: ?doing_wp_cron
It's a sign that you have
In order to do some background processing (like publishing scheduled posts), WordPress redirects you to the URL with
Remove the line from wp-config.php (although that might stop cron from working).
To Solve this manage redirection in the .htaccess file.
Here is an exemple on how to redirect the url by adding these lines in the .htaccess file :
Hope this will help !
ALTERNATE_WP_CRON
defined in your wp-config.php
In order to do some background processing (like publishing scheduled posts), WordPress redirects you to the URL with
?doing_wp_cron
appended.Remove the line from wp-config.php (although that might stop cron from working).
To Solve this manage redirection in the .htaccess file.
Here is an exemple on how to redirect the url by adding these lines in the .htaccess file :
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (^|&)doing_wp_cron= [NC]
RewriteRule (.*) /$1? [R=301,L]
</IfModule>
Hope this will help !
0 comments:
Post a Comment
Thanks for commenting. I will Reply you soon