December 12, 2012 at 8:08 am #18646
hi im using woocommerce,
went to login, clikc on “lost password?” and it gave a “Access to the webpage was denied” error page
why is this so?December 12, 2012 at 5:40 pm #100256
It could be for a number of reasons but check that your site isn’t behind a coming soon or login only plugin first. Next, go to WooCommerce settins then go to the Pages Tab and make sure that the dropdown for Login page is pointing towards the page that was created called “Login”.
You can also go to the page in your Pages and check to make sure it doesn’t have a password set to view it.
If you have a link to your site we can take a further look at it.
DevinDecember 13, 2012 at 3:31 am #100257
hi I’m still not able to solve this…hope you can help take a look somehow
here’s my link http://www.bagshoecleaningsanctuary.com
thxsDecember 13, 2012 at 6:43 am #100258
It seems like the server doesn’t accept the redirect_to parameter. Following url doesn’t work:
works. A google search “wordpress redirect_to 403″ returned some useful hints – all of them suggested that it’s a server / htaccess configuration issue. Please contact your hoster and ask them to look into it and check your htaccess file content.December 19, 2012 at 3:35 am #100259
i’ve restored my htaccess to default but still it did not solve the issue
called hosting, they said its programming stuff they cant help
i did installed bullet proof security feature which did some stuff to my htaccess. I contact wordpress support under BPS, they said if htaccess is restored and still issue restored then it might not be their issue..
so im still stuck…anyway you can further help me solve this issue?
papachewDecember 19, 2012 at 6:32 am #100260
You can edit the code of the login form and change the “Lost Password” link. Open up wp-contentpluginswoocommercetemplatesmyaccountform-login.php and replace following line:
echo esc_url( wp_lostpassword_url( home_url() ) );
echo esc_url( wp_lostpassword_url() );
to get rid of the redirect parameter. Nevertheless I’d try to fix the error because it probably affects other plugins/code parts which use the redirection function too.December 19, 2012 at 9:27 am #100261
“Nevertheless I’d try to fix the error because it probably affects other plugins/code parts which use the redirection function too.”
meaning this is not the best way to resolve current error ? And that this error should be fixed in a better way using other method?December 19, 2012 at 10:29 am #100262
Yes, because the change above will not solve the redirection/server configuration issue – it just removes the redirection parameter from the link. It’s like medicating the symptom(s) instead of the disease…
PeterDecember 19, 2012 at 10:43 am #100263
The topic ‘lost password link error in woocommerce’ is closed to new replies.