homepage Welcome to WebmasterWorld Guest from 54.197.171.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

This 130 message thread spans 5 pages: < < 130 ( 1 2 3 4 [5]     
301 Redirects, www and Non-www
What should we do - what can we expect?
webconnoisseur




msg:736172
 7:28 pm on Jul 6, 2005 (gmt 0)

There's been a lot of talk about using a 301 redirect so there aren't two versions of your site out there (www.widgets.com and widegets.com) - I believe it is also a way to avoid being hijacked. It seems like everyone is doing it now.

I have a couple things I would like to clarify on 301's via this example:

A site currently has no redirect - google sees both widgets.com (PR 7) and www.widgets.com (PR 6).

It seems like this site should do a 301 redirect to widgets.com (the higher PR ranking).

Here are my questions:
1) Might this give the site an overall boost in PR?
2) What is the short-term effect of making this change (could it change your rankings and for how long)?
3) Is www. better than non-www?

Also, if you recently made this change yourself - how did it go? Thanks for your help!

 

johnhh




msg:736292
 11:15 pm on Sep 15, 2005 (gmt 0)

Just to add: Watch out for the lower/upper case trap - as previously posted - developing on our version of Dreamweaver in Windows will not pick them up when checking links. so windows will find filename.HTM even if the link is written to filename.htm, Unix wil not.
Still being caught by this after x years!

claus




msg:736293
 12:47 am on Sep 16, 2005 (gmt 0)

>> they can do a 301 redirect using an asp.net script

Don't let anyone fool you into using a response.redirect ASP script thinking that this is a 301. It is not. It's a 302 - and the devil is in the details.

Se post #380 here for alternative advice on IIS servers:

Google's 302 Redirect Problem (message # 380) [webmasterworld.com]

gomer




msg:736294
 2:24 am on Sep 16, 2005 (gmt 0)

We are accomplishing a 301 redirect from non-www to www as follows on an Apache server:

We set up virtual host by name support for www. We then added another virtual host for the non-www and did a permanent (301) redirect to the www virtual host.

Can anyone provide comments as to whether this is a correct and appropriate way of doing this.

Thanks.
gomer

gomer




msg:736295
 3:10 am on Sep 16, 2005 (gmt 0)

Just wanted to add one thing to my post above.

With the virtual host method described above, when you request:

http://example.com
the address line in your browser is re-directed to:
http://www.example.com

As I understand it, with the 'server alias' method:

requesting:
http://example.com
the address line in your browser is NOT re-directed to:
http://www.example.com

Is this correct? Is the virtual host method appropriate for the redirect from non-www to www? Is it any different from the 'server alias' method.

Thanks.

twebdonny




msg:736296
 4:18 am on Sep 16, 2005 (gmt 0)

We followed the rules, edited the htaccess to remove non www and dynamic pages...and now our main index.htm is MIA
from Google. Beware...

danimal




msg:736297
 9:09 pm on Sep 16, 2005 (gmt 0)

>>>As I understand it, with the 'server alias' method:
requesting:
http://example.com
the address line in your browser is NOT re-directed to:
http://www.example.com<<<

that is NOT correct... i did the .htaccess method and everything re-directed just like it's supposed to, immediately... you can test it for yourself.

i don't understand this virtual host thing you are describing... are you saying that you completely copied your original site and put it online? two versions of the same site?

gomer




msg:736298
 9:26 pm on Sep 16, 2005 (gmt 0)

that is NOT correct... i did the .htaccess method and everything re-directed just like it's supposed to, immediately... you can test it for yourself.

I was more asking what the result is with the server alias method. I thought you would not see the actual redirect in the address line in your browser but thanks for letting me know that is not the case.

i don't understand this virtual host thing you are describing... are you saying that you completely copied your original site and put it online? two versions of the same site?

No, there is only one copy of the site. It is just the way Apache is configured in httpd.conf that allows this - you don't have to create another copy of the pages on the site.

stinkfoot




msg:736299
 11:53 pm on Sep 16, 2005 (gmt 0)

try useing wget to look at the pages much more detail there .. browsers are for users not webmasters :)

Sam1234




msg:736300
 6:48 pm on Sep 27, 2005 (gmt 0)

So If the Web site is on a Windows server that supports ASP scripts. Can I do a 301 redirect to direect the non www adrress to the www address?

claus




msg:736301
 8:25 pm on Sep 27, 2005 (gmt 0)

>> on a Windows server that supports ASP scripts

Please... I put a nice visible link to a post with info on IIS / ASP and so on in my previous post (post #122). I don't do that to trick you, you know. You will find the answer there. It's still on WebmasterWorld, so click it.

Clickety-click...

--

<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.newdomain.com/"
Response.End
%>

This 130 message thread spans 5 pages: < < 130 ( 1 2 3 4 [5]
Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved