Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 08, 2012, 06:19:41 PM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ Website Marketing
| |-+ Search Engines and Directories
| | |-+ Search Engine News and Articles (Moderator: Andy)
| | | |-+ Linking strategy - absolute vs relative
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: Linking strategy - absolute vs relative  (Read 6517 times)
My_Donna
Limited Member

Posts: 2



« on: March 15, 2007, 03:23:43 PM »

Hi all,

Do search engines know the difference between absolute and relative links?

From what I understand, inbound links have the potential to increase your search engine ranking. What about internal (relative) links within your own website, for example Wikipedia has a gazillion relative links between their articles. Does this help Wikipedia get ranked higher?


Thanks in advance!
Report to moderator   Logged

donecweb
Administrator
Veteran
*****
Posts: 1 302


DonecWeb


« Reply #1 on: March 15, 2007, 08:21:58 PM »

Search engines do know the difference between absolute and relative links but the amount of credit they give to internal links is pretty low. Internal links both relative and absolute do help but not as much as inbound links (from other sites to your site). Also the higher number of links you have the less each one counts.
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #2 on: March 16, 2007, 02:48:51 AM »

just wish to echo what Don have said above. From what I know all links are taken into account when calculated popularity and relevance but inbound links have much greater impact than inbound ones.
Of course it's good idea to have each page on your site accessed from the rest as it would make for people and spiders easily access your pages, but remember to keep it usable for visitors as any site is build for them isn't it? Roll Eyes

Regarding wikipedia I think that it could have adjusted ranking or just have links from some very big sites...
Report to moderator   Logged

Denis
Gracia
Limited Member

Posts: 5


« Reply #3 on: May 28, 2007, 09:59:50 AM »

Let’s begin with the basics first, we need to understand what links are. There are two types of links that are into use, absolute and relative links. An Absolute link is used to define specific locations of s webpage and a relative link is used for specifying a location of a webpage within a major directory.

Example of an absolute link: < a xhref="http://www.eukhost.com/support/" mce_href="http://www.eukhost.com/support/" >Webhosting Support Information< /a>

Example of an relative link: < a xhref="../support" mce_href="../support" >Webhosting Support Information< /a>

*** Advisable to use absolute link
Report to moderator   Logged

donecweb
Administrator
Veteran
*****
Posts: 1 302


DonecWeb


« Reply #4 on: May 28, 2007, 07:30:05 PM »

*** Advisable to use absolute link
I can't agree that using absolute links is advisable for all sites. The reason for my statement is that some host may not have every thing set up just right and if you use PHP and use absolute links it can be seen as a vulnerability by the hosting company making absolute links with them as not advisable. Also if you have a site that you move from host to host then absolute links are more trouble to move.
Report to moderator   Logged

DonEc Web

Links and accurate information provide the best answer, while garbage in provides garbage out.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #5 on: May 28, 2007, 08:16:44 PM »

good explanation, Gracia!
Generally I agree with Don, as for certain types of sites and for certain situations different type of links should be used.

Quote
Also if you have a site that you move from host to host then absolute links are more trouble to move.
in some case relative links may not solve situations good as well IMHO and even drive you int trouble if you're using cross references from one file to another(I'm talking about PHP code).

Personally when I'm writing some site using PHP I create file e.g. "settings.php" which look like this:
Code: (settings.php)
<?php
//Change settings according to your server setup
//IMPORTANT:don't use trailing slashes at the end of URLs and paths
$site_path="/home/domainexample/public_html";
$site_url="http://www.domainexample.net";

?>

where www.domainexample.net is top level of my site, and to move my script to other domain e.g. www.yoursiteurl.net
I just need to edit file to look like this:
Code: (settings.php)
<?php
//Change settings according to your server setup
//IMPORTANT:don't use trailing slashes at the end of URLs and paths
$site_path="/home/yoursiteurl/public_html";
$site_url="http://www.yoursiteurl.net";

?>

All my files include settings.php via include function and all hrefs in site contain links like this:

Code:
<?php
include_once("settings.php");

echo 
'< a href="'.$site_url.'index.php">Home Page</a>';

?>

This way by changing settings in one place you'll be sure that all links would be changed for new locations.
Report to moderator   Logged

Denis
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ Website Marketing
| |-+ Search Engines and Directories
| | |-+ Search Engine News and Articles (Moderator: Andy)
| | | |-+ Linking strategy - absolute vs relative

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!