• Resolved charltoncolin7

    (@charltoncolin7)


    Hi,
    I’m trying to setup WordPress multisite.
    I have followed the steps. It says I can only use subdirectory as my installation is in a directory – that is fine as that is what I wanted.

    When I create a site it appears to have been created but when I go to the new site the browser says: The webpage cannot be found.

    This is running on a VPS running CentOS 6

    Any assistance would be greatly appreciated.

    I have updated my /var/www/html/wp-config.php to include:

    Define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘192.210.207.77’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    My /var/www/html/.htaccess file contains:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    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]

    </IfModule>

    # END WordPress

    When

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

    (@charltoncolin7)

    After looking for days I found the solution as soon as I posted:
    Solution:
    sudo vi /etc/httpd/conf/httpd.conf
    change all occurrences of AllowOverride None to AllowOverride All
    Restart the service
    sudo service httpd restart

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘WordPress – MultiSites – The webpage cannot be found’ is closed to new replies.