GBear
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Linnking to second and subsequent sitesYes /TestBlog is correct, including case.
I don’t see anyplace which references “tevents”.
I also don’t see how “^([_0-9a-zA-Z-]+/)?” could do anything with TestBlog except validate it is a valid name.
So how does this work, if I specified a url of “domain.com/TestBlog/tevents” then the .htaccess will validate that “TestBlog/tevents” is a valid name and evoke WordPress to deliver a page based on that name?
So would my URL link merely specify the directory name I assigned to this site, which in this case is “domain.com/TestBlog/tevents”?
Where can I find more information regarding .htaccess, and how it works with WordPress? I have only used .htaccess to password protect directories and I don’t understand how WordPress is using .htaccess and why.
Thanks much,
Forum: Networking WordPress
In reply to: Linnking to second and subsequent sitesOf course you’re right, the “.testblog” was a typo, it should have read “domain.com/testblog/tevents”.
I don’t see how the .htaccess specifies anything for tevents. What am I missing?
.htaccess for /testblog
RewriteEngine On RewriteBase /TestBlog/ 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]Forum: Networking WordPress
In reply to: Linnking to second and subsequent sitesURL? Maybe that’s the problem, I don’t recall a URL setting. Where would I set a URL?
It asked for what I thought was a directory name, which I set as a subdirectory to my initial site. Intial site was domain.com/testblog, where I installed WordPress, and “tevents” was the directory I used for site 2. I assume that it would set up a site in domain.com.testblog/tevents, but tevents was empty. I had created the subdirectory tevents before setting up site 2, thinking I needed it. Later, I deleted the tevents subdirectory, with no change to the operation of either site.
The “permalinks” use tevents in their structure, suggesting the directory is necessary, but the blog posts seem to be vitual.
I’m guessing the link is domain.com/testblog/index.php?site=?? or something.
Thanks for your help,