drrota
Forum Replies Created
-
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.I figured it out….
The problem is that during the install process these two lines need special attention:
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]‘wp/’ didn’t exist on my server, period.
after I got rid of that, everything worked
thanks for the help
RESOLVED:
During the installation process it says to edit this:
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) blog/$2 [L]
and replace your directory.
When in fact my wordpress instance sits at the top of my Document Root
So! I just deleted ‘blog/’ and it workedI corrected the .htaccess file, replacing opt/stage/http with data/http.
(/data/http was merely a link to /opt/stage/http, so either would work) I fixed it to be consistent, but no change in behavior https://<server/server-status still gives me a WP 404 page not found errorForum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.thanks, /blog and /blog/subdir Are both working but any attempt to add /subdir at the context root level of the website does not work. I’ll have to see if there are any plugins that can help.
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.DocumentRoot “/data/http”
# wp root = /data/http/blog########### WORDPRESS BLOG ###########
#
alias /blog /data/http/blog<Directory /data/http/blog/wp-admin>
Include conf/permissions.conf
</Directory><Directory “/data/http/blog”>
AllowOverride All
Options FollowSymLinks
</Directory>#
########### WORDPRESS BLOG ###########I think I’m at the point where a reinstall is in order. I’m not sure where its picking up the wp/wp-admin reference from. Any last options before I do a do-over.
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.Thanks for your help!
I removed the directories I had created, restarted the webserver, and reran Site Add to add ‘newdir’, (no errors), but when I ‘Visit Dashboard’: https://server/blog/newdir/wp-admin/
I get:
Not Found
The requested URL /wp/wp-admin/ was not found on this server.If I try to go to https://server/blog/newdir, I get
Not Found
The requested URL /index.php was not found on this serverWhere else can I look for error/log output? I’ll try with LogLevel verbose in apache. If I can’t find anything, I think its time to uninstall and start over, unless you have any other options?
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.I’ll be on vacation this week, but I’ll check in from time to time.
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.I’ve since uninstalled tukod-multisite-site-names, among other things, and restarted the server about 50 times, no luck on anything
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.Thank you for your quick reply
In: /opt/stage/http/blog/.htaccess
# BEGIN WordPress 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).*) wp/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L] RewriteRule . index.php [L] # END WordPress(none of the other subdirs under blog/ have .htaccess files in them. (completely empty)
Forum: Networking WordPress
In reply to: multisite subdirectories only leaves me with empty directories.Am I going to have to manually copy all the wp-*php, index.php and .htaccess files from /blog/* to /blog/mydir? (really?) I’m expecting thats what the multisite install should do, but its not doing…