WordPress Multi-Domain Login Loops

wordpress

Ib lub sijhawm rov qab, peb tau siv ntau lub tswv yim (tsis yog subdomain) nruab ntawm WordPress los ntawm kev ua kom cov neeg siv ntau yam thiab txhim kho ntau tus sau pluginCov. Thaum peb tau txhua yam ua haujlwm, ib qho ntawm cov teeb meem peb tau nkag mus rau hauv yog qhov login nkag thaum ib tus neeg sim nkag rau WordPress rau ntawm ib qho ntawm cov thawj. Txawm ntau yam txawv, nws tau tshwm sim ntawm Firefox thiab Internet Explorer, tab sis tsis yog Chrome.

Peb tau taug qab qhov teeb meem nqes mus rau kev siv cov browser ncuav qab zib rau WordPress. Peb yuav tsum txhais cov Cookie txoj hauv peb wp-config.php ua ntaub ntawv thiab ces txhua yam ua haujlwm zoo! Nov yog yuav qhia koj cov khaub noom cookie li cas nyob hauv koj qhov chaw siv ntau:

txhais kom meej ('ADMIN_COOKIE_PATH', '/'); txhais kom meej ('COOKIE_DOMAIN', ''); txhais kom meej ('COOKIEPATH', ''); txhais kom meej ('SITECOOKIEPATH', '');

tsaug rau Joost De Valk rau nws lub tswv yim ntawm qhov teeb meem no. Nws yog ib ntus dhau los, thiab kuv ib txwm tsis tso tseg ua nws tsaug rau nws txoj kev pab.

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.