Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # New Post URLs, without dates, requires redirects for old links.
- RedirectMatch 301 ^/([0-9]+)/([0-9]+)/(?!page/)(.+)$ https://www.url.org/$3
- BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^([0-9]{4})/([0-9]{2})/([a-z0-9-/]+)$ /$3 [R=301,NC,L]
- etc...
Add Comment
Please, Sign In to add comment