Wildcard subdomain for the same site

In WordPress you can easily do this with sub-directories like example.com/user1 Sub-domain & URL Strategy Having username.domain.com will prevent you in the future from having your own sub-domains like shop.example.com and will plague you if you wanted to use www.example.com or just http://example.com Finally … what if some user wants to use expletives or special … Read more

What is the best way to load the WP environment in a subdomain of my multisite WordPress install?

Use the defines to make it pick the site you want it to pick. You can define these four to setup the $current_site values properly: DOMAIN_CURRENT_SITE, PATH_CURRENT_SITE, SITE_ID_CURRENT_SITE, BLOG_ID_CURRENT_SITE. If you check the wpmu_current_site() function in ms-load.php, you’ll see that it uses those to create the $current_site global. You may or may not have to … Read more

SSL wildcard issue for wp multisite subdomains

my name is Daniel Kanchev and I work for SiteGround as a Senior Web Apps Engineer. The described issue is pretty strange and I just configured a test WordPress Network on one SiteGround shared server. I did not face any similar issues and I used sub-domain names with a wildcard SSL certificate. Usually such issues … Read more

Blog posts on one subdomain, pages on another

I might have a solution for you. First steps: Within your domain’s DNS manager you need to create a CNAME record. The name would be blog and the hostname would be your domain name. This is necessary because the browser needs to know where to point the subdomain blog.mydomain.com to; Second, you need to tell … Read more

WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me

Appart of the default ports and correctly configuring WPMS… In the Advanced Tab: And manually add the subdomains in /etc/hosts1 file: # BRASOFILO MULTISITE START 127.0.0.1 test1.brasofilo.dev 127.0.0.1 test2.brasofilo.dev 127.0.0.1 cloned.brasofilo.dev # BRASOFILO MULTISITE STOP 1 The folder etc is at the root of your HD and it’s hidden. You can open the file using … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)