rockafeller Posted February 15, 2014 Share Posted February 15, 2014 hallo i would like to know how can i make every live link in my forum to redirect to another site,specifiaclly to google so only the only links to be actually there to be the ones in the code tags anyone can help me out? Link to comment Share on other sites More sharing options...
0 Lock Down Posted February 15, 2014 Share Posted February 15, 2014 (edited) ok not quite sure if this is what you want but use ftp/file manger and edit file adminsourcesclassesbbcodecustomdefaults.php find //----------------------------------------- // Adding rel='nofollow'? //----------------------------------------- $rels = array(); $rel = ''; $_title = ''; /* Fetch actual host for better matching */ $data = @parse_url( $option ); if ( $this->settings['posts_add_nofollow'] ) { if ( ! stristr( $data['host'], $_SERVER['HTTP_HOST'] ) ) { $rels[] = "nofollow"; } } if ( $this->settings['links_external'] ) { if ( ! stristr( $data['host'], $_SERVER['HTTP_HOST'] ) ) { /* Look a little closer */ $rels[] = "external"; $_title = $this->lang->words['bbc_external_link']; } } if ( count($rels) ) { $rel = " rel='" . implode( ' ', $rels ) . "'"; } return "<a href='{$option}' class='bbc_url' title='{$_title}'{$rel}>{$content}</a>"; change the {$option} in the last lien to the http that you want it to go . Edited February 15, 2014 by Lock Down 1 Link to comment Share on other sites More sharing options...
0 -Cookie- Posted February 15, 2014 Share Posted February 15, 2014 With me i went in my domain settings and changed the redirect URL there, so every time i went to load any page on my old site it redirected me to the newly directed site Link to comment Share on other sites More sharing options...
0 Lock Down Posted February 15, 2014 Share Posted February 15, 2014 I am not sure if he meant his links or the links entered in a url tag. Link to comment Share on other sites More sharing options...
0 -Cookie- Posted February 15, 2014 Share Posted February 15, 2014 I am not sure if he meant his links or the links entered in a url tag. Oh my bad, Link to comment Share on other sites More sharing options...
0 rockafeller Posted February 16, 2014 Author Share Posted February 16, 2014 yeap thats what i wanted,thank you lock down Link to comment Share on other sites More sharing options...
0 Lock Down Posted February 16, 2014 Share Posted February 16, 2014 You are welcome. Link to comment Share on other sites More sharing options...
0 Kingy Posted February 20, 2014 Share Posted February 20, 2014 The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
rockafeller
hallo
i would like to know how can i make every live link in my forum to redirect to another site,specifiaclly to google
so only the only links to be actually there to be the ones in the code tags
anyone can help me out?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts