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

Author Topic: SEO - Links coded on a page using a foreach loop VS links written manually onto  (Read 760 times)

Offline KL76Topic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 3
  • Karma: 0
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.


 

Related Topics