issora
Forum Replies Created
-
Because the www version of the site already has decent SEO ranking – this is an existing domain/website that we just purchased from someone who has been running it since 2008 or 09.
And I do realize there are differing opinions on how Google treats the two, but I’m not taking any chances. ??
Great, thanks!
If I don’t have any pages setup yet, will I still need to modify the database?
Forum: Networking WordPress
In reply to: Multisite Conditional – if blog_id?Works beautifully, thank you!! Code below for anyone interested:
<?php global $blog_id; if ($blog_id == 5) { echo wp_list_categories('exclude=8&title_li='); } if ($blog_id == 4) { echo wp_list_categories('exclude=3&title_li='); } else { echo wp_list_categories('title_li=&show_option_all='); } ?>
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Hey Ipstenu – the .htaccess file had a hidden .txt extension on the end. ?? Completely my oversight. Needless to say, everything is working great now based on all default installation instructions. Thank you again for your help!
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Nope.
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Tried
RewriteBase /
with /sub-law/, that is. ??Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Yes. I also tried it with /sub-law/, but that didn’t work either.
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Here’s the code in the .htaccess for /sub-law:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?blogN/files/(.+) wp-content/blogs.dir/N/files/$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: Multisite Network Setup Issue – file paths maybe?I’m on my home computer, so unfortunately I don’t have access to the site right now. (Dang it – now that I’ve got support right on hand! :)) I will post the code first thing tomorrow morning, though. And thank you for your help!
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Yes…well, /sub-law actually. ?? And that’s where the .htaccess is located, as well.
As far as the code goes in the .htaccess file, I’ve switched it around a few times as I’ve copied the code from various blog posts and forum threads on this topic, but originally I used the code that was provided in the Network setup during the multisite installation. That page is no longer visible in the admin, unless I’m missing something…
Should the .htaccess for the multisite install be added to the root at /public_html? And if I’m already using .htaccess there, just add in the new rules…?
Forum: Networking WordPress
In reply to: Multisite Network Setup Issue – file paths maybe?Based on my research in the threads, I’ve been thinking my issue is server side. And I just came across this article that describes my exact issue, confirming the need for further server configuration:
https://wpmututorials.com/installation2/subfolder-blog-have-no-theme-styles/
Though I haven’t implemented the fix yet, I’m 99% sure this method will – I just wanted to point others to this article in case they’re experiencing a similar issue and are seeking answers.