samosval37
Forum Replies Created
-
Forum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteI added
define('WP_ALLOW_REPAIR', true);to see what tables I should rename. For example, wp_comments I had to rename to wp_1_comments. And when I added fr site, all tables for it was created automatically. The table wp_2_options was filled with all settings I used in WP network. Don’t you think that the problem is in misconfiguration of .htaccessForum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteAt first I added this line
define('WP_ALLOW_MULTISITE', true);And after running Network setup, I changed htaccess file and added next lines to wp-config.php
define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'mydomain.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('WP_ALLOW_REPAIR', true);I want to say that I have an access to /wp-admin/network and to /wp-admin.
But don’t have access to /fr/wp-adminForum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteOf cause no, I added this lines for a Multisite
Forum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteWhen I did it before, my .htaccess file was:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded ?les RewriteRule ^([_0-9a-zA-Z-]+/)??les/(.+) wp-includes/ms-?les.php??le=$2 [L] # add a trailing slash to /wp-admin #RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ wordpress/$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).*) wordpress/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wordpress/$2 [L] RewriteRule . index.php [L] </IfModule> # END WordPressTHe part from wp-config.php:
/*Multisite*/ define('WP_ALLOW_MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'mydomain.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('WP_ALLOW_REPAIR', true);And setting for a new site:
Domain: http://mydomain.com
Path: /fr/
SiteURL: http://archex.ca/frI’m not sure, but I have one guess that I need to change htaccess like this, becuase it’s located in the same directory as all WP files:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded ?les RewriteRule ^([_0-9a-zA-Z-]+/)??les/(.+) wp-includes/ms-?les.php??le=$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).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] </IfModule> # END WordPressForum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteIf I add this line, I get “error establishing a database connection”
Forum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteNo, I had sigle site on WP 3.5, then I decided to create network.
I did it before, I know how to do it, when I want to locate my sites like this: mysite.com and mysite.com/frForum: Networking WordPress
In reply to: 500 error for a subfolder new site in multisiteIf I go http://mydomain.com/wordpress/wp-admin/network/setup.php I get The Network creation panel is not for WordPress MU networks.
I changed wp-config.php, but nothing happened.[Moderator Note: Please ensure that you are embedding links correctly in your posts.]