Wordpress
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
When creating a new site in a MU configuration remember.
- Create a mapping in Settings-Domains
- In the wp_options table for this site make sure you have the correct value in siteurl and home
- Fix for "Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."
- Put following line in wp-config.php just above the line "/* That's all, stop editing! Happy blogging. */"
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
- Fix for wordpress upgrade asking for FTP credentials while file-permissions allow the web-server to write all.
- Put following line in wp-config.php just above the line "/* That's all, stop editing! Happy blogging. */"
define('FS_METHOD','direct');
- Turn maintenance mode off manually.
- Remove the
.maintenance
file from your wordpress root-directory
Increase maximum upload size
There are several places where the maximum size of uploads is limited
- In MultiUser (MU) sites in Network Settings set 'Max upload file size'
- In the .htaccess file check these lines. If there is nothing there this is not the limit.
- update php.ini
- In the nginx configuration set 'client_max_body_size 10m' to allow 10MB uploads
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 300
php_value max_input_time 300
upload_max_filesize = 32M
post_max_size = 64M
memory_limit = 128M