Redirect one url to another url using .htaccess
.htaccess, apache
Solution
Redirect One URL to Another URL by Using htaccess file:
Redirect 301 /en/php/project.html http://www.example.org/newpage.html
Problem
As i am trying to redirect one complete URL ``` http://www.domain-name.com/download/?page=download ``` To this URL ``` http://www.domain-name.com/download/show ``` For this to work I have added this code ``` rewriterule http://www.domain.com/download/?page=download(.*)$ http://www.domain.com/download/show$1 [r=301,nc] ``` But this is not working and instead it says the URL I am requesting says "Forbidden". Can any one please give any solution for this.