I
I
Igor2014-08-06 15:00:36
Apache HTTP Server
Igor, 2014-08-06 15:00:36

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

1 answer(s)
E
Evgeny Khabarov, 2014-08-07
@ehabarov

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 question

Ask a Question

731 491 924 answers to any question