If wordPress is installed in guide4gamers.com already then yes, that is exactly how WP Multisite with subfolders works π you can switch your Multisite to subfolders, too, if you want.
Do note that your guide4games.com posts will move from guide4gamers.com/2011/11/post name to guide4gamers.com/blog/2011/11/post name
can I disable permalink change in previous post?? I don’t want to edit 200 ++ permalink.
thank you for quick reply. How could I change subdomain to subfolder ?/ I only see subdomain option in network admin dashboard.
http://codex.wordpress.org/Create_A_Network#Switching_between_subdomains_and_subfolders
You CAN change from subdomains to subfolders.
You CANNOT remove the /blog/ appendation, however.
I would suggest using .htaccess to seamlessly redirect your clients.
If your URLs are guideforgames.com/2011/11/01/postname, you’d use this:
RewriteRule ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://guide4games.com/blog/$1/$2/$3/$4 [L,R=301]
Put it ABOVE the WordPress section and you’re Good To Go
one last dumb question (hopefully T T).
just done some google search.
There is someone who suggest to use thinking wordpress plug in, but is it safe??? because the post date seems to be outdated
http://journalxtra.com/2010/07/how-to-force-multi-site-to-use-subdirectories/
If I am using your method (rewrite .htaccess), will it be alright because some of my posts contains many in-link (like this one)??
http://guide4gamers.com/golden-sun-dark-dawn-guide
if I use your method will it be alright for the future post ( what I should write when publishing a new post??). I am not using that permalink setting.
I use %postname so my post always look like
http://guide4gamers.com/golden-sun-dark-dawn-guide
what I should rewrite in htaacces>>
thanks
I am trying my hardest to figure this out but over the last two days I have no luck.
I have the network setup for subfolders, the server the site is on really sticks (tech support sucks) so far but I cant get the client to change. Right now I am getting “URL not found on this server” when I try to visit the sites link, but things look good on the admin section. Ive went in and out of hundred steps and sugguestion over and over – by this time Im sure Ive messed something up.
Here is the wp-config
define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'waccamawtransport.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
/* That's all, stop editing! Happy blogging. */
htaccess
# BEGIN WordPress
RewriteEngine On
RewriteBase /
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]
# END WordPress
I keep seeing the “mod_rewrite” is the problem/solutions on different sites – but I think Im just way in over my head.
Any help would be greatly appreciated!
waccamawtransport.com
this site isn’t even running wordpress.
its installed waccamawtransport.com/wp-index.php
I am redoing their site powered by wordpress!
but as of this a.m. their server guy has been working on it and it looks like has messed it up real good now. He hates WordPress and has been giving so much hell every inch of the way on this project.
I shot him an email with this issue
“WordPress was installed and running, the network was enabled and running just fine with in the inside of the admin section. When adding the new site to the network the subfolders are not being created, there for the link is not working and the new site can not be edited with in the admin section.”
My best guess from searching and the wordpress site
“Apache Virtual Hosts and Mod Rewrite
To enable mod_rewrite to work within an Apache Virtual host you may need to set some options on the DocumentRoot.
<VirtualHost *:80>
DocumentRoot /var/www/vhosts/wordpress
<Directory /var/www/vhosts/wordpress>
AllowOverride Fileinfo Options
</Directory>
“
Any other suggestions?
Im sure Im asking all of this wrong and/or using all the incorrect terms.
Sorry :/
Should have read this first – DUH!
“- The extra sites are virtual. You will not see folders on the server for each site, just ones in the blogs.dir folder for media uploads specific to each site.
– Please read the Codex page for setting up your network, especially the “Before you begin” section. Also, make sure your host supports running multiple sites. Some shared hosts do not.
– You really do need mod_rewrite working and reading your .htaccess file. It is used in both types of sites. A good test is if pretty permalinks work.”
its installed waccamawtransport.com/wp-index.php
that will mess up everything. all blogs will go through index.php.
your main site appears to use index.html, which should have priority over index.php anyway, so there was no need to hack core to rename it.
And get a new server guy, or build the site on a different host.
Andrea! Thanks so much for all of your input and help. I have a lot of useful information posted by you. Thank you!
I noramlly change out the index.php after the rest of the site is set up, but Ive never set up the multi site so I didnt know if that would effect it. So most likely that is my problem?
Yah! This server guy is really old and doesnt seem to like to update, upgrade anything and just does not like new ideas on anything. I am thankful I only have to work with him on this one project.
Once again thank you for all of your help!
I noramlly change out the index.php after the rest of the site is set up, but Ive never set up the multi site so I didnt know if that would effect it. So most likely that is my problem?
Yes. Rename that file back, like I said above.