- There's seem to have a delay for redirect rules to apply after the site is published, which makes debugging this frustrating.
- The comment in the first line of
_redirect1
makes the rule on line 2 non-effective, even it's just a comment. _redirect2
works fine IIUC. but this is hard to confirm since netlify can't catch up my constant editing of redirect rules.
Last active
July 20, 2017 20:44
-
-
Save poga/0a2c5e604d4ab95caf1da7b552887b27 to your computer and use it in GitHub Desktop.
_redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /users.json company=:filter /company-filtered/:filter/0.json 200! | |
/users.json page=:p /users-:p.json 200! | |
/users.json /users-0.json 200! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/users.json page=:p /users-:p.json 200! | |
/users.json /users-0.json 200! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment