Announcement

Collapse
No announcement yet.

How is the redirection url calculated?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How is the redirection url calculated?

    Hi,

    We have a problem with out site. When the user logs in, the redirection url is calculated as the servers fully qualified domain name, rather than the forums url as defined in mysql.

    E.g., the server is named forum.example.local. The server url is defined as forum.corp.com. When the user logs in, he is redirected to http://forum.example.local/index.php, rather then http://forum.corp.com/index.php

    I've reviewed the templates, and it seems to use the global variable $url when calling the differents redirection methods.

    Suggestions?

  • #2
    What do you have set in vboptions > site name/url > forum url ?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Hi,

      It is set to http://forum.corp.com/

      Comment


      • #4
        Did you see this line there?
        Note: do not add a trailing slash. ('/')
        Try removing the trailing slash from your url and see if you are still having this issue.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment


        • #5
          Hi, we removed the trailing slash with no luck.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X