thagemoser
  • Posts: 8
  • Joined: 08/12/2008

Hello all,

When "watching" a Forum/Topic and you receive an email with a link in it to that Topic or Forum, how is that URL built? In other words, where is it pulling the Domain name from? The problem I am running into is that the domain is there without the "www". Normally, this is not an issue but for some reason at my work location the URL will not work without the www. How can I make sure it always adds the www?

I look forward to hearing your replies.

Thank you,
Todd
Sponsor
Mek
  • Posts: 892
  • Joined: 12/07/2005
URLBuilder.cs if not using url rewriting; URLRewriter.cs if using rewriting. Think is in the UTILs project. But I'm going from memory for both of these.

UserPostedImage 

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )
thagemoser
  • Posts: 8
  • Joined: 08/12/2008
I do not have those.
I see a file called UrlRewriter.config with a couple of lines like,

<rewrite url="^~/(.+)?yaf_postsm([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />

I am using version 1.9.1.8 on Go Daddy.

Where does it pull the domain name from?
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    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

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved