Question

Just started reading Professional WordPress®: Design and Development

I'm reading the section on "Advanced wp-config Options".

I see many options which I think are pretty cool/useful, but before I go crazy using "Advanced wp-config Options" I thought I'd inquire about "Best Practices" from the veterans in this area.

I'm still a noob and a little knowledge is a "dangerous thing" :-}

For example book states:

To set your WordPress address and blog address, use the following two options:

define('WP_SITEURL', ‘http://example.com/wordpress');

define('WP_HOME', ‘http://example.com/wordpress');

The WP_SITEURL option allows you to temporarily change the WordPress site URL....

I read this and think, best use is for taking site offline temporarily (for maintentance, etc.). Otherwise, why use this?

But there are some options which read like they SHOULD be used (at least as a best practice). So I thought I would ask how the vets approach these config options (or for general advice to noobs). I know what these options (below) do, question is should I (do you) use them and why/not?

  • WP_POST_REVISIONS
  • AUTOSAVE_INTERVAL
  • WP_DEBUG SAVEQUERIES
  • WP_MEMORY_LIMIT
  • FTP_USER
  • FTP_PASS
  • FTP_HOST
  • WP_CACHE
  • FORCE_SSL_LOGIN
  • FORCE_SSL_ADMIN

Thanks In Advance!

sleeper

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top