Is there a way to have internal links display the topic title?

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2562
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Is there a way to have internal links display the topic title?

Post by P_I »

Asking for a friend member on a board elsewhere.

Currently, when someone links another topic, it is displayed as "viewtopic.php?t=xxxxx". Can phpBB automatically display the topic's title instead? For example a post containing

Code: Select all

https://www.phpbb.com/community/viewtopic.php?t=2534156
displays as viewtopic.php?t=2534156

The member is hopeful that posting

Code: Select all

https://www.phpbb.com/community/viewtopic.php?t=2534156
would display as ReadMe Before Posting
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
rxu
Extensions Development Team
Posts: 4018
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Is there a way to have internal links display the topic title?

Post by rxu »

There was Convert Local Url To Link Name extension in development for this purpose, but it's abandoned for a long time already. There's a topic in Abandoned extensions forum here on .com.
SQLnovice
Registered User
Posts: 170
Joined: Thu Oct 10, 2019 5:03 am

Re: Is there a way to have internal links display the topic title?

Post by SQLnovice »

Have your friend consider this perhaps?

Magic OGP (extension) does away with the legacy old URL, converting it into a live-link...with the title and with the help of SEO Metadata. The latter dishes up to 160 characters of such URL linked post.

You simply drop the URL into the post as text and leave it to Magic OGP and SEO Metadata to work their magic. Thus, if you don't want them to work their magic, just leave the URLs enclosed in the URL tags. :idea:

But wait, it gets better! :lol:

If there's an attached or linked image greater than 200 x 200 pixels in the post being linked by URL, SEO Metadata can add it to your post's background code as a Meta OG:Image link as the page is being viewed, which Magic OGP will identify on the fly and add to the live link it produces! So instead of a boring old URL or a truncated URL in a topic post with text, like we've all seen on PHPBB for 20 years, these two extensions can completely modernize the look of an entire forum, turning those links into what you might consider to be a social media style graphical box...
  • with an image
  • the topic's title
  • and up to some text characters from that post
...which is also now a clickable URL link to those posts. :idea:

These two will also do this within posts for external URLs as well for sites that support Open Graph Protocol, which most modern Web sites do...which after installation, your site will as well for links posted externally. :lol:

But wait, it gets better! ;)

Even if there isn't an image in the post being generated by Magic OGP, SEO Metadata can use a default image that you set. So no matter what the post URL has in it, the resulting Magic OGP clickable link will contain an image, like your forum's branded image, for instance!

This all falls within the rich content objective being pushed by Google, where their crawlers are after 'rich content.' The more images and interesting text that goes with it, the better the chance of Google adding it to search results.

SEO Metadata's code writer also authored Image Alternate Text, which is the trifecta for your site's SEO. It helps crawlers identify images by their ALT="" descriptions. The old way was to name image file names with what the pictures were of and leave it to the crawlers to figure out. That's not always convenient however, when post authors add images like 782240.jpg for pictures of a Model T automobile. Google will not know that image 782240.jpg is of that automobile. That's where the extension gives post authors & moderators the ability to alter IMG links with IMG alt="place image tags here." With the alt text spelling out that the image is a Model T automobile or IMG alt="Model T automobile," then every topic will get re-crawled and the images updated and categorized to your site's searchable images...usually starting within 24 hours.

These three extensions, just make your forum that much more attractive for prospective members who see search content in online search results and for your users, who you can encourage to add more images to their topics/posts.

If you administer your domain's Google Search Console, upon installing these three extensions, you should see an immediate spike in their crawler traffic within 48 hours, because the page content your site will be producing is like crawler crack cocaine to them. :mrgreen:

But wait, it gets better!!!

If you add Google's Search box to your forum, you'll see similar Meta OG:Image images shown with linked topics in its search results too! You can leave the default forum search box in place. We do. Thus, you'll have social media type URL links in your topics, which Google will have similar content in its search results for both internal and external search results and your site will look like it has been modernized almost overnight. It would seem to make the forum easier to use and more attractive to current and prospective members. :?:

One minor mention, however, just so you don't think this will be a free lunch. In your forum's historic URL topic content, each topic/post must be edited by at least one character and re-submitted for these extensions to work their magic; they only do it 'automatically' moving forward after installation. All topic/post content prior to their installation will need user/moderator editing, which reprocesses the content in this new way. Secondly, it's best if your forum PHPBB version is at least 3.3.11 and stable. There is site overhead from running the first three to their full capabilities.
deninho32
Registered User
Posts: 247
Joined: Tue May 21, 2019 8:57 am

Re: Is there a way to have internal links display the topic title?

Post by deninho32 »

I use this extension, works really well. https://www.phpbb.com/customise/db/exte ... rimelinks/
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2562
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Is there a way to have internal links display the topic title?

Post by P_I »

Thanks. I will pass along that suggestion.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
Gumboots
Registered User
Posts: 821
Joined: Fri Oct 11, 2019 1:59 am

Re: Is there a way to have internal links display the topic title?

Post by Gumboots »

That "Prime Links" extension does not appear to enable displaying the topic title. It lists other things it will do, but it doesn't list that.

rxu wrote: Fri Jan 17, 2025 2:35 am There was Convert Local Url To Link Name extension in development for this purpose, but it's abandoned for a long time already. There's a topic in Abandoned extensions forum here on .com.
This topic: viewtopic.php?t=2277841
The code base there may be useful for someone. TBH it is a good idea.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: Is there a way to have internal links display the topic title?

Post by Steve »

I'm, sure RmcGirr83 has an extension that will cover this somewhere on here.
[ext] all links should really go with Spotify, for example : open:this_scary_url
open:topic_post_title_curl
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
deninho32
Registered User
Posts: 247
Joined: Tue May 21, 2019 8:57 am

Re: Is there a way to have internal links display the topic title?

Post by deninho32 »

@Gumboots

Prime Links works as intended and shows title instead of the URL.
IMG_20250119_095716.jpg
You do not have the required permissions to view the files attached to this post.
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
Gumboots
Registered User
Posts: 821
Joined: Fri Oct 11, 2019 1:59 am

Re: Is there a way to have internal links display the topic title?

Post by Gumboots »

Fair enough. It wasn't listed in the only screenshot available on the extension's details page.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
auntiebiotics
Registered User
Posts: 1
Joined: Thu Jan 30, 2025 6:19 pm

Re: Is there a way to have internal links display the topic title?

Post by auntiebiotics »

SQLnovice !
I think you need to change your name to at least SQLintermediate

I have bookmarked your post and will be going through the steps.
My site is only a couple of weeks old and dont have many posts but your suggestions for a boost in Google sound brilliant.
Thankyou

Return to “Extension Requests”