• Resolved fearRacious

    (@fearracious)


    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|!

Viewing 3 replies - 16 through 18 (of 18 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Wait… what? You’ve confused me and now you’re bringing NEW problems in before you’ve (I think) solved one.

    Step back. Remember: I can’t see your site, so you have to be calm, explain clearly, and experiment.

    State clearly what is the current problem you want to solve? PICK ONE.

    I know you have a lot, but let’s start with one, okay? If you can’t log in, we should start there.

    Thread Starter fearRacious

    (@fearracious)

    Ohh..Sorry to make you confused..

    The error page isnt redirecting is now solved..

    I can login to the admin..But, I got this error when viewing the site

    Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\younes\wp-content\themes\younescosmeticdentist\page.php on line 40…
    Should I create another threads on this??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, new thread for that, and let’s mark this resolved ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘The page isn't redirecting properly’ is closed to new replies.