I want Apache to redirect links in the page like < a href = http://site.com/something> to < a href = http://site.com/something>.
It works with relative URLs using RedirectMatch, but not for absolute.
Thanks Hirst.
Ive tried RedirectMatch, but it must be conditional, to redirect/rewrite links <a href = oldURL.com/...> to <a href = newURL.com/...> only if the domain of the page is newURL
Thanks, I havent, I'll get into it.
I want this redirection of links in the page to happen only when w w w.newURL.com/somequery is accessed, but not to happen with the old w w w.oldURL.com/somequery.
I am trying to do URL redirection like this using Apache on CentOS:
w w w.newURL.com/somequery
To display the content of the page
w w w.oldURL.com/somequery
Except that all of the links in that page like:
<a href="http://w w w.oldURL.com/somethingfoo...">
To be rewritten or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.