Created
July 3, 2023 12:13
-
-
Save mopeneko/03cf1e1f7aea2715e6becb0151bee52f to your computer and use it in GitHub Desktop.
WordPressのパーマリンクを基本から数字ベースに変えた後リダイレクトするやつ
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
<IfModule mod_rewrite.c> | |
RedirectMatch permanent (\?|\?(.+)&)p=(\d+)(&.+) https://mope-blog.com/archives/$3$1$4 | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment