pratikmhta
Forum Replies Created
-
Yes dgilmour ,
I can confirm that it is /path/to/wordpress/ you missed the forward slash at the end , and wordpress is in my /var/www/path/to/wordpress/ , but in the network setup it tells to give RewriteBase as above , so i have the same . and i think wordpress will map it to /var/www/ . or should i give relative path. like path/to/wordpress/Hello Ipstenu ,
I am having a problem for wordpress multisite , I have just installed a new wordpress 3.2 on my server which runs Ubuntu , and did exactly what is specified in the Network Setup part
Using
1.define('WP_ALLOW_MULTISITE',true);
Then setting up network .
2.define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/path/to/wordpress/'; define( 'DOMAIN_CURRENT_SITE', 'mydomain.com' ); define( 'PATH_CURRENT_SITE', '/path/to/wordpress/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
3.Created blogs.dir
Created .htaccess file in /path/to/wordpress/ with following contents
4.# BEGIN WordPress RewriteEngine On RewriteBase /path/to/wordpress/ 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
After this when i create a site it gives 404 not found error .