Wifi Hotspot Login for Mac

If you have an Apple computer and have trouble connecting to Wifi, I have a solution!
I can't explain why, but a while ago, my laptop would not bring up a login screen when I tried to connect to Wifi. I discovered a link that opens up a login page.