Merge pull request 'PocketCasts temp redirect from full to 2 week feed' (#37) from kdmurrayhpr/hpr_hub:main into main

Reviewed-on: #37
This commit is contained in:
Ken Fallon 2024-05-24 09:24:50 +00:00
commit abf21d542d

View File

@ -3,6 +3,9 @@ RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} (DataForSeoBot|MJ12bot|AhrefsBot|AwarioBot|BLEXBot|dotbot|PetalBot|SemrushBot*|SiteAuditBot|SplitSignalBot|Yandex) [NC]
RewriteRule (.*) - [F,L]
RewriteCond %{HTTP_USER_AGENT} (Pocket Casts|PocketCasts) [NC] # Target specific user-agent (replace with actual string)
RewriteRule ^site_total_([^_]+)_rss\.php$ /site_$1_rss.php [L,R=301]
RewriteRule "^comments_rss.php$" "/comments.rss" [R]
RewriteRule "^live$" "https://stream.lugcast.mywire.org/stream" [R=301,NE,L]