Title: autotutorial's Replies - page 4 | 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 - 46 through 60 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/3/?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)
4 [5](https://wordpress.org/support/users/autotutorial/replies/page/5/?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/5/?output_format=md)

 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [connect to remote mysql](https://wordpress.org/support/topic/connect-to-remote-mysql/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/connect-to-remote-mysql/#post-12326016)
 * After enabling mysql on external connection you have to create the database and
   the user.
    [https://dev.mysql.com/doc/refman/5.7/en/account-names.html](https://dev.mysql.com/doc/refman/5.7/en/account-names.html)
   From phpmyadmin the HOST field set to ANY_HOST enables remote IP, obviously before
   you have to unlock the mysql file. [https://dev.mysql.com/doc/refman/5.7/en/problems-connecting.html](https://dev.mysql.com/doc/refman/5.7/en/problems-connecting.html)
 * > If the server was started with the skip_networking system variable enabled,
   > it will not accept TCP/IP connections at all. If the server was started with
   > the bind_address system variable set to 127.0.0.1, it will listen for TCP/IP
   > connections only locally on the loopback interface and will not accept remote
   > connections.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Server hostname instead of site url in multisite](https://wordpress.org/support/topic/server-hostname-instead-of-site-url-in-multisite/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/server-hostname-instead-of-site-url-in-multisite/#post-12321509)
 * make sure to enclose the strings with single quotes or double quote, also please
   when writing code press the code code thank you.
 *     ```
       $var = 'single quote';
       $var2 = "double quote";
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirecting from “d & m” to “post name” permalink format issue](https://wordpress.org/support/topic/redirecting-from-d-m-to-post-name-permalink-format-issue/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/redirecting-from-d-m-to-post-name-permalink-format-issue/#post-12321036)
 * `^(/)?[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*)$ $2`
    Prove this without start /.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Slow Redirect](https://wordpress.org/support/topic/slow-redirect-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/slow-redirect-3/#post-12317940)
 * Was the site created (by WordPress) without the www domain?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Server hostname instead of site url in multisite](https://wordpress.org/support/topic/server-hostname-instead-of-site-url-in-multisite/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/server-hostname-instead-of-site-url-in-multisite/#post-12317933)
 * `https://wordpress.org/support/topic/mapping-domain-on-the-same-ip-address-same-
   hosting/#post-12310641`
    Copy and paste this url in your browser, essentially
   before creating a network you are using a single installation of WordPress and
   therefore after the transformation into a Multisite the primary site (the single
   WordPress site) will have the blog suffix example [http://example.com/blog/sample-page](http://example.com/blog/sample-page).
   If you use the same domain you don’t have to have big differences. To offer help
   I need to know the initial and final domain, thank you.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [localhost xampp error 310 .htaccess](https://wordpress.org/support/topic/localhost-xampp-error-310-htaccess/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/localhost-xampp-error-310-htaccess/#post-12317732)
 * Before performing a redirect you must understand the origin of the data and then
   you can create one more rules for the redirect.
    If you blindly modify even the
   plugin it can not help since mod_rewrite uses a regex but the regex created by
   an inexperienced user may not be the expected result. please can you share all
   url structures and how to transform them?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to update PHP & only show errors to admin](https://wordpress.org/support/topic/how-to-update-php-only-show-errors-to-admin/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/how-to-update-php-only-show-errors-to-admin/#post-12317708)
 * It is a discourse related to your hosting company, if htaccess, ini_set, php.
   ini, user.ini is not blocked you can hide the errors from all otherwise you must
   ask your hosting how to enable php errors and disable the errors on the screen.
   
   WordPress code.
 *     ```
       // wp-config.php Before require_once
       define('WP_DEBUG_DISPLAY', false);
       //or ini_set or php.ini or user.ini 
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Yet another too many redirects: WP 5.3.2 on AWS VM](https://wordpress.org/support/topic/yet-another-too-many-redirects-wp-5-3-2-on-aws-vm/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/yet-another-too-many-redirects-wp-5-3-2-on-aws-vm/#post-12317530)
 * WordPress redirects if it is not your WP_HOME if you define this constant WordPress
   does not redirect. (if you have configured the virtual host with the value of
   a `HOST: gopotatomusic.com` header).
    I hope, this help
 *     ```
       define( 'WP_HOME', 'http://gopotatomusic.com');
       define( 'WP_SITEURL', 'http://gopotatomusic.com');
       ```
   
 * Example Virtual host [https://www.ostechnix.com/configure-apache-virtual-hosts-ubuntu-part-1/](https://www.ostechnix.com/configure-apache-virtual-hosts-ubuntu-part-1/)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite issue on domain not pointing to Public_html](https://wordpress.org/support/topic/multisite-issue-on-domain-not-pointing-to-public_html/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/multisite-issue-on-domain-not-pointing-to-public_html/#post-12316637)
 * WordPress recommends creating a multisite subdomain when you are in the root 
   directory.
    your root visible to the public is / home/user/public_html while 
   your add on domain is in a folder after zenuacademie, wordpress must know where
   the files reside therefore initially configure with the full path and from sites(
   secondary site for not primary) settings change the path (HOME) the address of
   the site without that folder. try adding
 *     ```
       define ('MULTISITE', true);
       define ('SUBDOMAIN_INSTALL', true);
       define ('DOMAIN_CURRENT_SITE', 'zenuacademie.com');
       //for root / or for folder /folder
       // maybe set this $base = '/zenuacademie';
       define ('PATH_CURRENT_SITE', '/zenuacademie');
       define ('SITE_ID_CURRENT_SITE', 1);
       define ('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * or more simply add a slash to your path, maybe your dns is configured /public_html/
   add-on/ to show http:// add-on/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Media sorted by year has changed its URL to include the current year directory](https://wordpress.org/support/topic/media-sorted-by-year-has-changed-its-url-to-include-the-current-year-directory/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/media-sorted-by-year-has-changed-its-url-to-include-the-current-year-directory/#post-12315972)
 * All settings secondary site with id 2 ( set 0 for upload Year Month) [https://yourdomain.con/wp-admin/network/site-settings.php?id=2](https://yourdomain.con/wp-admin/network/site-settings.php?id=2)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Yet another too many redirects: WP 5.3.2 on AWS VM](https://wordpress.org/support/topic/yet-another-too-many-redirects-wp-5-3-2-on-aws-vm/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/yet-another-too-many-redirects-wp-5-3-2-on-aws-vm/#post-12315873)
 * you don’t have to insert a final slash in the define value for WP_HOME and WP_SITEURL.
   
   Name-based (virtual) hosts configure via server_name and the host header is likely
   that your server has no support for the HOST header. for the moment you have 
   to understand why the redirect, the secondary problems can be resolved later,
   the constants temporarily overwrite the values of your database.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Can I connect to plugins API and display data in a different format?](https://wordpress.org/support/topic/can-i-connect-to-plugins-api-and-display-data-in-a-different-format/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/can-i-connect-to-plugins-api-and-display-data-in-a-different-format/#post-12315475)
 * You have to recover the data and filter what you need, in this scenario you have
   a json answer, so retrieve the date and convert it manually with the DateTime
   class if the format is supported or otherwise date_create_from_format
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [mapping domain on the same IP address (same hosting)](https://wordpress.org/support/topic/mapping-domain-on-the-same-ip-address-same-hosting/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/mapping-domain-on-the-same-ip-address-same-hosting/#post-12310641)
 * For IP you need to ask your hosting.
    With a Multisite you can create your network,
   create secondary sites, from WordPress 4.5 without plug-in, click on edit and
   activate the mapping domain. An example follows: Installation before enabling
   the multisite [http://www.network.com](http://www.network.com) secondary site
   with subdirectory [http://www.network.com/user](http://www.network.com/user) 
   secondary site with subdomain except www [http://user.network.com](http://user.network.com)
   edit for secondary sites (mapping domain) [http://www.newdomain.com](http://www.newdomain.com)
   i hope this helps you. Do not install plugins to create secondary sites with 
   your ip address, wordpress works with the name. I read problems out there consider
   this a tip and not the truth, if you use https for your network be sure to use
   https for secondary sites too. 0) From your browser read the domains (perhaps
   you will also have wildcard extensions for the subdomain) valid for your private
   and cloudflare certificate. 1) Cloudflare by default connects to the origin server
   in http but the client shows https. Ask your hosting how to enable https from
   the origin of your server to the customer. 2) also from cloudflare it is possible
   to create a page rule that excludes any wp-admin path for cache.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Posting variable from one page to another](https://wordpress.org/support/topic/posting-variable-from-one-page-to-another/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/posting-variable-from-one-page-to-another/#post-12306695)
 * You must use isset to check the isset example isset($_POST[‘key’]); obviously
   $_POST is always empty if you don’t use a key and not have value for example:
 *     ```
       $_POST['product'] = '';
       if( $_POST['product'] ) {
       //this false never true
       }
       if( isset($_POST['product'] ) ) {
       //true
       }
       ```
   
 * , also in foreach you can create a container variable and then use echo when 
   you have all the data.
    POST data are visible only on the landing page, you cannot
   redirect. Use SESSION or maybe global $selectedProduct; for function.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [white screen after WP update](https://wordpress.org/support/topic/white-screen-after-wp-update/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/white-screen-after-wp-update/#post-12304215)
 * Make a backup of your wp-config.php and make sure that the wp-config.php is not
   corrupt, because the ABSPATH constant is defined in that context.
 *     ```
       /** Absolute path to the WordPress directory. */
       if ( ! defined( 'ABSPATH' ) ) {
       	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
       }
       /** Sets up WordPress vars and included files. */
       require_once( ABSPATH . 'wp-settings.php' );
       ```
   
 * It would be nice if your hosting does it for you.

Viewing 15 replies - 46 through 60 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/3/?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)
4 [5](https://wordpress.org/support/users/autotutorial/replies/page/5/?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/5/?output_format=md)