Question on "Forum Link"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HUMMER
    Senior Member
    • Sep 2005
    • 323

    Question on "Forum Link"

    When your in Admincp >>Forums and Moderators>> Add new forum

    Forum Link (Entering a URL here will cause anyone clicking the forum link to be redirected to that URL)



    You have an option to put a link..my question is does google recognize this as a real link with weight so that PR will be transfered? I notice when I hover my mouse over the link it shows shows the existing website that I'm on and not the link to the website.
    \
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    I don't know how Google handles redirects. I imagine it is smart and recognizes the true destination and indexes accordingly.

    Comment

    • rady
      Member
      • Apr 2006
      • 98
      • 3.6.x

      #3
      google and other bots don't recognize redirects, so the url must be a direct one

      Comment

      • HUMMER
        Senior Member
        • Sep 2005
        • 323

        #4
        Is there a way to make a direct link and have it show up in the same place as the "Forum Link"?
        \

        Comment

        • Jake Bunce
          Senior Member
          • Dec 2000
          • 46598
          • 3.6.x

          #5
          Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level2_post

          Add the red code:

          Code:
          <tr align="center">
          	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
          	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
          		<div>
          			<a href="[color=red]<if condition="$forum[link]">$forum[link]<else />[/color]forumdisplay.php?$session[sessionurl]f=$forum[forumid][color=red]</if>[/color]"><strong>$forum[title]</strong></a>
          			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
          		</div>
          Make a similar change to the forumhome_forumbit_level1_post template.

          Comment

          • HUMMER
            Senior Member
            • Sep 2005
            • 323

            #6
            After inputing the code I get this message:


            The following error occurred when attempting to evaluate this template:

            Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/appraise/public_html/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 6

            This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
            \

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              Did you add the ending </if>? Scroll right.

              Comment

              • HUMMER
                Senior Member
                • Sep 2005
                • 323

                #8
                Yes that is what was missing... Thank you!
                \

                Comment

                Loading...
                Working...