Difference between revisions of "Wordpress"
Jump to navigation
Jump to search
(Created page with "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 i...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[category:Webdesign]] | ||
When creating a new site in a MU configuration remember. | When creating a new site in a MU configuration remember. | ||
# Create a mapping in Settings-Domains | # 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 | # 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. */" | ||
+ | <code>define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );</code> | ||
+ | |||
+ | ;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. */" | ||
+ | <code>define('FS_METHOD','direct');</code> |
Revision as of 20:53, 17 April 2020
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');