Jump to content

How Do You Change An Existing Link?


moonman

Recommended Posts

Hi, on a MyBB forum I have a link on a navigation bar I want to change but I'm not sure how. When I go into the admin editor it's coded as:

<ul id="nav">   <li><a href="{$mybb->settings['bburl']}/index.php" class="current">Home</a></li>

If I view the page's source it's coded as:

  <ul id="nav">   <li><a href="http://www.mysite.com/forum/index.php" class="current">Home</a></li>

Maybe I'm in the wrong place on the MyBB admin editor or something. What I want to do is make the link be just mysite.com, rather my forum.

Link to comment
Share on other sites

Goes around admin's editor till u find settings part, edit 'bburl ' property with new value 'http://www.mysite.com' Or directly, just replace {$mybb->settings['bburl']}/index.php with your link (with this option, u may replace it in many files) ^_^

Link to comment
Share on other sites

I don't know anything about myBB forums but i am pretty sure you can change the value of

$mybb->settings['bburl']

from a settings page, or a config file. Don't just change it in the file you are interested in, because the rest of the links will be broken. (you will also have to move your files to the right directory i believe)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...