Ask Me About Websites
Menu
  • What is a website?
  • Useful Linux Commands
    • Cheat Sheet of Useful Linux Commands
    • Add / Create New Sudo User
    • 10 Commands to find the processes in Linux
    • Working with Java Keystores
  • Magento Commands
  • Laravel
  • WordPress Tips and Hints
  • What is a website?
  • Useful Linux Commands
    • Cheat Sheet of Useful Linux Commands
    • Add / Create New Sudo User
    • 10 Commands to find the processes in Linux
    • Working with Java Keystores
  • Magento Commands
  • Laravel
  • WordPress Tips and Hints

Category Archives: Wordpress


How to config Apache to 301 for HTTP to HTTPS

By paulg | September 27, 2017 | Category Linux Solutions, Wordpress

To configure the proper 301 redirects for going from HTTP to HTTPS in Apache2, add the following redirect rules either to the Apache config file. If you do not have access you can still add these rules to your .htaccess in the root of your site: To move from http://example.com, http://www.example.com or https://www.example.com to https://example.com […]

Read More

Fix to Saving Permalinks to fix 404’s

By paulg | June 6, 2017 | Category Wordpress

Here is fix for the pesky problem of having to resave your permalinks weekly or daily because of some unknown underlying issue. Add this little section of code to you functions.php file in your theme or child theme. The site will automatically rebuild the links for you. If after including this code you still have […]

Read More

Simple MYSQL Script to change domain for WP

By paulg | May 2, 2017 | Category Wordpress

UPDATE wp_posts SET guid = replace(guid, ‘http://olddomain.com’,’http://newdomain.com’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://olddomain.com’, ‘http://newdomain.com’); UPDATE wp_links SET link_url = replace(link_url, ‘http://olddomain.com’, ‘http://newdomain.com’); UPDATE wp_links SET link_image = replace(link_image, ‘http://olddomain.com’, ‘http://newdomain.com’); UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘http://olddomain.com’, ‘http://newdomain.com’); UPDATE wp_usermeta SET meta_value = replace(meta_value, ‘http://olddomain.com’, ‘http://newdomain.com’); UPDATE wp_options SET option_value = replace(option_value, ‘http://olddomain.com’, ‘http://newdomain.com’);

Read More

Simple debug setting for WordPress config

By paulg | April 4, 2017 | Category Wordpress

// Enable WP_DEBUG mode define( ‘WP_DEBUG’, true ); // Enable Debug logging to the /wp-content/debug.log file define( ‘WP_DEBUG_LOG’, true ); // Disable display of errors and warnings define( ‘WP_DEBUG_DISPLAY’, false ); @ini_set( ‘display_errors’, 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( […]

Read More

Recent Posts


  • Add Java Home to a User
  • How to create a new sudo user and secure with SSH key
  • How to config Apache to 301 for HTTP to HTTPS
  • Where do I find the YUI yahooapi serverd secure (https)
  • Fix to Saving Permalinks to fix 404’s

Recent Comments


  • Theron Cashing on Useful Linux Commands
  • check my site on Useful Linux Commands
  • site:forobeta.com/mobidea Mobidea on Useful Linux Commands
  • content on Useful Linux Commands
  • Gerry on Useful Linux Commands

Recent Posts

  • Add Java Home to a User
  • How to create a new sudo user and secure with SSH key
  • How to config Apache to 301 for HTTP to HTTPS
  • Where do I find the YUI yahooapi serverd secure (https)
  • Fix to Saving Permalinks to fix 404’s
  • No space left on device – Could I be running out of Inodes?
  • Simple MYSQL Script to change domain for WP
  • Simple debug setting for WordPress config

Tag Cloud

Pages

  • #552 (no title)
  • 10 Commands to find the processes in Linux
  • Add / Create a new user with SUDO privilegdes to Ubuntu (Linux)
  • Laravel Set Up and Commands Win10
  • Magento Commands
  • test of book
  • TEst of ninja JS
  • Test of WP Google Maps
  • Useful Linux Commands
  • What is a website?
  • WordPress Tips and Hints
  • Working with Java Keystores

Categories

  • Javascript
  • Linux Commands
  • Linux Solutions
  • Wordpress

Copyright © 2020 websidestores.com - askmeaboutwebsites

Theme created by PWT. Powered by WordPress.org