Announcement

Collapse
No announcement yet.

Invalid Redirect URL

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

  • Invalid Redirect URL

    Today I have notice that when I try to login in my vBulletin forum through domain.com I am getting this VBulletin message after login:

    Invalid Redirect URL (http://domain.com/)

    When I login through www.domain.com is ok.

    Is there any way to fix this?

    Or is better to add a line on .htaccess to redirect non-www to www?

    Thanks!

  • #2
    Fixed by adding this to .htaccess:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^website.com [NC]
    RewriteRule ^(.*)$ http://www.website.com/$1 [R=301,L]

    Comment

    Related Topics

    Collapse

    Working...
    X