• Resolved Anat

    (@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.

    example:
    {I am using the default wordpress theme}
    My wordpress address: http://www.anat.moved.in/blog
    My blog address: http://www.anat.moved.in/
    1) goto http://www.anat.moved.in
    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 “http://www.anat.moved.in/blog&#8221;
    6) but the link should have been for “http://www.anat.moved.in&#8221; 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)
  • 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.

    Thread Starter Anat

    (@anat)

    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.

    Thread Starter Anat

    (@anat)

    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

    Thread Starter Anat

    (@anat)

    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 1.5.1.2’ is closed to new replies.