sidcam
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Networked Install (i.e. Multisite) not workingFirst off, THANK YOU so much!
I just set up a wildcard subdomain in cPanel and sure enough it’s now spitting out sub-domain websites- including ones that previously weren’t working. I never knew a wildcard option existed. Soooo glad it’s not a database issue.
But now I have to ask why you say it will be a problem if it’s not located in public_html?
It is, for the moment anyway, working as it should.
FYI- I intend to sell domain mapping services and have been told to only set it up as subdomains.
Forum: Networking WordPress
In reply to: Networked Install (i.e. Multisite) not workingJust Googled it. Since .htaccess is recursive, let me add this.
In the directory above my WordPress installation (the host site/public_html directory) there is another .htaccess script specific to a YouTube clone script I’m using to run a video training website. Because I intend to integrate the two websites, they use the same database. Unfortunately, that script doesn’t always function well when it’s installed in a subdirectory.
Here is it’s .htaccess:
# Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>
# ExpiresActive On
# ExpiresDefault A1209600
# ExpiresByType text/html A1
#</IfModule># Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
RewriteEngine On# Uncomment the 2 lines below if you are using http://www.domain.com
# as the baseurl for the site and users access your site
# via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule># Edit below lines and set to
# ErrorDocument CODE /RELATIVE/error.php
# If the script is installed in the default document
# root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.phpForum: Networking WordPress
In reply to: Networked Install (i.e. Multisite) not workingI will investigate wildcard in just a second.
In regard to .htaccess, one thing to note is that this is in fact installed as an add-on site (in a directory of another site) via cPanel and that parent site also has a .htaccess file. Not sure if those are recursive or not.
Anyway, the .htaccess for the WordPress installation directory is:
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]Forum: Networking WordPress
In reply to: Networked Install (i.e. Multisite) not workingSubdomains, yes.
Neither sub.domain.com or sub.domain.com/wp-admin works. All I have is the main site, the main site’s dashboard and network admin.
Will WordPress create any files or directories specific to the subdomain or will everything be virtual? My chmods don’t appear to be a problem, but I can’t find any new directories and blog.dir remains empty (although it is on my original test site as well).
Thanks for you assistance.
Sid