appwiki:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
appwiki:wordpress [2021/09/20 20:08] – [Plugin - WooCommerce Customize] yingappwiki:wordpress [2024/03/13 20:00] (current) – [Problem and Solution] ying
Line 71: Line 71:
   * Manually method:   * Manually method:
     * upload wordpress web page folders     * upload wordpress web page folders
-    * create database and insert exported SQL data file+    * create database and insert exported SQL data file (you may search replace site address if domain changed) 
 +      * alos for domain change, go phpmyadmin, in wp_options table, change siteurl and home value
     * correct "wp-conf.php" for database connection and "siteurl,name change" and "database url replace" (maybe) and ".htaccess rewrite setup"     * correct "wp-conf.php" for database connection and "siteurl,name change" and "database url replace" (maybe) and ".htaccess rewrite setup"
 +    * ref:
 +      * https://help.vodien.com/articles/change-database-configuration-in-wordpress/
  
 **Problem and Issue on Restore** **Problem and Issue on Restore**
Line 321: Line 324:
   * use non-standard webfont or any font for wordpress   * use non-standard webfont or any font for wordpress
     * convert to web font format and css code it into page     * convert to web font format and css code it into page
-    * online web font convertor: http://www.web-font-generator.com/+    * online web font convertor: https://transfonter.org/
     * online font source: http://sc.chinaz.com/     * online font source: http://sc.chinaz.com/
  
Line 627: Line 630:
     * WP Mobile Menu (more like replace built-in mobile menu): https://wordpress.org/plugins/mobile-menu/     * WP Mobile Menu (more like replace built-in mobile menu): https://wordpress.org/plugins/mobile-menu/
   * custom menu per page:   * custom menu per page:
-    * conditional menu: https://wordpress.org/plugins/conditional-menus/+    * conditional menu: https://wordpress.org/plugins/conditional-menus/ (70k, 1yo) (menu level condition only) 
 +    * If menu - visibility control https://wordpress.org/plugins/if-menu/ (80k, 1yo) (menu item level) 
 +      * ref: https://betterstudio.com/blog/conditional-menu-in-wordpress/
     * (above is better and newer) CE WP-Menu per Page: https://ppfeufer.de/wordpress-plugin/ce-wp-menu-per-page/     * (above is better and newer) CE WP-Menu per Page: https://ppfeufer.de/wordpress-plugin/ce-wp-menu-per-page/
 +    * coding method: https://www.youtube.com/watch?v=OFieHs4E-P4
   * Admin Panel enhance   * Admin Panel enhance
     * Admin menu editor: (change names admin menu to fit function)     * Admin menu editor: (change names admin menu to fit function)
Line 813: Line 818:
     * it is limited by hosting setting, and ideally should be fixed in host control panel, php upload and memory size     * it is limited by hosting setting, and ideally should be fixed in host control panel, php upload and memory size
     * reason:     * reason:
-      * upload_max_filesize: max upload file size in php +      * upload_max_filesize: max upload file size in php (base limit) 
-      * post_max_size: max upload file size in form submit +      * post_max_size: max upload file size in form submit (level 2 limit > base limit) 
-      * memory_limit: php memory limit, should larger than upload file size.+      * memory_limit: php memory limit, should larger than upload file size. (level 3 limit > level 2 limit > base limit)
     * solution:     * solution:
       * for godaddy solution (cPanel php version setting): https://www.youtube.com/watch?v=YmS92xfmbFU       * for godaddy solution (cPanel php version setting): https://www.youtube.com/watch?v=YmS92xfmbFU
 +        * cPanel: select PHP version > PHP option: memory limit no touch (default), change upload limit to 64MB, post limit (64MB)
       * for other method:       * for other method:
           * php.ini method (runtime override): https://www.youtube.com/watch?v=_K7Z3SzVAIo           * php.ini method (runtime override): https://www.youtube.com/watch?v=_K7Z3SzVAIo
Line 923: Line 929:
  
 ====== Problem and Solution ====== ====== Problem and Solution ======
- 
  
   * Problem: WP plugin - Elementor widget panel keep loading:   * Problem: WP plugin - Elementor widget panel keep loading:
     * solution:      * solution: 
 +      - sometimes, it maybe browser cache mess up, just open a private browser tab to see if works or not, if not then try following
       - memory not enough, go cPanel File Manager, site location       - memory not enough, go cPanel File Manager, site location
       - edit wp-config.php, under define('WP_DEBUG', false); line add <code>       - edit wp-config.php, under define('WP_DEBUG', false); line add <code>
Line 937: Line 943:
     * Solution: if you use SSL in your website, most likely, the Chrome didn't load your site in https by default, that you need to force all browser to load https version instead of http version     * Solution: if you use SSL in your website, most likely, the Chrome didn't load your site in https by default, that you need to force all browser to load https version instead of http version
       * the plugin: https://wordpress.org/plugins/wp-force-ssl/       * the plugin: https://wordpress.org/plugins/wp-force-ssl/
 +
 +  * Problem: run Elementor update ruin the whole wordpress
 +    * solution: disable all the plugin and only on Elementor, then run data updater, after it is done, reactive the old plugins
 +
 +  * Problem use http or https link inside wordpress in transition period
 +    * Solution: if you will use ssl and https is the way, but sometimes "mixed content" in page, with https and http will make browser complain, sometimes for internal resource, you may use "protocol relative url" like "//doc/my.pdf"
 +    * research more: https://security.stackexchange.com/questions/216804/whats-the-security-risk-of-using-a-protocol-relative-url-in-a-css-stylesheet
  • appwiki/wordpress.1632168486.txt.gz
  • Last modified: 2021/09/20 20:08
  • by ying