View Full Version : Invalid Redirect URL (http://website.com/).
dr nick
08-07-2014, 08:17 AM
Invalid Redirect URL (http://website.com/)
One user gets this problem when he tryes to log in, any iadeas?
Runs 3.8.7
Zachery
08-07-2014, 03:51 PM
Because he went to the forum from a url that is not entered into the AdminCP.
For example, vbulletin.org and www.vbulletin.org are two different domains as far as vBulletin and your browser is concerned.
You need to make sure that you only allow visitors to access the correct domain, and redirect users who access it from incorrect domains.
ForceHSS
08-07-2014, 04:54 PM
You can use an htaccess file so users can use the correct URL and if they try to use the wrong one it will direct them to the one you want
Something like this
RewriteEngine on
RewriteCond %{HTTP_HOST} ^website.com [NC]
RewriteRule ^(.*)$ http://www.website.com/$1 [R=301,L]
aston2171
09-03-2014, 03:59 AM
Sorry if this suggestion has been made before, but can't vBulletin simply consider website.com and www.website.com the same domain?
No other web software I've ever used has come across this problem. It seems like it's how vBulletin chooses its implementation. I'm sure there are reasons for it, but surely there is a better way to handle this, somehow, than requiring a .htaccess rewrite rule to be manually added to the website.
ShawneyJ
09-03-2014, 09:35 AM
i have been using this mod for that reason: https://vborg.vbsupport.ru/showthread.php?t=222898
i use it also on client forums. no complaints yet. upload it and thats it.
Paul M
09-03-2014, 10:25 AM
Sorry if this suggestion has been made before, but can't vBulletin simply consider website.com and www.website.com the same domain?
Because they are not the same domain.
... surely there is a better way to handle this, somehow, than requiring a .htaccess rewrite rule to be manually added to the website.
You dont have to do that, that is simply a suggestion that many people like to implement.
You can simply add the domain(s) to the Redirect Domain Whitelist in vB Options.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.