The page isn't redirecting properly
-
Im moving my multisite wordpress files to my localserver for testing..I have added the database and same username and password according to wp-config.php..After all the process of moving the files and importing the database..it gives me an error saying (The page isn’t redirecting properly)..
Here is my htaccess and wp-config..
htaccess
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]
and here is the wp-config.php
define('WP_ALLOW_MULTISITE', true); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', true ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'www.younescosmeticdentist.com' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); define( 'NOBLOGREDIRECT', 'https://www.younescosmeticdentist.com' );
When i change the site to
define( 'DOMAIN_CURRENT_SITE', '127.0.0.1 ' );
and the path to
define( 'PATH_CURRENT_SITE', '/younes/' );
site says page has a redirect loop..If I dont change it it redirects to the site that was live…
Anyone can help me how to fix it??I need to get my network admin to be working so i need to have it tested on localserver..
Cheers|!
- The topic ‘The page isn't redirecting properly’ is closed to new replies.