Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Oct 2013, 01:21
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
https redirect login problem

In the back end I have this:

My forum url is : https://www.XXXXXXXXXXXXXXXXX

Home Page URL is: https://www.XXXXXXXXXXXx

Both are exact.

However, I noticed when I just put www.XXXXXXXXXXXXX in the browser it goes to my index page like normal. However, when I tried to login, I would get a redirect error.

I changed the forum url to: http://www.XXXXXXXXXXXXXXXXXXX

and it seems to work now, as far as logging in. Was this correct to do, should I do something else? Thanks!
Reply With Quote
  #2  
Old 15 Oct 2013, 01:27
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Perhaps this may help.

ACP --> Settings --> Options --> Site Name / URL / Contact Details --> Redirect Domain Whitelist --> enter erroring URL (no / at the end).
Reply With Quote
  #3  
Old 15 Oct 2013, 01:29
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Have you added https redirects into .htaccess yet?

You'll probably want these lines:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace yoursite with your website URL. Switch your forum URLs back to https://www.

Try logging in now

--------------- Added 15 Oct 2013 at 01:30 ---------------

Edit, ozzy's answer is the right one. Oops!!
Reply With Quote
  #4  
Old 15 Oct 2013, 01:32
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yours may work also, I just am not that familiar with htaccess rewrites.
Reply With Quote
  #5  
Old 15 Oct 2013, 01:35
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
Originally Posted by findingpeace View Post
Have you added https redirects into .htaccess yet?

You'll probably want these lines:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace yoursite with your website URL. Switch your forum URLs back to https://www.

Try logging in now

--------------- Added 15 Oct 2013 at 01:30 ---------------

Edit, ozzy's answer is the right one. Oops!!

Ok, I changed my htaccess should I change it back - take off what you said? Or leave it? Thanks. cause now I'm getting this:

https://www.XXXXXXXXXXXXXXXX.com/default.asp?r=

--------------- Added 15 Oct 2013 at 01:38 ---------------

Well, I'm not sure what to put, because this is the error URL, which has a "/" at the end...

Invalid Redirect URL (https://www.XXXXXXXXX.com/)

--------------- Added 15 Oct 2013 at 01:39 ---------------

Still getting the redirect error, even after doing what Ozzy said...
Reply With Quote
  #6  
Old 15 Oct 2013, 01:43
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Ok, try adding the / at the end, that may work.
Reply With Quote
  #7  
Old 15 Oct 2013, 01:47
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
Nope, didnt work...

Weird if the forum url is http and the home page url is https I have no issues. Should it be that way, what exactly is the difference and should I be concerned about changing something else to get it to work? Thanks.
Reply With Quote
  #8  
Old 15 Oct 2013, 01:48
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
If you want to use HTTPS, then you should consistently use HTTPS (in the forum URL and homepage URL - same with www). This will just take some tweaking, but we'll get there Can you copy the exact redirect error you're getting?
Reply With Quote
  #9  
Old 15 Oct 2013, 01:49
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Ok wait for someone more familiar with this type of thing then, sorry I could not be of more help.
Reply With Quote
  #10  
Old 15 Oct 2013, 01:49
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
Ok, I tried whynopadlock.com and got this error for the login page:

ERROR: The secure URL you submitted was redirected to:
http://www.XXXXXXX.com/forum.php

Please try pasting the secure URL you originally submitted into a new web browser window to make sure it stays on the secure page. Your secure page may require there to be items in a shopping cart, or for the user to be logged in. It may not be possible to test this URL.

Secure URL submitted: https://www.XXXXXXXXXXXX.com/login.php?do=login
Reply With Quote
  #11  
Old 15 Oct 2013, 01:52
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
On Whynopadlock, you need to run it without the querystring - just https://www.yoursite.com/login.php
Reply With Quote
  #12  
Old 15 Oct 2013, 01:54
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
Ok, what I did is left the home url and forum url back to https[sitename]. I changed the white list to http[sitename] and it seems to work...
Reply With Quote
  #13  
Old 15 Oct 2013, 01:55
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Awesome! Now if you type in http://www.yoursite.com - does it automatically go to HTTPS for you? What if you type in http://yoursite.com (no www)
Reply With Quote
  #14  
Old 15 Oct 2013, 02:00
pityocamptes's Avatar
pityocamptes pityocamptes is offline
 
Join Date: May 2010
If I type in http I get this:

http://www.XXXXXXXXXXXXXX.com/


if I do no www I get this:

http://XXXXXXX.com/


So what do I do now????? Thanks

--------------- Added 15 Oct 2013 at 02:00 ---------------

SHould I try your redirect again?

--------------- Added 15 Oct 2013 at 02:02 ---------------

Ok, tried your htaccess again and it threw an internal error when logging off... had to remove it...
Reply With Quote
  #15  
Old 15 Oct 2013, 02:05
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Maybe if you give us your real url we can see it for or selfs
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Login Redirect - Redirect your users to their User CP or Profile when logging on sockwater vBulletin 3.7 Add-ons 29 19 Jun 2012 18:07



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:08.

Layout Options | Width: Wide Color: