WordPress Multisite and efront installation
-
Firstly, trying to be as brief and as clear as I can,successful install of efront and wordpress multisite.
However, trying to access efront installation page redirects to multisite page error 404. Mapping is correct in wp will all domains redirecting to their respective sites in multisite wp.wp location /var/www/wordpress
efront location /var/www/html/efrontIt is a httpd issue which I cannot resolve, hoping a bright spark will come to my aid.
WP multisite installed as subdomain
define(‘SUBDOMAIN_INSTALL’, true);pathetc/httpd/httpd.conf
<VirtualHost *:80> DocumentRoot /var/www/html/ ServerName server. ServerAlias server www. </VirtualHost> Include /etc/zpanel/configs/apache/httpd.conf Include /etc/httpd/conf.d/efront.include
path etc/httpd/conf.d includes files:
wpmultisite.conf wpmultisite.include efront.include
path etc/httpd/conf.d/wpmultisite.conf
NameVirtualHost *:80 # primary vhost - old clients will arrive here regardless of URL they used <VirtualHost *:80> ServerName domain_name1.tld ServerAlias www.domain_name1.tld Include conf.d/wpmultisite.include </VirtualHost> <VirtualHost *:80> ServerName domain_name2.tld ServerAlias domain_name2.tld Include conf.d/wpmultisite.include </VirtualHost> <VirtualHost *:80> ServerName domain_name3.tld ServerAlias www.domain_name3.tld Include conf.d/wpmultisite.include </VirtualHost>
pathetc/httpd/conf.d/wpmultisite.include
# include file for wordpress, included from various virtual hosts DocumentRoot "/var/www/wordpress" <Directory "/var/www/wordpress"> AllowOverride None RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] </Directory>
pathetc/httpd/conf.d/efront.include
# include file for efront, included from various virtual hosts DocumentRoot "/var/www/html/efront" <Directory "/var/www/html/efront"> AllowOverride Fileinfo Options </Directory>
Example
domain1
efront installationNeeded soloution accessing efront installation from
domain1/efront
domain2/efront
domain3/efront
- The topic ‘WordPress Multisite and efront installation’ is closed to new replies.