Skip to:
Content
Pages
Categories
Search
Top
Bottom

Permalinks Error


  • sureshdrim
    Participant

    @sureshdrim

    Hello All,

    I have activated nicer permalinks for my forum,its working nice for topics and forums pages.But it has some problem with menus like home,videos added in header or footer.

    Example:

    If I click Videos button on header from home Page it has URL http://www.xyz.com/videos.php (Valid URL)

    but when same button clicked from topic page it has URL http://www.xyz.com/topic/videos.php (Wrong URL)

    I am unable to understand why the same button on header is navigating to two different URL when clicked from different pages though it has the same HREF value= “videos.php”

    Please help !

Viewing 2 replies - 1 through 2 (of 2 total)

  • zaerl
    Participant

    @zaerl

    This is the way relative URLs function. You must modify your template and put on the absolute URL.

    <a href="<?php bb_uri('/videos.php'); ?>">video</a>


    sureshdrim
    Participant

    @sureshdrim

    Thanks Zaerl,

    It has solved my problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar