Using regex to redirect around a permalink change?
-
Hi there!
I have to fix a website that changed its permalink structure.
The original used the [domain][category1,2,3,…][post title] structure, while
the new structure is [domain][post title]I guess my best bet is regexing this to death, with something like “delete everything between the domain name and the post title”… but I have no clue about how to actually write a working expression for this.
Can anybody please help?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using regex to redirect around a permalink change?’ is closed to new replies.