Answer the question
In order to leave comments, you need to log in
How to replace part of URL with another value (mod_rewrite) or proxy?
When using substitute to replace words on the page, some of the links were replaced. As a result, the pages are not found.
It was test.ru/Asdf-content/AB1234
It became test.ru/Ghjk-content/CD1234
The content of the pages remained unchanged, except for the replacement of some words and links.
How to display the old address at the new address via mod_rewrite or mod_proxy?
Answer the question
In order to leave comments, you need to log in
IMHO the capabilities of mod_alias and its Alias or Redirect directives will suffice here .
Examples of directives are on the links.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question