Roots Discourse

Strange Login Issue

I am reasonably new to roots bedrock but have noticed a strange login issue that seems to affect every site that I use roots bedrock on.

When I visit a URL like this:

I am redirected to the login page but can never login.

If I visit a URL like this:

I then have no problems logging in.

Since using roots bedrock on a few production sites I have had a few complaints from users about being unable to login which I think is related to the issue I have above (not 100% sure though). It is a little bit difficult to explain to clients the workaround and I myself don’t understand why the second link works but the first one doesn’t.

I am hoping to find a solution for this so that I can permanently rule it out as a potential reason that other users can’t login. Does anyone have any ideas what is happening?

Perhaps I want to do something like suggested in this thread:

Or maybe redirect it to a page not found.

If you visit settings > permalinks you shouldn’t even need to save it that should set up the redirect

If that fails just save them and it should work

No, saving permalinks doesn’t solve the problem. At the moment I have the htaccess directives as part of the apache config. So maybe I need to move them into htaccess.

In what way are you never able to login? Do you see an error when you attempt to? Does the page never load? Etc.

The page looks like it submit but then just returns to the login form.

Know one else has any ideas?

Am I the only one experiencing this issue?