• Resolved aliceralph

    (@aliceralph)


    Hi,

    I have just launched a new website this morning (woo!)

    One quick question – I currently have links hard-coded into the template, for example:

    <a href="index.php?page_id=18">
    <img src="<?php bloginfo('template_url'); ?>/images/mirrors.jpg" alt="Mirrors" height="200" width="200"/>
    </a>

    This is built into a custom Page Template.

    I have since set my Permalinks to SEF but the custom hard-coded links (above) are obviously not being rewritten (they point to the right pages but the initial link itself is not the same). Obviously for SEO purposes I want these to rewrite as well.

    Is the easiest way of doing this something like:

    <a href="<?php echo get_settings('home'); ?>/mirrors/">
    <img src="<?php bloginfo('template_url'); ?>/images/mirrors.jpg" alt="Mirrors" height="200" width="200"/>
    </a>

    ?? Anybody know of a better way?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SEO-friendly internal links?’ is closed to new replies.