ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Link in ’forgot password’ email broken - using LG .htaccess

October 27, 2009 6:01pm

Subscribe [2]
  • #1 / Oct 27, 2009 6:01pm

    pottercreative

    17 posts

    I’m using LG Htaccess to remove index.php—I never realized how many things would get screwed up login/logout, etc.

    I’m using Solspace User for my member front-end forms and have setup a simple ‘forgot password’ form where they enter their email address. It’s working correct and sending the email out via phpMail with the retrieval link.

    Problem is that the link is formatted:

    http://www.mysite.com/?ACT=12&id=hCbD5j1l

    I’ve found another thread that recommends the link be formatted:

    http://www.mysite.com/index.php?ACT=12&id=hCbD5j1l
    (... of course)

    I realize this, but there’s no documented fixes for this. Has anyone else come across this issue? Fixed it?

    Again, I’m not using the built-in member area, nor am I using the ‘member’ trigger word.

    Really need to resolve this asap.
    Thanks everyone!

  • #2 / Oct 27, 2009 6:08pm

    Ingmar

    29245 posts

    I suppose it works fine when you try with the index.php, ie don’t remove it from your URL? Bascially you’ll also need to forward requests to http://example.com/?ACT=12&id=hCbD5j1l to http://example.com/index.php?ACT=12&id=hCbD5j1l

  • #3 / Oct 27, 2009 6:20pm

    pottercreative

    17 posts

    Ingrid,

    That’s correct. If I click the link in the email without index.php it sends me to that url, producing (for now) a silent 404.

    When I add in index.php, I get the following message:

    Thank You!
    Your password was reset and a new one has been emailed to you.

    I did receive the password reset email with the new password.

    So how can I force those requests to include index.php?

    This seems like a huge issue, with all the people that remove index.php, I surprised that this isn’t built into LG .htaccess.

    Is there a fix?

    Thanks,
    Ben

  • #4 / Oct 27, 2009 6:25pm

    Ingmar

    29245 posts

    I am afraid we can neither support LG htaccess nor removing index.php from your URLs as such. Let me move this to Howto for you.

  • #5 / Oct 27, 2009 7:01pm

    pottercreative

    17 posts

    Ingmar,

    Luckily I found the answer to this issue.

    http://ellislab.com/forums/viewthread/110652/

    Thanks

  • #6 / Oct 27, 2009 7:05pm

    Ingmar

    29245 posts

    Cool 😊 thanks for sharing.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases