PDA

View Full Version : Invalid Redirect URL


Divvy
01-28-2016, 03:07 PM
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!

Dave
01-28-2016, 03:09 PM
Check your domain settings in the AdminCP > Settings > Options > "Site Name / URL / Contact Details".

WEBDosser
01-28-2016, 03:10 PM
.htaccess would work

Divvy
01-28-2016, 03:22 PM
Fixed by adding this to .htaccess:

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

Thank you guys!