Redirecting a Page

8 replies [Last post]
muirford's picture
Offline
Joined:
05/22/2008

All of you folks who have done this for new websites - I remember that there is a right way and a wrong way to redirect a page so that you don't lose its history and/or weight, but don't remember what it is.  Can someone point me to a resource for that?  (not for my inn website but for another event website that we host).  Thanks!

__________________

Jeanne

There are no rules, just follow your heart. ~ Robin Williams

 

swirt's picture
Offline
Joined:
05/17/2008

301 redirect done at the server side, not the client side (javascript)

OnTheShore's picture
Offline
Joined:
08/28/2011

swirt wrote:

301 redirect done at the server side, not the client side (javascript)

 

in other words, done in your root level .htaccess file....

__________________

"where even time relaxes...."

 

swirt's picture
Offline
Joined:
05/17/2008

Harborfields wrote:

in other words, done in your root level .htaccess file....

Sort of.  But not that specific.   Everyone's setup is different.   .htaccess is only a method on a linux server.

 If it is a linux server, it  only has to be done at the root level, if the item being redirected is at the root.  If the item is one or more directories deep it is better to do the .htaccess in that directory so that the server doesn't have to process a whole slew of redirect directives at the root if the directory is not even a partial match.

OnTheShore's picture
Offline
Joined:
08/28/2011

right; I always think of the apache server as being universal, and yes the redirect should in the .htaccess file of the directory of the page that is being re-directed.

Offline
Joined:
10/07/2008

Yes there are two ways, one is bad and one is good. The recommended is the bad one usually. I can't recall now which is which. I am sure Empty has the correct one.

__________________

Gluten free is never free. - Joey Bloggs

 

Madeleine's picture
Offline
Joined:
09/29/2011

http://www.howto301redirect.com/

Your DH should know which one of those sets of directions he wants if he's doing the swap.

__________________

Everyday, for good or ill, we intersect with some else's story and become a part of it.

 

Offline
Joined:
05/22/2008

Is it done in Wordpress?  If so, I use "safe redirect" PLUG IN. Or you can  See here

muirford's picture
Offline
Joined:
05/22/2008

Not Wordpress.    A relatively simple 4or 5 page site in HTML (My DH won't use fancy-shmancy things like that). It is avoiding the oft-recommended but bad for seo direction I want to avoid.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.