I’m using v1.2.0 of this extension and having the page return to a non-existent url upon login. It works perfectly fine for logout however.
the site root is located at http://domain.com/foo/ where foo is the directory on the server where EE is installed.
If I’m at this location http://domain.com/foo/news/ and login I get taken to http://domain.com/news and see nothing as the page is non-existant and at that url outside of EE.
I’m using v1.2.0 of this extension and having the page return to a non-existent url upon login. It works perfectly fine for logout however. the site root is located at http://domain.com/foo/ where foo is the directory on the server where EE is installed. If I’m at this location http://domain.com/foo/news/ and login I get taken to http://domain.com/news and see nothing as the page is non-existant and at that url outside of EE.
still getting this error.
We’ve released an updated version of the Redirect After Login extension, freshly reworked for EE 2.0.
No features have changed; we just reorganized the extension a bit to work with EE 2.0 internals (esp. session handling). It has been lightly tested, but please consider this a beta release, and be attentive if you’re using this on live sites.
If you encounter any problems or odd behavior, please post here in the EE forum thread and we’ll take a look.
2.0 Version is here: http://www.twomile.com/services/add-on/redirect-after-login-for-expressionengine-20
1.6 Version is here: http://www.twomile.com/services/add-on/redirect-after-login-for-expressionengine-16
Corey,
I’m using v.1.2.0 of your plugin and while it is set to Last page visited after login it “forgets” the index.php part of the URL it seems.
I’m using an
{exp:member:login_form return="inscription/edit_profil"}tag at this URL for example:
http://domain.com/index.php/inscription/edit_profil/
and when I login I end up here:
http://domain.com/inscription/edit_profil/
instead.
Last page visited upon logout is working as expected.
I’m using the latest version of your redirect extension and like the above user it is forgetting the index.php part of the url, which is fine for me because I took index.php out of my urls…
However, another weird thing that is happening is that when set to redirect to last visited page, after login I am taken literally to http://www.example.com. I’m not really sure why this happening.
[UPDATE]: Figured it (the example.com redirect) out and it was something unrelated sorry. The dropping of index.php is still present though.
Thought I would let you know.
Hi Corey,
I’ve installed your extension, and it looks fantastic. However, I’m unable to get the feature working on my install.
I’m using:
===== CP:
EE 1.6.7 + discussion forum 2.1.1 Twomile Login Redirect 1.2.0
I have set the following preferences:
Logout: Specific page - /index.php
Login: Last Page Visited
Template: <pre><code> {exp:member:login_form}
<fieldset id="username_password">
<div class="clearfix">
<label for="username">Username</label>
<input type="text" name="username" id="username" value="" maxlength="32" class="input" size="25" />
</div>
<div class="clearfix">
<label for="password">Password</label>
<input type="password" name="password" id="password" value="" maxlength="32" class="input" size="25" />
</div>
{if auto_login}
<div id="autoLogin">
<label for="auto_login"><input class='checkbox' type='checkbox' name="auto_login" id="auto_login" value='1' /><span class="optional_text">Auto-login on future visits</span></label>
</div>
{/if}
</fieldset>
<input id="login" type="submit" value="Login" />
<a href="http://{path=members/forgot_password}class=forgotPassword">Forgot your password?</a>
{/exp:member:login_form}[/code]
However, logging in and out, both go to the home page.
Any ideas on where I am going wrong?
Thanks,
Jack
Hi Corey, Managed to get my issue sorted, and it’s working great! However still experienced the same issue as Jim F (the ext. leaving out index.php) and had to modify the extension to include the index page. Thanks, Jack
How exactly did you modify the extension to include the index page? My EE install is using “main” instead of “index.php”, and the extension is somehow losing the main/ section of my URLs. Is there somewhere in the extension where I can just add main/ and have it included in the redirect page?
EDIT: I should mention… the redirect works perfectly on a logout, but it forgets the /main/ when logging in.
EDIT 2: Ok, looks like I was able to hack a solution. For the time being, I’ve commented out the whole section of the extension that deals with the login process. To handle the login redirect, I’m just using this:
{exp:member:login_form return="{segment_1}/{segment_2}/{segment_3}/{segment_4}"}Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.