ドメイン引越し(All-in-One WP Migration)後にログインできない問題
-
お世話になります。
会員専用サイトですが
function.phpにてログイン制限や、リダイレクトをかけた会員専用サイトを作成後、
本ドメインへ『All-in-One WP Migration』プラグインにて移行しました。移行前は http://******.com/
以降後は下記の2つへ
http://web.******.com/****/ (サブドメイン)
http://******.com/****/へ移行したのですが、ログインページ(カスタマイズしたもの)は表示できました。
管理画面やサイトトップへ進めなかったのでfunction.php で閲覧制限やリダイレクトを設定した内容はコメントアウトをし試み
サイト自体は見れるようになりました。(直URL入力で)が、ログイン後、管理画面へ行くことができません。
元作成場所では問題なく、リダイレクト、閲覧制限
管理者のみ管理画面へと設定通りうまく行ってます。データベースのURLやconfig.phpでログインできるコードも試したのですが
http://******.com/*****/wp-login.php/ でログイン後
同じURLのまま真っ白の状態です(ユーザー)=function.phpではログイン後トップへリダイレクト
(管理者)=ログイン後管理画面へいくような設定です。ディレクトリの原因かと思ったのですが、変わらず。。
function.phpでは以下の設定なので(直URL)何が原因かわからないでいます。
========================================
add_filter(‘show_admin_bar’, ‘__return_false’);
//ログイン後リダイレクトURLが取得できます
function _my_redirect_to($url){
//指定されていなければ$urlはNULLです。
return home_url( ‘http://******.com/****/’ );
}
add_filter(‘gianism_redirect_to’, ‘_my_redirect_to’);
========================================宜しくお願い致します。
ヘルプの必要なページ: [リンクを見るにはログイン]
- トピック「ドメイン引越し(All-in-One WP Migration)後にログインできない問題」には新たに返信することはできません。