Welcome to WebmasterWorld Guest from 22.214.171.124
I avoid links like:
somepage.html - without a beginning /
../../somepage.html - relative links
/somefolder/index.html - omit the index filename!
As i have seen that i had use "./filename.html" all over the site and whenever i check backlinks in google it doesnot show internal pages.
Please anyone can solve my query.
Hmmm, is the single dot a valid relative reference? I don't think it is. I've only seen "../" and then root relative references like /filename.html or just filename.html.
(e.g., ".." means one level up in the hierarchy defined by the path)
P.S. This may be of importance in your situation, not sure...
When present, the BASE element must appear in the HEAD section of an HTML document, before any element that refers to an external source. The path information specified by the BASE element only affects URIs in the document where the element appears.
I know it can be easy to overlook the fact that the base element must come before any other external reference.
Hmmm, is the single dot a valid relative reference? I don't think it is.
A little more research into this shows me that the single dot is valid syntax but may not be recommended due to old browsers and some indexing entities that don't understand this specific syntax. I can't recall ever seeing a single dot used in relative URIs. My apologies for the above misinformation. Goes to show I still have a lot to learn! ;)
The path segments "." and "..", also known as dot-segments, are defined for relative reference within the path name hierarchy. They are intended for use at the beginning of a relative-path reference to indicate relative position within the hierarchical tree of names.
./filename.html is the same as filename.html.
I've just found that using absolute and/or root relative URIs is so much easier in the long run for me. Many will state that is not the case for them and I do believe it will all be dependent on your requirements and the type of editing environment you are used to working in.
So if i am using "./filename.html" then it can be resolved as "/filename.html", but did anyone know that will google bot will able to resolve these paths for backlink.
No. The ./filename.html is in the current directory and /filename.html is in the root folder of the site.
I try to begin all links with a / and therefore count through an absolute strcture beginning at the root folder. I very occasionally may refer to other.page.html which is a file in the same folder as where I am now.
I never begin with a . or .. on the URL.
And yes ramchandra one more thing, how did u use the absolute path. I mean did u entered full path to ur links including http: like this "http://www.yourdomain.com/filename.html"
If ramchandra this works for you then please let me know ,so that i too will change all my relative path links to absolute. As my Site is Already having PR-7 and thousands of my internal pages are linked to home page but when i look "backward links" i can see only 81 Links only.
Not all but most of my pages have been indexed.
> how did u use the absolute path. I mean did u entered full path to ur links including http: like this "http://www.yourdomain.com/filename.html"
BTW How you are looking for "backward links"?
I think i must clear that my pages are already indexed i can see in the SERPs in google if i use the "PageTile" and my "website name" like this "PageTitle DomainName.com".
My problem is with the Backlinking not Indexing. So if by using "Absolute URL" my backlink starts working then i will be the happiest person in this world to do so.
>BTW How you are looking for "backward links"?
I am using Link:www.mydomain.com to view the backlinks.
So ramachandra do reply my these queries.
I am not sure how long it takes and also I will not assure you that by absolute linking your site pages gets indexed.
If you have good internal linking then you donít have to worry just wait for robot to deep crawl your website.
I mean for everything from home page to categories page to product page, all over the place i am planning to use full absolute url. For example"
I know one adverse effect is that Size of my page will increase by few Kbs . but other then size what else will be the effect. AS i had read somewhere that everytime new session will be started if i use "http://".
So if someone can tell me that other than pageSize what all things will be affected if i use absolute URL.