How To Make All Links Nofollow in PHPBB?

If you don't find any appropriate forum thread to post your question, then post on this thread by creating a new topic.
Atish Ranjan
Administrator
Posts: 288
Joined: Sat Jul 23, 2016 12:12 pm
Location: India
Contact:

How To Make All Links Nofollow in PHPBB?

Postby Atish Ranjan » Fri Jul 29, 2016 7:10 pm

Hello Friends,

I have posted about how to make specific links nofollow in PHPBB posts which support BBCode which you can read here => viewtopic.php?f=10&t=26

But, what if you want to make all the links of your PHPBB powered forum Nofollow?

This idea won't be good as you will have to nofollow each and every link manually. So what to do in that case?

Here is a simple solution which I have tried, and it worked like charm.

Just access your Forum's files on the server via Cpanel or using Filezilla or any other FTP clients.

Go to => styles/prosilver/template

And, look for bbcode.html

Open the this html file, and find this line:

Code: Select all

<!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a><!-- END url -->


And, add rel="nofollow" there as:

Code: Select all

<!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink" rel="nofollow">{DESCRIPTION}</a><!-- END url -->


Save the changes!

Now, when you will check the links on your forum, all will be gone nofollow. :D

Enjoy!
Atish Ranjan
Administrator

Return to “Miscellaneous”

Who is online

Users browsing this forum: No registered users and 1 guest