Email link return wrong domain url

Technical Support
  • #1

    Everything works well on the forum except the links in the e-mail.
    I use mailgun, the mails work as it should but the links return as url:
    email.mail.domain / uuid
    whereas they should be:
    domain / forum / uuid?

    My config.json :

    	"": {
    		"origins": "http://mydomain/forum/:* http://mydomain:*"
        "url": "https://mydomain/forum/",
        "secret": "XX",
        "database": "redis",
        "redis": {
            "host": "",
            "port": "6379",
            "password": "XX",
            "database": "XX"

    Thanks a lot for helping

  • Global Moderator Plugin & Theme Dev

    Mail links should use whatever URL you have configured in config.json

    Are you sure the links you're looking at aren't redirect tracking links from your email provider?

  • #3

    I just reinstalled the forum and everything is working fine.
    The links have the right url, I did not have a 403 error even without modifying config.json with origins.
    While at the installation I did not change anything.
    But hey, everything works fine, it's the main lol.

    Thanks, i love to use NodeBB !

    (I just put the url of the site when setting up the forum and not by changing config.json later as I had done the first, it may be from there?)

Suggested Topics

| | | |