For some reason, I can't access the Dashboard for other

For some reason, I can't access the Dashboard for other of my site other than the main one.

I''ve been trying to create subdomain users to help me create an Etsy-like ecommerce website
I have Wordpress 3.9.1 installed on AMMPS

Anyway, I've completed most of the steps on this tutorial
https://premium.wpmudev.org/forums/topic/how-to-build-your-own-etsy-like-site-using-marketpress

However, after installing Marketpress and New Blog Template, it asks me to
5. Create a new site under Administration > Sites > Add Sites, fill out all the fields as necessary.

I create and visit the visit, I get this
http://127.0.0.1/wp/template/

When I try to visit it's dashboard, I get
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.

When I add new sites, is there suppose to be a new folder created for the new site, with its own wp-admin, because I don't see anything new created in my wp-content folder whenever I create a new site

  • David

    For my wp-config.php, I added this

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', '127.0.0.1');
    define('PATH_CURRENT_SITE', '/wp/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    /* That's all, stop editing! Happy blogging. */

    For my htaccess code
    (I don't know if its because I'm using a Mac, cause I used Ammps to download WP 3.9.1 or WP. 3.9.1 doesn't come with htaccess code, but I couldn't even find the htaccess code in my wp folder)
    (So I just used Dreamweaver, created a .php file, copy and pasted (below) and saved the file as .htaccess.php into my wp folder)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    </IfModule>
    # END WordPress

  • Ash

    Hi David

    The htaccess is file extension with no file name. So the filename should be just

    .htaccess (no other extension like php or something)

    and needs to be placed in root, where your wp-config.php file is.

    And the content in .htaccess should be the following:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Please let me know if it works this time.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers
    Ash

  • David

    Still doesn't work.

    I'm curious about one thing though.

    When I go to Sites -> Add New

    Site Address
    127.0.0.1/wp/ [fill out]

    Only lowercase letters (a-z) and numbers are allowed.

    Let's say I [fill out] site address with "template5", so my dashboard link would be
    http://127.0.0.1/wp/template5/wp-admin/

    Am I suppose to create this http://127.0.0.1/wp/template5/wp-admin/ folder myself or was Wordpress suppose to create that for me automatically with I "add new site".

    Cause, whenever I try to go to dashboard, I get
    The page isn't redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    I don't see any http://127.0.0.1/wp/template5/wp-admin/ or template5 folder in my wp-content, so it's only naturally that I wouldn't be able to visit a site that didn't exist

  • Shira

    Having the same problem.
    This is the new site I'm trying to get:
    http://generaltemplate.socialcookers.com/

    For me, I set new site to appear as subdomains, so to wp-config I added:
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'socialcookers.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    And .htaccess is:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Any help?
    Thanks,

  • Ash

    Hey there.

    Thanks for posting in this thread, however it might be best if you open your own, even if the issues seem closely related. That way it will remain independent of this one and ensure it doesn't confuse issues here if this thread needs reopening again by the author.

    It also means the member who started this thread or anyone following it isn't inundated with post notifications each time we respond to each other. A lengthy thread could annoy the original poster :slight_smile:

    This also allows us to better track and answer your questions to ensure we don't miss any for ya.

    You can start a new thread here:

    https://premium.wpmudev.org/forums/#question

    Thanks
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.