YAFLogo

ora
  • ora
  • 78.8% (Friendly)
  • YAF Forumling Topic Starter YAF Version: v4 beta
3 months 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.8% (Friendly)
  • YAF Forumling Topic Starter YAF Version: v4 beta
3 months 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: 4.0.0 rc 2
3 months 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

Originally Posted by: ora 

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

Users browsing this topic