YAFLogo

ora
  • ora
  • 78.2% (Friendly)
  • YAF Forumling Topic Starter YAF Version: v4 beta
a month ago
I've tagged this specifically as V4 because I'd like to get the urls that this forum has. If it's possible, I'd like to have the title in the URL instead of the id in the query string.
Sponsor

ora
  • ora
  • 78.2% (Friendly)
  • YAF Forumling Topic Starter YAF Version: v4 beta
a month ago
As an example: This is /forum/Posts/t22131--V4--SEO-friendly-permalinks, but my V4 post is at /Forums/Posts?m=2&p=0
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
a month ago
Originally Posted by: ora 

As an example: This is /forum/Posts/t22131--V4--SEO-friendly-permalinks, but my V4 post is at /Forums/Posts?m=2&p=0



Those are two different links the first one is a topic link the second one is a post link. Making links friendly is more complicated in .net core because there a routes and query strings.

I changed the code the topic link should now look like this.

/forum/Posts/22131/V4--SEO-friendly-permalinks
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button