homepage Welcome to WebmasterWorld Guest from 54.198.224.121
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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

    
Linking to page or page/
One question related to linking structure
manca




msg:3091440
 11:39 am on Sep 21, 2006 (gmt 0)

Hey guys,
I'm wondering is linking to one page the same no matter whether or not / is presented?

For example is the the same for me to link:
www.domain.com/page
and
www.domain.com/page/
(page is either page or directory)

I just want to know will google give points to "page" despite of the way it is linked. It wouldn't be cool if it would tread page and page/ separately, on that way it'll be lacking of PR, which mixed would be greater than separate with each page and page/.

So do you know the accurate answer of this question?

Thank you,
Manca

 

WiseWebDude




msg:3091591
 1:35 pm on Sep 21, 2006 (gmt 0)

I don't think Google even knows the answer to that for sure...I ALWAYS use a / in designating a folder though...

www.example.com/example/ and NOT www.example.com/example

I think the only difference would be that in the latter, Google could think example was a page (e.g. www.example.com/example.html or something like that), especially if there was a page in that folder named that...

IF you had this: www.example.com/index and you had a default page in that folder named index.html I could see where you might run into problems with that... of course the browser would show the index page, but I would rather be on the safe side and add a /.

I am, however, not an expert and just giving you MHO.

manca




msg:3091992
 6:34 pm on Sep 21, 2006 (gmt 0)

Thanks for replay man. I really appreciate it.
Anyone else wanna give his/her contribution on this one?

g1smd




msg:3092017
 7:06 pm on Sep 21, 2006 (gmt 0)

We all know that having www and non-www Duplicate Content is bad for a site, so I hope that everyone has a site-wide 301 redirect from non-www to www installed.

There is some interaction with URLs without the trailing / on them.

If you decide to base your site on www.domain.com and if the default server name (a server setting) is domain.com, and you have a 301 redirect from non-www to www, and all your internal links go to www.domain.com/folder (WITHOUT the trailing / on it) then the server will FORCE an internal 301 redirect to domain.com/folder/ (WITHOUT the www on it) before your own redirect kicks in to then do another redirect to www.domain.com/folder/.

This is very bad. You now have a redirection chain and you now have domain.com URLs in the chain. This is often easy to spot when you run Xenu LinkSleuth over your site: it reports double the number of pages that you expected (in the sitemap part of the report), and half them have a title of "301 Moved".

Check it. It is very important.

Fix it. Failure to do so will cause many problems.

I first highlighted this a couple of years ago. It is even more important to get this right on the "new Google".

manca




msg:3095308
 10:47 pm on Sep 24, 2006 (gmt 0)

"If you decide to base your site on www.domain.com and if the default server name (a server setting) is domain.com, and you have a 301 redirect from non-www to www, and all your internal links go to www.domain.com/folder (WITHOUT the trailing / on it) then the server will FORCE an internal 301 redirect to domain.com/folder/ (WITHOUT the www on it) before your own redirect kicks in to then do another redirect to www.domain.com/folder/."

All my internal links point to domain.com/folder/ with / in the end of url. The thing I wanna know is it good to have external links link to domain.com/folder or folder/? I mean, can it cause some problems with google because folder might get different PR than folder/ or it doesn't matter? Google should see them both as the same thing (when doing GET request)..

What do you think about it?

Thanks for the answer g1smd, tho!

g1smd




msg:3095317
 10:56 pm on Sep 24, 2006 (gmt 0)

Yes. Links to folders should include the trailing / on the end of the URL in the link.

It avoids the server having to issue yet another redirect before serving the page.

manca




msg:3095327
 11:13 pm on Sep 24, 2006 (gmt 0)

Ok,
Thanks for the answer again!

I'll make sure to have all my links poiting to page/ .

manca




msg:3095329
 11:17 pm on Sep 24, 2006 (gmt 0)

Oh, I forgot another thing.

Let's say I have my pages automatically "generated" with wordpress...Those are of course urls from DB, but I made them look pretty with mode_rewrite stuff...Do you and Google consider those pages (perm links) as pages or as folders?
For exmaple wordpress make post like?p=10 and with mod_rewrite it looks like post-ten.
Does big G consider those as pages or as folders, and do I have to link to them with / at the end of url or not?

THANKS A MILLION!

manca




msg:3095924
 1:55 pm on Sep 25, 2006 (gmt 0)

Anyone?

Romeo




msg:3096017
 3:10 pm on Sep 25, 2006 (gmt 0)

Does big G consider those as pages or as folders, and do I have to link to them with / at the end of url or not?

G consider them as URLs. An URL is an URL.
Only you and your server know if a specific URL is a folder (with some default index-file inside) or not.
If it is a folder, add the trailing slash to the URL, if it is not, do not. Do this consistently and everything will be fine.

If your server is forced to send out a 301 redirect to make the client aware that he should have requested "url/" instead of "url" and instruct him to try again accordingly, this is unnecessary and therefore should be avoided as it is an additional interaction/transaction that will slow down the retrieval of the URL.

G sometimes seems to have problems in attributing redirects correctly. So doing this linking right in the first place surely will do no harm.

Kind regards,
R.

g1smd




msg:3096021
 3:14 pm on Sep 25, 2006 (gmt 0)

Yes, only add the trailing / to folder requests. That is the convention.

manca




msg:3096427
 7:27 pm on Sep 25, 2006 (gmt 0)

BUt how could I know whether WordPress rewritten pages (mod_rewrite) are files or folders?

manca




msg:3098151
 8:32 pm on Sep 26, 2006 (gmt 0)

g1smd, can u advise?

SEOPTI




msg:3098170
 8:48 pm on Sep 26, 2006 (gmt 0)

Just get a real domain, a dedicated server and don't use wordpress.

manca




msg:3098378
 11:57 pm on Sep 26, 2006 (gmt 0)

I'd say bull#*$!, sorry no offence. But will you be so kind to elaborate your answer?

I do have my dedicated server and my domain and have WP installed there...I DO NOT see any single problem with WordPress...

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved