🤖
building things
Product / marketing / dev / technical seo / web perf / analytics... TKTK
- Phoenix
-
20:38
(UTC -07:00) - https://chuckreynolds.com
- @chuckreynolds
- in/chuckreynolds
- https://enterprise.wikimedia.com
Highlights
- Pro
Pinned Loading
-
social-profile-image-sizes
social-profile-image-sizes PublicSocial media profile image size reference guide. Open Graph, Twitter Cards, etc.
-
Selfish-Fresh-Start
Selfish-Fresh-Start PublicWordPress plugin that removes clutter and commonly unneeded things in WordPress.
-
Solid start Robots.txt for WordPress...
Solid start Robots.txt for WordPress Sites. (HEADS UP: Make sure you're viewing the most recent version of this Gist) https://gist.github.com/chuckreynolds/135728/ 1# robots.txt for wordpress
2# https://gist.github.com/chuckreynolds/135728
34User-agent: *
5Disallow: /*.php$
-
wp-filter-admin-published-default
wp-filter-admin-published-default PublicWordPress Plugin that enables the Pages and Posts links in admin to show the Published filter by default
PHP 3
-
Admin-Slug-Column
Admin-Slug-Column PublicWordPress Plugin that puts the slug of a post or page into the admin columns
-
UPDATE: Use WP-CLI find-replace comm...
UPDATE: Use WP-CLI find-replace command to edit URLs in your database. https://developer.wordpress.org/cli/commands/search-replace/ Use this SQL script when changing domains on a WordPress site. Whether you’re moving from an old domain to a new domain or you’re changing from a development domain to a production domain this will work. __STEP1: always backup your database. __STEP2: change the ‘oldsite.com’ and ‘newsite.com’ variables to your own. __STEP3: make sure your database prefix is “wp_”, if it’s not then you’ll want to go through and change the prefix in each line to whatever yours is. __STEP4: copy the modified variables and the queries and paste it into phpMyAdmin or, better yet, SequelPro and run it on your database. TEST. DONE. __Changelog: — updated queries to use variables instead of editing the urls in many different areas — commented out GUID and left as optional. shouldn’t reset those. ref: codex.wordpress.org/Changing_The_Site_URL#Important_GUID_Note 1/* Use WP-CLI instead https://developer.wordpress.org/cli/commands/search-replace/ */
23SET @oldsite='http://oldsite.com';
4SET @newsite='http://newsite.com';
5UPDATE wp_options SET option_value = replace(option_value, @oldsite, @newsite) WHERE option_name = 'home' OR option_name = 'siteurl';
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.