Jump to content
groovyPost Forums

How to setup a 301 redirect using apache .htaccess


Guest kx3

Recommended Posts

I'm new to this hosting thing and I'm trying to setup a redirect from a parked page to my website. What is the syntax for apache to setup the redirect?

 

Thanks!

Link to comment
Share on other sites

The process is fairly simple. Here's what I have in my .htaccess file:

 

Redirect 301 /tags/xp/ http://www.groovypost.com/tags/windows-xp/

This will redirect the url: http://www.groovypost.com/tags/xp/ to htp://www.groovypost.com/tags/windows-xp with a 301 redirect.

 

Again, by looking at it it's fairly self explanatory.

 

Let me know if you need any other help!

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

A 301 redirect is a permanent redirect. A 302 is temp. Permanent redirects tell search engines the old URL is gone and to pull it from the putting the new URL in it's place. 301 is normally what you want to preserve the page in the index and keep the page rank.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 4 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...