Title: autotutorial's Replies - page 17 | WordPress.org

---

# autotutorial

  [  ](https://wordpress.org/support/users/autotutorial/)

 *   [Profile](https://wordpress.org/support/users/autotutorial/)
 *   [Topics Started](https://wordpress.org/support/users/autotutorial/topics/)
 *   [Replies Created](https://wordpress.org/support/users/autotutorial/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/autotutorial/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/autotutorial/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/autotutorial/engagements/)
 *   [Favorites](https://wordpress.org/support/users/autotutorial/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 241 through 255 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/16/?output_format=md)
[1](https://wordpress.org/support/users/autotutorial/replies/?output_format=md) 
[2](https://wordpress.org/support/users/autotutorial/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/autotutorial/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/autotutorial/replies/page/16/?output_format=md)
17 [18](https://wordpress.org/support/users/autotutorial/replies/page/18/?output_format=md)…
[46](https://wordpress.org/support/users/autotutorial/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/autotutorial/replies/page/47/?output_format=md)
[48](https://wordpress.org/support/users/autotutorial/replies/page/48/?output_format=md)
[→](https://wordpress.org/support/users/autotutorial/replies/page/18/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [SSL WP, Or Theme? _autoload() spl deprecation on 4.8.9 and PHP 7.2](https://wordpress.org/support/topic/ssl-wp-or-theme-_autoload-spl-deprecation-on-4-8-9-and-php-7-2/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/ssl-wp-or-theme-_autoload-spl-deprecation-on-4-8-9-and-php-7-2/#post-12186088)
 * 4.9 for php 7.2 [PHP 7.2](https://wordpress.org/support/wordpress-version/version-4-9/#miscellaneous)(
   WordPress core)
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Make Option for WP CRON to be called at specified interval](https://wordpress.org/support/topic/make-option-for-wp-cron-to-be-called-at-specified-interval/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/make-option-for-wp-cron-to-be-called-at-specified-interval/#post-12184819)
 * hello welcome, the update of the core does not alter your wp-config.php file 
   in any way, at the moment you can disable all the hits and enable cron from the
   outside.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [www.www after detaching redirect chain](https://wordpress.org/support/topic/www-www-after-detaching-redirect-chain/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/www-www-after-detaching-redirect-chain/#post-12181990)
 * Sorry, first domain.
 *     ```
       # Canonical WWW/HTTPS
       <IfModule mod_rewrite.c>
       	RewriteCond %{HTTP_HOST} ^example\.com [NC,OR]
       	RewriteCond %{HTTPS} off
       	RewriteRule (.*) https://www.example.com/$1 [L,R=301]
       </IfModule>
       ```
   
 * If start different example.com or not use https, redirect default domain, to 
   [https://www.example.com/](https://www.example.com/) ( otherwise https is in 
   use in another domain [https://subdomain.example.com/](https://subdomain.example.com/))
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Out of memory in wp-db.php when trying to edit the front page](https://wordpress.org/support/topic/fatal-error-out-of-memory-in-wp-db-php-when-trying-to-edit-the-front-page/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-out-of-memory-in-wp-db-php-when-trying-to-edit-the-front-page/#post-12181936)
 * You can change? [wp-db.php](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-includes/wp-db.php#L1994)
   `
   if ( $this->use_mysqli && $this->result instanceof mysqli_result ) {` with
 *     ```
       $mysqli_results = 'mysqli_result';
       if ( $this->use_mysqli && $this->result instanceof $mysqli_results ) {
       ```
   
 * Maybe Compatible If you check from inside another namespace.
    [https://stackoverflow.com/questions/12197552/mysqli-equivalent-of-is-resource#comment87786091_12197693](https://stackoverflow.com/questions/12197552/mysqli-equivalent-of-is-resource#comment87786091_12197693)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [www.www after detaching redirect chain](https://wordpress.org/support/topic/www-www-after-detaching-redirect-chain/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/www-www-after-detaching-redirect-chain/#post-12181500)
 * This for http or `www.example.com` and target [https://example.com](https://example.com)
 *     ```
       # Canonical HTTPS/non-WWW
       <IfModule mod_rewrite.c>
       	RewriteCond %{HTTPS} off [OR]
       	RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
       	RewriteRule (.*) https://example.com/$1 [L,R=301]
       </IfModule>
       ```
   
 * This for http or `example.com` and target [https://www.example.com](https://www.example.com)
 *     ```
       # Canonical HTTPS/WWW
       <IfModule mod_rewrite.c>
       	RewriteCond %{HTTPS} off [OR]
       	RewriteCond %{HTTP_HOST} ^example\.com [NC]
       	RewriteRule (.*) https://www.example.com/$1 [L,R=301]
       </IfModule>
       ```
   
 * General settings – [https://www.example.com](https://www.example.com)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [updating failed when wordpress address differs from site address (wp 5.3)](https://wordpress.org/support/topic/updating-failed-when-wordpress-address-differs-from-site-address-wp-5-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/updating-failed-when-wordpress-address-differs-from-site-address-wp-5-3/#post-12181261)
 * [https://wordpress.org/plugins/tags/cors/](https://wordpress.org/plugins/tags/cors/)(
   cross-domain).
    [https://stackoverflow.com/questions/25702061/enable-cors-on-json-api-wordpress](https://stackoverflow.com/questions/25702061/enable-cors-on-json-api-wordpress)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [WP Multisite not accessible over internet](https://wordpress.org/support/topic/wp-multisite-not-accessible-over-internet/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wp-multisite-not-accessible-over-internet/#post-12179043)
 * try creating the network with your ip for internet.
    secondary sites will take
   the same path as the network. Network – [http://82.64.xx.xx/WordPress/wp-admin/network/](http://82.64.xx.xx/WordPress/wp-admin/network/)
   Secondary site – [http://82.64.xx.xx/WordPress/ns1/](http://82.64.xx.xx/WordPress/ns1/)(
   adding ns1 to the creation of secondary sites). [Restrictions](https://wordpress.org/support/article/before-you-create-a-network/#restrictions)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Getting a multi-site to work](https://wordpress.org/support/topic/getting-a-multi-site-to-work/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/getting-a-multi-site-to-work/page/2/#post-12174913)
 * this is great news.
    out of curiosity, did importing the file (on the secondary
   site) create the wp / content / uploads / site / directory and other numbers 
   or does it reside in uploads?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Getting a multi-site to work](https://wordpress.org/support/topic/getting-a-multi-site-to-work/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/getting-a-multi-site-to-work/#post-12174835)
 * [https://network.com/wp/wp-admin/network/site-info.php?id=2](https://network.com/wp/wp-admin/network/site-info.php?id=2)(
   [https://network.com/wp/ns1/](https://network.com/wp/ns1/) for example) – secondary
   site.
 * secondary installaction WordPress – [https://network.com/wp2/](https://network.com/wp2/)
 * It deletes the superfluous contents in the secondary site inside the multisite.
   
   Search and replace to old site into new site, old [https://network.com/wp2/](https://network.com/wp2/)
   new [https://network.com/wp/ns1/](https://network.com/wp/ns1/) (secondary site)**
   For Database** normally a search is not recommended and replace raw, use a plugin
   or a php script to do this job. It is also true that you cannot search and replace
   that is already used. It means if you have multisite wp/ and single site wp2/
   you don’t have to replace with these paths .. Even if in htaccess there is the
   rule if it is not file go to index.php, at most it replicates the single on a
   single instance. Maybe you don’t really need to change the path in the xlm file
   generated by the import (I hope wordpress translates the old path into the new
   one automatically into secondary site WordPress multisite)
 * Plugin or script `https://wordpress.org/support/article/moving-wordpress/#changing-
   your-domain-name-and-urls`
    obviously you need to create backups of your files
   and database before deleting (files and databases) the secondary installation.
   Import xml into [https://network.com/wp/ns1/](https://network.com/wp/ns1/) (secondary
   site)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Getting a multi-site to work](https://wordpress.org/support/topic/getting-a-multi-site-to-work/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/getting-a-multi-site-to-work/#post-12174701)
 * two wordoress installations actually have separate directories while creating
   a secondary site means giving a virtual path (multisite with subdirectories) 
   or with subdomain .. then clicking on edit you can map on a new domain (in wordoress
   is called domain mapping) an external site a multisite WordPress is not a secondary
   site (the secondary site refers to the network).
    follows the textual explanation:
   Create network (it’s the domain for multisite installatcion).
 * network – [https://network.com/wp/](https://network.com/wp/)
 * secondary site – [https://network.com/wp/ns1/](https://network.com/wp/ns1/) (
   virtual path) or [https://ns1.network.com/](https://ns1.network.com/)
 * Domain mapping (**of one network**,
 * > network [https://network.com/wp/](https://network.com/wp/) subdirectoey or 
   > network [https://network.com/](https://network.com/) into root folder if you
   > want subdomain
 *  ) – any.domain.com
 * Not multisite (secondary installation) – [https://network.com/wp2/](https://network.com/wp2/)
 * Import manually into Multisite [https://premium.wpmudev.org/blog/move-wordpress-site-multisite-network/](https://premium.wpmudev.org/blog/move-wordpress-site-multisite-network/)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Date format issue](https://wordpress.org/support/topic/date-format-issue-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/date-format-issue-3/#post-12170781)
 *     ```
       <?php 
       function yournamefunction() {
       $create = get_post_modified_time('d/m/Y \a\l\l\e g:i A',true );
       return $create;
       }
   
       add_action('get_the_time','yournamefunction');
       ```
   
 * does it work for you? With $gmt to true
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Date format issue](https://wordpress.org/support/topic/date-format-issue-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/date-format-issue-3/#post-12168778)
 * instead of modifying you can change the display with filters and php code. (if
   you really don’t want to use the **general setting** of date_format).
    [https://developer.wordpress.org/reference/hooks/get_the_date/](https://developer.wordpress.org/reference/hooks/get_the_date/)
   [https://developer.wordpress.org/reference/hooks/get_post_modified_time/](https://developer.wordpress.org/reference/hooks/get_post_modified_time/)
   in mysql the dates must be archived `YYYY-MM-DD hh:mm:ss` for column **DATETIME**
   Recover the date from the database and calculate the difference of your offeset
   if you don’t have UTC as default.
 * [https://wordpress.org/support/topic/problems-with-timezone-when-using-new-function-wp_date/#post-12155158](https://wordpress.org/support/topic/problems-with-timezone-when-using-new-function-wp_date/#post-12155158)
   
   Classe DateTime PHP example. I hope it helps you
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invalid argument supplied for foreach() in class-wp-post-type.php](https://wordpress.org/support/topic/invalid-argument-supplied-for-foreach-in-class-wp-post-type-php/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/invalid-argument-supplied-for-foreach-in-class-wp-post-type-php/#post-12168012)
 * WordPress 5.3 add supports array for register_post_type() [https://make.wordpress.org/core/2019/10/15/miscellaneous-developer-focused-changes-in-5-3/](https://make.wordpress.org/core/2019/10/15/miscellaneous-developer-focused-changes-in-5-3/)
   
   Add args before wordpress 5.3 supports had no arguments, mistakenly you could
   use `supports` with a string value, from WordPress 5.3 must be Array. Compatibility
   php 7.4, it is required that the variable is initialized in the type of final
   data. This generates a warning
 *     ```
       $val = false;
       $val[0];
       ```
   
 * So for theme and plugin make sure they are tested with the current version Tested
   up to: WordPress version [https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-requirement/](https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-requirement/)
   
   WordPress 5.3 core supports php 7.4
 * > [WordPress and PHP 7.4](https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/)
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error on upgrade to PHP 7.3](https://wordpress.org/support/topic/fatal-error-on-upgrade-to-php-7-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-upgrade-to-php-7-3/#post-12166001)
 * Do you have user.ini or php.ini (created by plugins) inside the wordpress root?
   
   with the theme twentynineteen the php 7.3 disabled plugins arrive here? [https://github.com/WordPress/WordPress/blob/5.3-branch/wp-settings.php#L151](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-settings.php#L151)
   create a backup of your files and your database. now this code appears below 
   the line I showed you. `error_log('1',3,ABSPATH.WPINC.'/access.log';` check wp-
   includes/access.log (then delete my code for create access.log and delete access.
   log file).
 * I am convinced that the problem is in the Meta Slider plugin.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Getting a multi-site to work](https://wordpress.org/support/topic/getting-a-multi-site-to-work/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/getting-a-multi-site-to-work/#post-12165222)
 * There are many factors for the management of a multiple site, the secondary sites
   are functional only with the rewriting of the url (htaccess for APACHE rewriting
   for ningix) the wp-config.php contains the reference for your network.
    If you
   don’t have support from your hosting, you need to consider moving to another 
   hosting. Are you with ningix under APACHE or do you only use APACHE? Does your
   hosting allow you to disable your cache / CDN if you need it?

Viewing 15 replies - 241 through 255 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/16/?output_format=md)
[1](https://wordpress.org/support/users/autotutorial/replies/?output_format=md) 
[2](https://wordpress.org/support/users/autotutorial/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/autotutorial/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/autotutorial/replies/page/16/?output_format=md)
17 [18](https://wordpress.org/support/users/autotutorial/replies/page/18/?output_format=md)…
[46](https://wordpress.org/support/users/autotutorial/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/autotutorial/replies/page/47/?output_format=md)
[48](https://wordpress.org/support/users/autotutorial/replies/page/48/?output_format=md)
[→](https://wordpress.org/support/users/autotutorial/replies/page/18/?output_format=md)