Please create .htaccess file within the document root of the website. To perform 301 redirects from http://example.com/source_page_htaccess.php to http://example.com/destination_page_htaccess.php please add below redirection code to the .htaccess file: Redirect 301 /source_page_htaccess.php http://www.example.com/destination_page_htaccess.php Your .htaccess file should look like this: Now, please browsehttp://example.com/source_page_htaccess.php, it should redirect to http://example.com/destination_page_htaccess.php like this: Similarly, you can perform 302 or 307 redirections. You will just need to change the number 301 to 302 or 307 in the .htaccess redirection code above. Note: If the redirection does not work, you may need to restart httpd/apache service on the server. On a few servers, .htaccess is disabled by default. You will need to enable that. Please refer to the next section for the instructions.