Forum Moderators: phranque
RewriteRule ^/*([^/]+)/([^/]+)/([^/]+)$ /index.php?year=$1&week=$2&sign=$3 [NC,L]
RewriteRule .* /index.php [L]
# transform three argument URL into query string parameters to be passed to PHP
RewriteRule ^/*([^/]+)/([^/]+)/([^/]+)$ /index.php?year=$1&week=$2&sign=$3 [L]
# If the URL does not match a filesystem file, then let index.php handle anything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /index.php [L]
# Internally rewrite extensionless three-argument URL to index.php plus query string
RewriteRule ^([^/]+)/([^/]+)/([^/.]+)$ /index.php?year=$1&week=$2&sign=$3 [L]
#
# If the requested URL-path does not resolve to a physically-existing file or to a frequently-requested
# image, CSS, or JS file, then internally rewrite to index.php, removing the query string
RewriteCond $1 !(\.(gif|jpe?g|png|ico|css|js)|index\.php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php? [L]