A rewrite rule kills the session
-
I’ve got an installation with some friendly urls for a couple of the content types displayed in my site like:
https://baseUrl/path1/path2/nameOfPage.html goes to
https://baseUrl/path3/myPage.phpThe rule is:
RewriteRule ^path1/path2/([0-9]+)\/([0-9]+)\/([a-zA-Z0-9_-]+)\.html$ /path3/myPage.php?var1=$1&var2=$2 [QSA,L]While navigating, if I access to the final url (/path3/myPage.php) everything works fine, but if I access to the friendly url (/path1/path2/nameOfPage.php) I lose my WP session and I need to login again.
Does anybody know why is it happening? The domain is the same, so I assume the session cookie might work fine.
Any help will be appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘A rewrite rule kills the session’ is closed to new replies.