I have the following code to rewrite all urls to www:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.mysite\.co\.uk)?$
RewriteCond $1 !^cart/updateorders\.php$
RewriteRule ^(.*)$ [
mysitee.co.uk...] [R=302,L]
I have one script on my site that is run by a cronjob and I need to exclude that in the above code. How can I do that?
ie rewrite all pages except for [
mysite...]
note the lack of www as this is how the hosting company calls cron scripts and the www rewrite is stopping the code form being run.