diff --git a/README.md b/README.md index 741bacd..3d66b8c 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ RewriteRule ^(.*)$ - [R=404,L] RewriteEngine On # Redirect year-based URLs to the archive site -RewriteCond %{REQUEST_URI} ^/([0-9]{4})$ -RewriteRule ^([0-9]{4})$ https://archive.harucon.org.il/$1 [R=301,L] +RewriteCond %{REQUEST_URI} ^/([0-9]{4})(/.*)?$ +RewriteRule ^([0-9]{4})(/.*)?$ https://archive.harucon.org.il/%1%2 [R=301,L] # End of the .htaccess for harucon.org.il @@ -72,7 +72,7 @@ RewriteEngine On # Redirect to a specific year if accessing the root archive site RewriteCond %{REQUEST_URI} ^/$ -RewriteRule ^$ /2024/ [R=301,L] +RewriteRule ^$ /2025/ [R=301,L] # End of the .htaccess for archive.harucon.org.il @@ -86,8 +86,8 @@ RewriteRule ^$ /2024/ [R=301,L] RewriteEngine On # Redirect year-based URLs to the archive site -RewriteCond %{REQUEST_URI} ^/([0-9]{4})$ -RewriteRule ^([0-9]{4})$ https://archive.animatsuri.org.il/$1 [R=301,L] +RewriteCond %{REQUEST_URI} ^/([0-9]{4})(/.*)?$ +RewriteRule ^([0-9]{4})(/.*)?$ https://archive.animatsuri.org.il/%1%2 [R=301,L] # End of the .htaccess for animatsuri.org.il