AFP548 Changing the world one server at a time.

301 Redirect in web services

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #369682
    lshastings
    Participant

    Howdy,

    I’d like to implement a “permanent” 301 redirect on one of my domains. The result I want is whenever someone directs their web browser to “example.com”, they are redirected to “www.example.com”. Aside from keeping things simple for me and my visitors, it also will help preserve my position in the search engines.

    Right now, if I use the “alias” feature in Server Admin (under the alias tab for the, it adds a temp redirect to example.com’s virtual host conf file:

             <IfModule mod_alias.c>
    		Redirect temp "hastings.com" "http://www.hastings.com"
    	</IfModule>

    I’d prefer to add a permanent 301 redirect through the Server Admin app, but I doubt this is possible.

    Is the solution as easy as changing the code (above) in example.com’s virtual host conf file from “Redirect temp” to “Redirect 301”?

    If not, clear step-by-step help would be greatly appreciated. I am running Mac OS X 10.3 “Panther” Server.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.