• Resolved ipnotech

    (@ipnotech)


    Hi,

    I am new and will be submitting my first post.

    I have installed wamp server on my windows 7 PC and managed to create the database and install wordpress.

    Then I wanted to enable MULTISITE using sub-directories and not subdomains.

    I modified my wp-config.php in C:\wamp\www\wordpress and added the following lines as suggested:

    define(‘WP_DEBUG’, false);
    define(‘WP_ALLOW_MULTISITE’, true);

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘localhost’);
    define(‘PATH_CURRENT_SITE’, ‘/wordpress/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    And also the ones for .htaccess.

    I login into localhost/wordpress/wp-admin and I get the network admin interface. Then I created a new site called atech7 under wordpress.

    When I try to access the dashboard on atech7 (http:/localhost/wordpress/atech7/wp-admin), I get the following error:

    ——————————————————————————-
    [localhost]
    Not Found
    The requested URL /wordpress/atech7/wp-admin/ was not found on this server.
    Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
    ——————————————————————————-

    I noticed that even though the atech7 wordpress site has been created in the wordpress network admin dashboard, there is no atech7 sub-directory in the wamp server.

    What am I doing wrong?

    Thanks

    Best regards

    Ipnotech

Viewing 1 replies (of 1 total)
  • Thread Starter ipnotech

    (@ipnotech)

    Since I had no responses I decided to solve my own problem.

    I switched to subdomains instead of sub-directories.
    Then it was a matter of turning on wildcard subdomains on httpd-vhosts.conf where the ServerAlias is.

    Ecample:

    <VirtualHost *:80>
    ServerName localhost
    ServerAlias *.localhost
    VirtualDocumentRoot “C:\wamp\www\wordpress”
    <Directory “C:\wamp\www\wordpress”>
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    ErrorLog “logs\errors.log”
    </VirtualHost>

    Now I can manage multiple sites in WAMP with a single wordpress installation!

Viewing 1 replies (of 1 total)
  • The topic ‘Error 404 not found with multisite’ is closed to new replies.