Return to Help Center

Welcome to the Bravenet Help Forums. Here you can chat and meet other Bravenet Members. Please do not post advertisements.

Forum: Coding Discussions
Start a New Topic 
  
Author
Comment
Page to Page 301 direct

Does anyone know the code that will work on a .htaccess file for a page to page 301 direct so that I can permanently redirect pages and not just a website?

I've tried using both of the codes below on my bravenet site, but they don't work. Thanks!

Redirect 301 /old/oldpage.htm /new/http://www.domain.com/newpage.htm

Redirect 301 /oldfile1.htm http://www.newdomain.com

Re: Page to Page 301 direct

Try using the full link code perhaps?

rewrite engine on
redirect 301 http://website.com/page1.html http://website.com/page2.html


replace your links.
the first will redirect to second link