prinshaw Posted October 29, 2013 Posted October 29, 2013 Hi, On my site shoppiiers.com i want to Redirect user after login/registering on the site to the page he was present before login instead of account.php , i think its done using Session but dont know how to do it due to lack of coding hehe.. Pls give solution.. Thanks in Advance...!
Guest Posted November 7, 2013 Posted November 7, 2013 the redirect code function responsible for where your pages go is: tep_redirect(tep_href_link(WHATEVER FILE IT SHOULD REDIRECT TO)); so a redirect to the index.php page is: tep_redirect(tep_href_link(FILENAME_DEFAULT)); you can take a look at your files and find the redirect function and where it is pointing to, that should get you started. Backup your code before messing with it, I like to comment out the original code with // in case I make a mistake.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.