Title: autotutorial's Replies - page 3 | 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 - 31 through 45 (of 706 total)

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Relative path](https://wordpress.org/support/topic/relative-path-3/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/relative-path-3/#post-12348013)
 * > Yes. You can use the MULTIPLE_DOMAIN_DOMAIN_LANG constant to get the language
   > associated with the current domain. Keep
   >  in mind the value in this constant
   > doesn’t necessarily reflect the actual user language or locale. This is just
   > the language set in the plugin config. Also notice the language may be null.
   > Notice: in prior versions these constants were wrongly prefixed with MULTPLE_,
   > missing the “I”. The old constants
   >  are now deprecated. They still available
   > for backcompat but will be removed in future releases.
 * [Shortcode](https://wordpress.org/plugins/multiple-domain/#can%20i%20show%20the%20current%20domain%20in%20the%20content%20of%20posts%20or%20pages%3F)
 * > Yes. There is a shortcode available for that. Just add [multiple_domain] to
   > the post/page and it’ll be replaced by
   >  the current domain when viewing the
   > content. You can write things like “Welcome to [multiple_domain]!”, which would
   > be rendered as “Welcome to mydomain.com!”.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [External form submission data lost](https://wordpress.org/support/topic/external-form-submission-data-lost/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/external-form-submission-data-lost/#post-12346644)
 * you have no limit to the body of a request except php.ini configurations, did
   your code work on wordpress first? otherwise read how to add query strings to
   a url and register them by default if they are always there.
    [https://developer.wordpress.org/reference/functions/add_query_arg/](https://developer.wordpress.org/reference/functions/add_query_arg/)
   [https://developer.wordpress.org/reference/functions/get_query_var/](https://developer.wordpress.org/reference/functions/get_query_var/)
   also are you opening a url in redirect or making a POST request? In the first
   case, try to see if you get 100 (or different from 200) in response for the status
   code.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [get_avatar_url() with https](https://wordpress.org/support/topic/get_avatar_url-with-https/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/get_avatar_url-with-https/#post-12342642)
 * the set_url_scheme is used [https://developer.wordpress.org/reference/functions/get_avatar_data/](https://developer.wordpress.org/reference/functions/get_avatar_data/)(
   reference for get_avatar_url )
    For default url read line 4226 for link [https://developer.wordpress.org/reference/functions/set_url_scheme/](https://developer.wordpress.org/reference/functions/set_url_scheme/)(
   force it’s with $args[‘url’] or use wp_redirect)
 *     ```
       if ( is_ssl() ) {
               $url = 'https://secure.gravatar.com/avatar/' . $email_hash;
           } else {
               $url = sprintf( 'http://%d.gravatar.com/avatar/%s', $gravatar_server, $email_hash );
           }
       ```
   
 * [https://developer.wordpress.org/reference/functions/wp_redirect/](https://developer.wordpress.org/reference/functions/wp_redirect/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [multisite: Blocked by Content Security Policy instead of Preview as admin](https://wordpress.org/support/topic/multisite-blocked-by-content-security-policy-instead-of-preview-as-admin/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/multisite-blocked-by-content-security-policy-instead-of-preview-as-admin/#post-12342582)
 * that page is in sites, after clicking edit and site settings, obviously you have
   to replace your id with the one you use for the site with the problem, please
   go to that link and report the home and siteurl.
 * this is the function used for the preview [https://developer.wordpress.org/reference/classes/wp_customize_manager/get_return_url/](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_return_url/)(
   it’s use home ) and this for settings new url [https://developer.wordpress.org/reference/classes/wp_customize_manager/set_preview_url/](https://developer.wordpress.org/reference/classes/wp_customize_manager/set_preview_url/)(
   it’s use home ).
    If your siteurl is different from home your error appears.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [multisite: Blocked by Content Security Policy instead of Preview as admin](https://wordpress.org/support/topic/multisite-blocked-by-content-security-policy-instead-of-preview-as-admin/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/multisite-blocked-by-content-security-policy-instead-of-preview-as-admin/#post-12341806)
 * that link is about wordpress 5.0 ( current version WordPress 5.3 ) after clicking
   preview can you manually replace the domain to the SITEURL domain? maybe it’s
   a javascript error.
    Example secondary site ( for id 2 ) all settings, not modify
   please. [http://yourdomain.org/my_directory/wp-admin/network/site-settings.php?id=2](http://yourdomain.org/my_directory/wp-admin/network/site-settings.php?id=2)(
   network )
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP-admin page not loading](https://wordpress.org/support/topic/wp-admin-page-not-loading-6/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/wp-admin-page-not-loading-6/#post-12341427)
 * Good url:
    [http://craftesque.com/wp-admin/](http://craftesque.com/wp-admin/)(
   without subdomain www). WordPress force redirect for not www subdomain.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [It is not possible to register field for settings route in REST API](https://wordpress.org/support/topic/it-is-not-possible-to-register-field-for-settings-route-in-rest-api/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/it-is-not-possible-to-register-field-for-settings-route-in-rest-api/#post-12340751)
 *     ```
       $args = [
       		'get_callback' => function() {
       			return get_option('show_on_front');
       		}
       	];
       ```
   
 *     ```
       // conversion ObjectClousure to native value
       $args['get_callback']();
       ```
   
 * I think args is an array.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Too many redirects – slightly odd](https://wordpress.org/support/topic/too-many-redirects-slightly-odd/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/too-many-redirects-slightly-odd/#post-12340526)
 * [@dippyhull](https://wordpress.org/support/users/dippyhull/) currently your server
   responds with a 302 redirect without a Location header (tells the browser which
   url to go to), if you use WordPress 5.3 there are the files wp-admin/index.php
   and wp-admin/admin.php (this file is takes care of whether you are already connected
   or redirects).
    Don’t edit the files, tell me if they are different, okay? [https://github.com/WordPress/WordPress/blob/5.3-branch/wp-admin/index.php](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-admin/index.php)
   [https://github.com/WordPress/WordPress/blob/5.3-branch/wp-admin/admin.php](https://github.com/WordPress/WordPress/blob/5.3-branch/wp-admin/admin.php)
   Copy this filename .htaccess ( into root folder, / )
 *     ```
       # BEGIN WordPress
   
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
   
       # END WordPress
       ```
   
 * After 30 minutes, use the private mode of chrome.
    is your server enabled to 
   add an index.php in case you use a directory path? For example, [https://lrshull.com/index.php](https://lrshull.com/index.php)
   if I view your home with the index.php file I get a 301 redirect from the server,
   without Location header. The priority is to ask your hosting only after two days
   of no response, add this apache directive [DirectoryIndex](https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [$wp_rewrite->rules is always NULL](https://wordpress.org/support/topic/wp_rewrite-rules-is-always-null/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wp_rewrite-rules-is-always-null/#post-12333919)
 * If $wp_rewrite->rules is null, it not defined use $wp_rewrite->wp_rewrite_rules()
   [https://github.com/WordPress/WordPress/blob/master/wp-settings.php#L433](https://github.com/WordPress/WordPress/blob/master/wp-settings.php#L433)
   
   any path that is not a regular file and any path that is not a folder is redirected
   in index.php by mod_rewrite
    -  This reply was modified 6 years, 4 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: [Header not displaying on all pages & remove index.php from URLs](https://wordpress.org/support/topic/header-not-displaying-on-all-pages-remove-index-php-from-urls/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/header-not-displaying-on-all-pages-remove-index-php-from-urls/#post-12333873)
 * [https://wordpress.org/support/article/using-permalinks/#pathinfo-almost-pretty](https://wordpress.org/support/article/using-permalinks/#pathinfo-almost-pretty)
   
   you are currently using PATHINFO Almost pretty, if you use APACHE you can use
   it on pretty permalink.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [redirection problem](https://wordpress.org/support/topic/redirection-problem-32/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/redirection-problem-32/#post-12332647)
 * Into wordpress folder, fix RewriteBase and %{REQUEST_URI}.
 *     ```
       # BEGIN WordPress
       # Die Anweisungen (Zeilen) zwischen <code>BEGIN WordPress</code> und <code>END WordPress</code> sind
       # dynamisch generiert und sollten nur über WordPress-Filter geändert werden.
       # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben.
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /wordpress/
       RewriteCond %{HTTP:X-Forwarded-Proto} !https
       RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       # force folder, use RewriteRule . /wordpress/index.php
       RewriteRule . /wordpress/index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * Good url:
    [https://www.cameratavocale.de/wordpress/?action=kirki-styles&ver=3.0.45](https://www.cameratavocale.de/wordpress/?action=kirki-styles&ver=3.0.45)
   Bad url (i’m folder , please the end slash for wordpress directory): [https://www.cameratavocale.de/wordpress?action=kirki-styles&ver=3.0.45](https://www.cameratavocale.de/wordpress?action=kirki-styles&ver=3.0.45)
   SSH with certificate (wget): [https://www.gnu.org/software/wget/manual/html_node/HTTPS-_0028SSL_002fTLS_0029-Options.html](https://www.gnu.org/software/wget/manual/html_node/HTTPS-_0028SSL_002fTLS_0029-Options.html)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t update security](https://wordpress.org/support/topic/cant-update-security/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cant-update-security/#post-12326241)
 * Unfortunately, if you don’t own anything, only your hosting can help you.
    the
   login does not work, can you write the error? You are currently using an invalid
   ssl certificate for your domain but the login should work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t update security](https://wordpress.org/support/topic/cant-update-security/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cant-update-security/#post-12326229)
 * If you can have access to FileTransferProtocol (FTP) you can add two constants
   to your wp-config.php file or else you can change the value directly from your
   database, use the first option is recommended. [https://wordpress.org/support/topic/cant-update-security/#post-12326213](https://wordpress.org/support/topic/cant-update-security/#post-12326213)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t update security](https://wordpress.org/support/topic/cant-update-security/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cant-update-security/#post-12326213)
 * Installat certificate (DV for Domain Validation) [https://help.dreamhost.com/hc/en-us/articles/216041537-SSL-certificates-overview](https://help.dreamhost.com/hc/en-us/articles/216041537-SSL-certificates-overview)
 *     ```
       // Temporary Overwrite the Database
       // Before require_once for file wp-config.php
       define( 'WP_HOME', 'http://www.team5924.org' );
       define( 'WP_SITEURL', 'http://www.team5924.org' );
       // Please without the end slash /
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site down because of General Settings error](https://wordpress.org/support/topic/site-down-because-of-general-settings-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/site-down-because-of-general-settings-error/#post-12326100)
 * If you can access FTP you can add the constants for the wp_config.php file, then
   you can overwrite the database with a wordpress function, but first log in then
   I give you directions.

Viewing 15 replies - 31 through 45 (of 706 total)

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