Installing WordPress multisite on a domain with subfolder -
just moved wordpress multisite localhost live server. destination folder has 2 sub directories mydomain.com/dir1/dir2 i'm getting err_too_many_redirects error can me out. i've made necessary url updates in database. thanks
wp-config
/* multisite */ define('wp_allow_multisite', true ); define('multisite', true); define('subdomain_install', false); define('domain_current_site', 'mydomain.com/dir1/dir2'); define('path_current_site', ''); define('site_id_current_site', 1); define('blog_id_current_site', 1);
.htaccess
# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] # uploaded files rewriterule ^([_0-9a-za-z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [l] # add trailing slash /wp-admin rewriterule ^([_0-9a-za-z-]+/)?wp-admin$ $1wp-admin/ [r=301,l] rewritecond %{request_filename} -f [or] rewritecond %{request_filename} -d rewriterule ^ - [l] rewriterule ^[_0-9a-za-z-]+/(wp-(content|admin|includes).*) $1 [l] rewriterule ^[_0-9a-za-z-]+/(.*\.php)$ $1 [l] rewriterule . index.php [l] </ifmodule> # end wordpress
try checking how redirect loop behaves using browser developers tools. common problem wordpress set on www subdomain , custom .htaccess striping www.
(if doesn't solve problem, post example of loop? screenshot of developer tools fine.)
Very Helpful. Thanks for such Information
ReplyDeleteWP Support
WP Tech Support