Deep linking with protected pages?
Posted: Fri Dec 07, 2018 3:58 am
I have a company website that has been built with WYSIWYG Web Builder, and is using the Page Protect feature to restrict access to certain areas of the site to specific departments. I have recently had several users ask if there is a way to allow them to bookmark directly to specific pages within the areas they have access to instead of always having to go to the home page, login, then navigate to their desired page (IE: they want to be able to bookmark "http://thesite/sales/purchase_orders.php" or "http://thesite/employees/vacations.php" instead of just "http://thesite/homepage.php").
I have reviewed the WYSIWYG documentation on the Page Protect feature, and cannot seem to find a way to allow this. Searching for more generic solutions via Google, I was able to determine that this functionality is called "deep linking" and is dependent on the way the login page redirects after a successful login.
I imagine that I will most likely need to directly modify the PHP code on my site's login page, but I unfortunately know very little about PHP and have been unable to figure what exactly to change on my own. Can someone provide me with some instructions on how to enable deep linking while still keeping the site secured with the WYSIWYG Page Protect feature?
I have reviewed the WYSIWYG documentation on the Page Protect feature, and cannot seem to find a way to allow this. Searching for more generic solutions via Google, I was able to determine that this functionality is called "deep linking" and is dependent on the way the login page redirects after a successful login.
I imagine that I will most likely need to directly modify the PHP code on my site's login page, but I unfortunately know very little about PHP and have been unable to figure what exactly to change on my own. Can someone provide me with some instructions on how to enable deep linking while still keeping the site secured with the WYSIWYG Page Protect feature?