Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.


htaccess 301 redirect?

Tags: None
Guest referral


How to 301 redirect my old URL to new one using .htaccess file?
marcus_avrelius Offline referral

Posts: 2,519
Joined: May 2013
Reputation: 104

Support Team
If you can I recommend you to use PHP 301 redirect it's much easier and secure cause .htaccess manipulation can lead to some serious issues if you don't know what you are doing.

301 PHP redirect:
PHP Code:
header("Location: URL"true301);

Replace URL in the code above with the URL of the website or web-page to where you want redirect the content.

Here is .htaccess direct code:
# Replace me with your comment
Redirect 301 /old-page.html http://www.example.com/new-page.html

User(s) browsing this thread: 1 Guest(s)