Support » Requests and Feedback » BUG found

  • Resolved Anat


    If the URI for the wordpress address and URI for the blog address are different then ‘<?php echo get_settings(‘siteurl’); ?>’ tag produces a link for the wordpress address and not for the blog address.

    {I am using the default wordpress theme}
    My wordpress address:
    My blog address:
    1) goto
    2) from the right sidebar, select any archive month (say january 2005)
    3) the archives for that month are displayed
    4) now look at the right sidebar again and you shall see “You are currently browsing the meri lekhni weblog archives for January, 2005.” {here “meri lekhni” is the name of my blog}
    5) the hyperlink, when u click on “meri lekhni”, is for “”
    6) but the link should have been for “” because this the blog address.
    The wordpress directory URI is not the blog address so the “siteurl” php tag should not link to the wordpress URI.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)


    Support Maven

    Did you update your permalinks ?

    I would suggest this is a problem on your site given the number of people that use this install method.

    yep i did update my permalinks, but does updating permalinks really affect the way ‘<?php echo get_settings(‘siteurl’); ?>’ tag behaves?

    I assume that ‘<?php echo get_settings(‘siteurl’); ?>’ tag just picks up the site url from the database and throws it on the webpage.

    the ‘<?php echo get_settings(‘siteurl’); ?>’ tag should be picking up the blog address from the database and not the wordpress location.

    okie, new ticket submitted in bug tracker…….

    This is not a bug at all. You are using the wrong code. You should be using <?php echo get_settings(‘home”); ?> instead of <?php echo get_settings(‘siteurl’); ?>.

    Cron – Symmetry In My Mind

    okie that means that its a bug in the default wordpress theme…..
    the theme should have used <?php echo get_settings(‘home”); ?>

    then its a bug anyway. i shall edit the bug track and change the category to “template”

    Thanks Cron!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BUG found’ is closed to new replies.