Johninbc
Forum Replies Created
-
Forum: Networking WordPress
In reply to: subsite "visit site" links going to directory listingThanks for he assistance, but my client has chosen to go another route…
No subsites, no wordpress… too much hassle.Again, thanks.
JohnForum: Networking WordPress
In reply to: subsite "visit site" links going to directory listingOne person suggested…
Seems that Apache 2.2 needs to see the query string and have those extra codes at the end of the RewriteRuleso I added
RewriteCond %{QUERY_STRING} ^(.*&)?page=([^&]+)(&.*)?$ [NC] RewriteRule ^index\.php$ /tpb/%2? [R,L]And it really didn’t like that…
Here is my htaccess code as it is now….
# 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).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] # END WordPressTaken directly from the setup instructions as provided by wordpress…
Forum: Networking WordPress
In reply to: subsite "visit site" links going to directory listingWEll it partly works.. It appears that the dashboard for each of the sections is functioning… For example, when accessing the dashboard for the store section from the drop down admin menu at the top of the screen the URL comes up mysite.com/store/wp-admin.php… Same for the other two sections… But when trying to view the store site, which should be mysite.com/store/index.php I only get a directory.
Therefore I can assume that the redirect in htaccess is functioning, just not when index.php is called.