I use a WP blog inside a website I built from scratch. The website has to be entered through the index page which starts a session in PHP. This is done for security reasons, ensuring any attempt to access another page redirects the user to the index page. That all works fine.
However, the blog can be accessed by sidestepping the index page. When I tried implementing sessions in the blog to prevent direct access to it, the whole blog bombed.
The path to the blog: http://www.website.com/blog/
I want to use the same session variable controlling the rest of my website to restrict access to the blog to where all users have to first go through the index page.
Any help would be greatly appreciated!
Thanks in advance.