Apache command for redirect from one page to another
Assume we have recently renamed the page
foo.html
to bar.html
and now want to provide the old URL for backward compatibility. However, we want that users of the old URL even not recognize that the pages was renamed - that is, we don't want the address to change in their browser.
We rewrite the old URL to the new one internally via the following rule:
I hope you get the solution, if not please comment below so that we will give you a perfect solution for you.
Comments
Post a Comment