fix(*.php.liquid): correct routing conflicts for dynamic and static pages
This commit is contained in:
parent
48f527ab82
commit
30f34e8ff3
10 changed files with 16 additions and 57 deletions
|
@ -28,24 +28,22 @@ ErrorDocument 500 /500/index.html
|
|||
# dynamic page routing
|
||||
|
||||
## artists
|
||||
RewriteRule ^music/artists/([^/]+)/?$ music/artists/index.php [L]
|
||||
RewriteRule ^music/artists/([^/]+)/?$ music/artists/dynamic.php [L]
|
||||
|
||||
## books
|
||||
RewriteRule ^books/([^/]+)/?$ books/index.php [L]
|
||||
RewriteRule ^books/years/(\d{4})/?$ books/years/index.html [L]
|
||||
RewriteRule ^books/?$ books/books.html [L]
|
||||
RewriteRule ^books/([^/]+)/?$ books/dynamic.php [L]
|
||||
|
||||
## movies
|
||||
RewriteRule ^watching/movies/([^/]+)/?$ watching/movies/index.php [L]
|
||||
RewriteRule ^watching/movies/([^/]+)/?$ watching/movies/dynamic.php [L]
|
||||
|
||||
## shows
|
||||
RewriteRule ^watching/shows/([^/]+)/?$ watching/shows/index.php [L]
|
||||
RewriteRule ^watching/shows/([^/]+)/?$ watching/shows/dynamic.php [L]
|
||||
|
||||
## genres
|
||||
RewriteRule ^music/genres/([^/]+)/?$ music/genres/index.php [L]
|
||||
RewriteRule ^music/genres/([^/]+)/?$ music/genres/dynamic.php [L]
|
||||
|
||||
## tags
|
||||
RewriteRule ^tags/([^/]+)(?:/([0-9]+))?/?$ tags/index.php [L]
|
||||
RewriteRule ^tags/([^/]+)(?:/([0-9]+))?/?$ tags/dynamic.php [L]
|
||||
|
||||
## open graph assets
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue