Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL re-writing causes re-verification on navigation. #42

Closed
95CivicSi opened this issue Apr 19, 2016 · 0 comments
Closed

URL re-writing causes re-verification on navigation. #42

95CivicSi opened this issue Apr 19, 2016 · 0 comments
Labels
Milestone

Comments

@95CivicSi
Copy link
Contributor

Cookies are not checked or stored in a way that works with URL re-writing. An example where this is problematic would be if the entire website is set to use WordPress but WordPress is installed in a separate directory. This would be setup under "General Settings" and can usually be identified when the "WordPress Address (URL)" setting is different from the "Site Address (URL)" setting.

For example:

WordPress Address (URL) = http://www.somewebsite.com/wordpress/
Site Address (URL) = http://www.somewebsite.com

In this case, the cookie would be set to the site address but only with a path of "/wordpress/". When the user visits the main website, the URL is rewritten before the plugin is loaded, After the URL is re-written, the site loads and the plugin then checks for a cookie that has a path of "/" that it will not find.

I will make recommendations for corrections in future comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants