PocketCasts temp redirect from full to 2 week feed #37

Merged
ken_fallon merged 2 commits from :main into main 2024-05-24 09:24:50 +00:00
Showing only changes of commit c805abe50c - Show all commits

View File

@ -3,6 +3,9 @@ RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} (DataForSeoBot|MJ12bot|AhrefsBot|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 "^maillist$" "https://lists.hackerpublicradio.com/mailman/listinfo/hpr" [R=301,NE,L]