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?



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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

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