(WPMU-MS) Page redirect loop on configuration

Olaf

Re: Page redirect loop on configuration

Post by Olaf »

axew3 wrote: Mon Mar 13, 2017 11:08 pm Change cookie settings in phpBB into
.mydomain.com

Logout, clean cookies, login?
Yesss! Tried a couple of times and seems to work decently. Thank you.
I wasn't quite sure what to set the cookie domain as both Wordpress and phpBB ran under the very same subdomain and honestly did not try this option.

Anyway, thank you very much again.

Best regards
Olaf
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page redirect loop on configuration

Post by axew3 »

A cookie that is setup as
.sub.domain.com
will be available only at sub.domain.com

while a cookie set for .domain.com
will be available over all domain and any sub.domain

i've not understand if you have resolve or not.
Olaf

Re: Page redirect loop on configuration

Post by Olaf »

Issue has been solved by setting cookie domain to .mydomain.com :)


Olaf
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Page redirect loop on configuration

Post by pennymachines »

axew3 wrote: Sat Feb 18, 2017 4:45 pm i will so try out the multisite mode other time ... should be no reason for which should not work ... but we'll see soon ...
Hi I wonder if you ever got time to try it?

Could my problems be with .htaccess files?

I use aMember Pro for my user membership database for phpBB, but otherwise phpBB is unchanged.
(I had intended to use aMember to integrate phpBB with Wordpress, but after much effort, it never worked properly).
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Page redirect loop on configuration

Post by axew3 »

hello, i'm just over to prepare 1.6.6, so i will test a Multi site install to check that is compatible (as in the past test)

the loop on redirect normally is issued on all reported as problem due to wrong cookie setting.
can you post content of WP htaccess?
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: Page redirect loop on configuration

Post by pennymachines »

Hi - Thanks for your response.

In wordpress/.htaccess I have:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>

# END WordPress

<Files wp-config.php>
order allow,deny
deny from all
</Files>
Post Reply