Commit bda5e799 authored by Kevin Cristiano's avatar Kevin Cristiano 🌎


parent 57204cd3
# tc-eo-feed-limit
# Event Organiser Feed Limit
Google Calendar feeds are limited in size, so this plugin will limit the feed to future events.
In addition, Google needs no redirects on the feed url.
We found that adding the following redirect will allow all traffic to be redirect from http to https (very common) but allow the eo-event feed to not be redirected.
<IfModule mod_rewrite.c>
### 20190118 Redirect all but /feed/eo-events
RewriteCond %{HTTPS} off
RewriteCond %{THE_REQUEST} !/feed/eo-events/ [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment