I have over 1700 geographic specific pages on CMS (local specific landing pages).
As follows…
website.com/path/pagekeyword01-city01-tx
website.com/path/pagekeyword01-city01
website.com/path/pagekeyword05-city02-tx
website.com/path/pagekeyword05-city02
website.com/path/pagekeyword07-city99-tx
website.com/path/pagekeyword07-city99
… up to 1600 entries
I must redirect -tx to its non -tx page variant using wildcard.
I am looking at
, this page does not explain truncation redirects.
and for basic redirects I get it, but because this is a spacialized IF contains -tx -ok -fl -ny etc, i need to simply redirect those to the non -st versions.
Purpose: CMS page limit is capped out and would like to omit 600 pages to make room for other cms objects.
is
Old Path = /path/(.)%-tx
New Path /path/(.)%1
the correct syntax?
I’m trying to do this without inturrupting existing services and it would be bad if we got clicks to 404 page even during testing