P
P
Pavel Usov2015-08-18 12:11:23
Regular Expressions
Pavel Usov, 2015-08-18 12:11:23

How to get rid of doing_wp_cron in a website link?

There is a website with cron scripts. Therefore, a parameter periodically appears in the browser link.
On a regular site, I wrote in .htaccess:

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (^|&)doing_wp_cron= [NC]
RewriteRule (.*) /$1? [R=301,L]
</IfModule>

But this site is subnetted and there is a multisite.
those. the site has the address lp.saishn.ru/event-promo/
Apparently something in the regular expression needs to be changed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question