is this regex correct? help with redirection
-
this is for my attachment page
my previous permalink is
/%year%/%monthnum%/%postname%/
changing to
/%postname%/%post_id%/
after changing to
/%postname%/%post_id%/
my attachment page becomes/postname/postid/attachmentpage
would this regex below be correct for attachment page??
Source URL: /(\d*)/(\d*)/(\d*)/([A-Za-z0-9-]*)/ Target URL: /$4/(\d*)/([A-Za-z0-9-]*)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘is this regex correct? help with redirection’ is closed to new replies.