autotutorial
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Display same site from two domains on a multisite installHi I’m sorry for your problem https://codex.wordpress.org/Create_A_Network
wordpress redirects if the domain does not match, also keep in mind that all javascript, css files must be replaced with the appropriate domain.
For not multisite:https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/ for page,post etc.
https://wordpress.org/plugins/multiple-domain/ for domain
There is a way to add domain based logic to my themes?
Absolutely. You can use the MULTPLE_DOMAIN_DOMAIN constant to get the current domain. Just notice that since this
value is checked against plugin settings, it may not reflect the actual domain in HTTP_HOST element from $_SERVER or
userβs browser. It also may include the host port when itβs different than 80 (default HTTP port) or 443 (default HTTPS
port).For multisite and multinetwork
https://wordpress.org/plugins/wp-multi-network/ read all the instructions before installing
I’m sorry I don’t know how it’s possible to change dynamically on the multisite
Multisite WordPress 4.5 or higher, secondary sites can be associated with non-network top-level domains without any plugins.Prove this
// Multisite define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); define( 'PATH_CURRENT_SITE', '/' ); //or /blog/ define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] ); // Likely not needed anymore (your config may vary) //define( 'SITE_ID_CURRENT_SITE', 1 ); //define( 'BLOG_ID_CURRENT_SITE', 1 ); // Uncomment and change to a URL to funnel no-site-found requests to //define( 'NOBLOGREDIRECT', '/404/' ); /** * These are purposely set for maximum compliance with multisite and * multinetwork. Your config may vary. */ define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] ); define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] );and
// Cookies //define( 'COOKIEHASH', md5( 'yourrootdomain.com' ) ); define( 'COOKIE_DOMAIN', '' ); define( 'COOKIEPATH', '' ); define( 'SITECOOKIEPATH', '' ); define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH ); //define( 'TEST_COOKIE', 'thing_test_cookie' ); //define( 'AUTH_COOKIE', 'thing_' . COOKIEHASH ); //define( 'USER_COOKIE', 'thing_user_' . COOKIEHASH ); //define( 'PASS_COOKIE', 'thing_pass_' . COOKIEHASH ); //define( 'SECURE_AUTH_COOKIE', 'thing_sec_' . COOKIEHASH ); //define( 'LOGGED_IN_COOKIE', 'thing_logged_in' . COOKIEHASH );this is an example of a subdirectory installation for the root, blog_id and site_id will always be 1 for the network.
read the last message for cookie dynamics https://wordpress.org/support/topic/multisite-single-database-in-subdirectories-with-different-domain-names/#post-11506866 for path /blog/ and /- This reply was modified 7 years ago by autotutorial.
- This reply was modified 7 years ago by autotutorial.
Forum: Fixing WordPress
In reply to: Jetpack – Error Details: Unable to insert blogHi, I’m sorry for your problem write in the jetpack section for best support https://wordpress.org/support/plugin/jetpack/
Forum: Fixing WordPress
In reply to: PHP 7.3.5 array or an object that implements Countable inthe last update of the plugin dates back two years ago https://wordpress.org/plugins/equal-height-columns/ to use it I manually modify the code or search for more
Forum: Fixing WordPress
In reply to: Multisite images not working anymore.very well there are no problems loading files.
does this folder shop really exist?
you can add a rewrite rule before # uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-content/blogs.dir/5/files/$2 [L]
π
when this rule is present, do not upload any filesForum: Fixing WordPress
In reply to: Multisite images not working anymore.if from the site 5 loads foto.png via ftp you find it in this path wp-content/blogs.dir/5/files/foto.png ?
Forum: Fixing WordPress
In reply to: Error in WordPress editor after upgrade to WP5.2Guterbang communicates in javascript with the REST API surely it is a cache problem or that php is limited by something.
Ask your host if there is a cache somewhere?
You need to clear your, hosting cache, CDN, plugins, your browser and check that there is nothing in your cpanel that uses caches or somehow makes all versions of php compatible (usually this also uses a cache)Forum: Localhost Installs
In reply to: Error establishing a database connection with XAMPPany host indicates remote access to any ip while the server is blocked on the local ip. I’m glad you solved it and after reading that a charity site I can claim to have done something good for today π
https://mariadb.com/kb/en/library/configuring-mariadb-for-remote-client-access/Forum: Fixing WordPress
In reply to: The Mixed content tests failedDisable really simple SSL https://wordpress.org/support/topic/the-mixed-content-tests-failed/#post-11531331
Edit with http url
https://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php
Enable hidden file https://wordpress.org/support/article/changing-file-permissions/#unhide-the-hidden-files- This reply was modified 7 years ago by autotutorial.
- This reply was modified 7 years ago by autotutorial.
Forum: Fixing WordPress
In reply to: The Mixed content tests failedstef the plugin really simple ssl modify home and site in https inside the database for this there is the procedure described by me.
- This reply was modified 7 years ago by autotutorial.
Forum: Fixing WordPress
In reply to: The Mixed content tests failedNo.
stef any plugin or theme has its procedure to be disabled now it has become old to rename the plug-in folder, first google go read all the notes on the plugin and then decide. practically set the cloudflare dns but cloudflare does not communicate with the name server offered by its hosting … the hosting does not receive a correct name server carries out a redirection to the main domain (the initial registration screen, offers that is visible when you access the your hosting portal)- This reply was modified 7 years ago by autotutorial.
Forum: Fixing WordPress
In reply to: The Mixed content tests failedcontact your hosting currently you see the page of your hosting and not of your domain http://physicsclass.ml/ … you will have wrong to configure the DNS
When you have solved the problem with your dns and want to disable really simple ssl go here https://really-simple-ssl.com/knowledge-base/uninstall-websitebackend-not-accessible/
also make sure that with filezilla and after enabling the hidden files that in the .haccess file there are no redirects in https- This reply was modified 7 years ago by autotutorial.
Forum: Fixing WordPress
In reply to: The Mixed content tests failed@serafinnyc stef i’m sorry i can’t write correctly in english but after having solved the DNS confihuration problem you’ll have to install the cloudflare plugin and install another plugin to change article ,posts with the http prefix in https … read well the title mixed content solved π
Forum: Fixing WordPress
In reply to: The Mixed content tests failed@serafinnyc the cache is not needed on wp-admin / indeed creates problems. If it is an installation from wordpress.org the hosting cannot work miracles while if it is wordpress adapted with cloudflare from your hosting it can avoid the problem of redirects and the cache. However jetpack that is managed by automatic (the one who manages wordpress) indicates how to disable the cache for wp-admin /.
I agree that the configurations for cloudflare are wrong, you have to talk to your hosting because we are talking about wordpress and there is hardly anyone who can help you.
Forum: Fixing WordPress
In reply to: The Mixed content tests failedask your hosting if there are already cloudflare settings in your wordpress if they are missing you must follow this link https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/#post-11512159
Ask about how to enable cloudflare on your hosting π
Forum: Fixing WordPress
In reply to: Multisite images not working anymore.Options -indexes # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] </IfModule> # END WordPressDelete all htaccess files and only create this one in the main root.
upload a new image and check if you see it in the media library, if you see it it means that after a certain date the media library no longer shows the old uploads.