nginx deployment

See also Server setup (priv) NginX deployment http://nginx.org/en/ nginx [pronounced “engine x”] is a very fast web server, serving up sites such as Netflix and WordPress.com. See also SSL certificates NOTES: in PHP, $_REQUEST is *not* populated!!! only $_GET and $_POST $_GET is not populated if redirect is done via  try_files command * – instead: try_files $uri… Read more »

Hiding pages from search results

Hiding pages from search results On InsideLaw, pages can be hidden from appearing in the built-in WordPress search results by adding the id# of the page/post to a comma-separated list in the site settings. First, you need the post number (post=####)  that can be found in the URL of the edit page for that post…. Read more »

Rackspace Export redirection list

Rackspace Export redirection list The Redirection plugin on RackSpace is version  2.2.13 (as of May 22, ‘14) which has a bug in the export routine. Use the URL below: http://law.gsu.edu/wp-admin/tools.php?page=tools.php?page=redirection.php/” dummy=”sub=csv/” dummy=”module=1/” dummy=”token=

Manually add new users

How to manually add new Campus ID users to InsideLaw and LawMedia. Separate instructions are used to add existing users to sub-sites. Users without Campus IDs are to be discouraged on InsideLaw as this presents security risks to the FERPA-protected data therein. Other CoL WordPress instances are less likely to have FERPA data, so a… Read more »

Web Alerts from gsu.edu

NOTE: 3/10/2015 – Found that the University has re-configured their server to deny access to the cached notification page: “Forbidden – You don’t have permission to access /wp-content/cache/rave-alert/index.html on this server.” Disabled the cron job – no time for such games. {ead} Notices that are displayed on gsu.edu are retrieved (once every 2 minutes), cached, and… Read more »

list_all_shortcodes

Simple shortcode to list all defined shortcodes [list_all_shortcodes] This must be embedded in a page on the site that you want the short codes from! For example, see all the shortcodes on the main InsideLaw site The first column is the short code that goes into the page, the second column is internal techo-babble -… Read more »

Move a site . sql

UPDATE `wp_site` SET `domain`=REPLACE(`domain`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_sitemeta` SET `meta_value`=REPLACE(`meta_value`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_options` SET `option_value`=REPLACE(`option_value`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_3_options` SET `option_value`=REPLACE(`option_value`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_4_options` SET `option_value`=REPLACE(`option_value`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_blogs` SET `domain`=REPLACE(`domain`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_posts` SET `post_content`=REPLACE(`post_content`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_3_posts` SET `post_content`=REPLACE(`post_content`, ‘insidelaw’, ‘lawmaint’); UPDATE `wp_4_posts` SET `post_content`=REPLACE(`post_content`, ‘insidelaw’, ‘lawmaint’); UPDATE… Read more »