Website Membership Plugin redirect after login conflict with htaccess?
4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 5, 2014 (RSS)
By Tom - May 17, 2014
Hello,
Everything works fine in the Website Membership Plugin.
However, I found that it may be some conflict with htaccess.
After the user login,
The user will be redirected to this page $GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = 'abc.html';
HOWEVER, when I add the error document in htaccess
ErrorDocument 404 xyz.html
All the user after logined will be redirected to xyz.html not abc.html
Please advice,
Thanks
By claire - June 4, 2014
Hi Tom
Sorry for the late reply to this, we're trying to catch up on the older forum threads now.
Can you confirm that the file 'abc.html' does exist and the path to it is correct? The first likely source of the problem is that the file isn't where you think it is, so it's redirecting to the 404 page. If this isn't the problem, I'll try to recreate the issue and investigate further for you.
Claire Ryan
interactivetools.com
Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By Tom - June 4, 2014 - edited: June 4, 2014
Hello,
Surely the abc.html is exist.
The problem is before I add the Error Document 404 xyz.html in htaccess
everything is normal.
Once the user login, he will be redirected to abc.html
After I add the ErrorDocument 404 xyz.html in htaccess
When the user login, he will be redirected to xyz.html not abc.html
Thanks
By claire - June 5, 2014
Okay then, can you post your .htaccess file code here please? I'll try to replicate the issue and see what I can figure out.
Claire Ryan
interactivetools.com
Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/