Home >> Redirect Using htaccess

Redirect Using htaccess

Tuesday, May 16th, 2017 | X | How To

To redirect using .htaccess file use the following code

Redirect 301 / http://example.com/

Or use this to redirect only specific page

Redirect 301 /old-url http://example.com/new-url

Change 301 (permanent) with 302 (temporary) to suit your need.

You might also be interested in: