Created
June 16, 2019 09:01
-
-
Save lumpysimon/ac779b7f04b95e846dddce4e0c674de4 to your computer and use it in GitHub Desktop.
.htaccess short WordPress URLs
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
# e.g. https://example.org/go/76 | |
RewriteEngine On | |
RewriteRule ^go/([0-9]+)$ ?p=$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment