#1
  1. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Dec 2014
    Posts
    4
    Rep Power
    0

    SEO - Links coded on a page using a foreach loop VS links written manually onto a pag


    Links on a website are a very important aspect of the an SEO strategy. Is there any SEO disadvantage of displaying links using a PHP foreach loop, like this:

    $land_for_sale = array('<a href="url.com/texas_land">Land in Texas</a>', '<a href="url.com/colorado_land">Land in Colorado</a>', '<a href=url.com/california_land">Land in California</a>');

    foreach ($land_for_sale as $links) {
    echo $links . "<br>";
    }


    as opposed to manually coding them onto a page the standard way:
    <a href="url.com/texas_land">Land in Texas</a>
    <a href="url.com/colorado_land">Land in Colorado</a>
    <a href="url.com/california_land">Land in California</a>

    This may sound like an odd question, but using the foreach loop method would make site management for a client of mine easier
  2. #2
  3. rod@missionop.com
    SEO Chat Mastermind (5000+ posts)

    Join Date
    Mar 2003
    Location
    Palm Beach Gardens FL 33410
    Posts
    16,979
    Rep Power
    0
    Not a programmer so don't have any direct experience with your coded string but so long as a bot does not need to follow an action like "on click" you should be OK.
    Last edited by fathom; Jun 10th, 2015 at 08:01 AM.

Similar Threads

  1. Replies: 6
    Last Post: Oct 3rd, 2010, 03:59 AM
  2. Sitewide links linking to your page -- do they count as multiple links?
    By DinoMartino in forum Search Engine Optimization
    Replies: 3
    Last Post: Feb 13th, 2008, 03:01 AM
  3. Trade links : this page have 9000 backwards links
    By Caiapfas in forum Link Development
    Replies: 0
    Last Post: Oct 26th, 2004, 12:33 PM
  4. 3 PR 5 page links for 2 financial/real estate themed links
    By randfish in forum Link Development
    Replies: 1
    Last Post: Aug 12th, 2004, 12:25 PM
  5. backward links need to loop?
    By relaxzoolander in forum Search Engine Optimization
    Replies: 2
    Last Post: Sep 23rd, 2003, 04:30 PM

IMN logo majestic logo threadwatch logo seochat tools logo