I have a customer login page with the following code:
{exp:member:login_form return="customer/index"}
<label><h2>Username</h2><p></label></p>
<p> <input type="text" name="username" value="" maxlength="32" size="25"><br />
<br />
<br />
<label></p><h2>Password</h2><p></label></p>
<p> <input type="password" name="password" value="" maxlength="32" size="25"><br />
<br />
{if auto_login}<br />
<input type="checkbox" name="auto_login" value="1"> Auto-login on future visits<br />
{/if}</p>
<p> <input type="submit" name="submit" value="Submit"></p><br />
<a href="http://{path=member/forgot_password}">Forgot your password</a><br />
{/exp:member:login_form}
I would like this page to direct to the customer page immediately where the customer’s information is presented, but what was working before now doesn’t and it always sends them to the home page.
I am using the following to hide the index.php from the urls and also have cookies only set in my settings:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Any ideas as to how I can get this to redirect to the specific page I’ve requested would be GREATLY appreciated! Thank you!