Created
March 5, 2019 02:01
-
-
Save reatlat/8154731420dc11218857e74e83dffd67 to your computer and use it in GitHub Desktop.
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
server { | |
... | |
# Include RankMath redirects config to your NGINX server config | |
include /path-to-public_html/rankmath_redirects.conf*; | |
... | |
} |
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
# Created by Rank Math | |
# Tue, 05 Mar 2019 01:52:36 +0000 | |
# Rank Math 1.0.18 - https://rankmath.com/ | |
location ~ /rankmath_redirects.conf { | |
deny all; | |
access_log off; | |
log_not_found off; | |
} | |
rewrite ^old-link-path https://example.com/new-link-path/ permanent; | |
# Rank Math Redirections END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment