Correct Way to Move WordPress to Subdomain and Shop to Stay at root Domain

I have a WordPress website with WooCommerce configured. The root domain xyz.com is set to the shop but the blog is at xyz.com/blog. Now I want to move the blog to blog.xyz.com and keep the shop at the root domain. What would be a best way for this? Do I have to install additional WordPress in some other folder? Or is there is an easy way to do it with the current installation. Thanks.
Topic: dns Wordpress
Category: Web

WordPress WooCommerce email notifications going to spam folder

I have just built a new WordPress site for a client, and repointed the domain's (mellowmarshfarm.com) DNS records to the new hosting service, Flywheel. The client's custom email address is hosted by a different provider, and the notifications for the site are forwarded from WordPress via fw-mail.com, but they are going to the client's and customers' spam folders. I have tried adding x.fw-mail.com to the mail host's SPF record, but it didn't make a difference: v=spf1 ip4:[redacted] include:spf.antispamcloud.com include:x.fw-mail.com +a …
Category: Web

How to properly setup MAMP and XIP

I have a local WordPress install running through MAMP. It's local domain is example.dev I also have the install working with xip.io. It's at example.dev.0.0.0.0.xip.io (0's being my ip address). Right now the only way I seem to be able to get xip.io working is to add define('WP_HOME', 'http://example.dev.0.0.0.0.xip.io'); define('WP_SITEURL', 'http://example.dev.0.0.0.0.xip.io'); to my wp-config.php file. This forces anyone going to example.dev to go to example.dev.0.0.0.0.xip.io The issue is at the office, my computer has a static IP address. At home, …
Category: Web

Can I lock the DNS settings on Android devices?

It is all about being the internet boss. I want to be able to lock in or password protect the DNS settings to OpenDNS, so I can have a safe smartphone, that my kid can use with no fear of accessing pr0n or whatever. Anybody know if this is possible? I don't want to use another method of content filtering.
Category: Android

White Homepage after Domain Name Change

I've done a fair bit of searching and I see that WSOD is common upon changing your domain, however all the fixes I've gone through have not remedied my situation. My new domain is http://uncvrd.co (switching from affinityfm) however, when you follow the link, it only shows a white page. Here are the steps I've taken to attempt a fix: Went to hosting site (hostgator) and switched the primary domain to uncvrd.co In Wordpress settings, I changed the url to …
Category: Web

On a multisite environment, get the subdomain value as variable

I'm trying to setup a multisite where everytime a new site is added, a DNS record is also added in Cloudflare. So far, the code is working but I'm having troubles trying to parse the subdomain value onto a variable. This is the code so far: function create_cloudflare_dns_record() { //$current_site = ''.$get_blog_details->siteurl.''; //$current_site = ''.$substr( $current_site, -8).''; //$current_site = ''.explode('.', $current_site).''; /* Cloudflare.com | APİv4 | Api Ayarları */ $apikey = '778***************************c37'; // Cloudflare Global API $email = 'al******@***********.com'; // …
Category: Web

Multisite domain naming

i am new to wordpress multi-site. We are planning to have PaaS. Internal subdomains i know can be possible to map. However can i use external subdomain via DNA (cname) to map? for example i know that subdomain.mydomain.com is possible but subdomain.notmydomain.com can be possible? what can be the requirements/suggestions for such a setup in terms of hosting. thank you.
Category: Web

Site resolves to www in Firefox and without in Chrome

I am guessing this is being caused by my nginx configuration, however I can not quite figure out how to troubleshoot in order to resolve. I am using Ubuntu 20.04 with a LEMP stack to host a wordpress installation. Everything works fine except this quirk, which is that if I type in the site's URL into Chrome, the site will resolve to 'https://example.com' and everything on the site loads fine. However, in Firefox if I type in the site's URL …
Category: Web

Wordpress Redirects to a cancelled domain, need to change it but can't get to the admin portal

I am working with a WordPress site on AWS wherein the site was mapped to a specific domain. That domain has long since been sold and canceled, so I want to change the domain to something else to access the site content. The issue is, when attempting to navigate to the admin portal through /wp-admin or /wp-login.php or similar, the site redirects me to the naked domain which obviously fails since the DNS is no longer configured there. Can you …
Category: Web

Can't access Wordpress multisite after connecting to domain

Installed Wordpress Subdirectory Multisite on Vultr server, connected Google Domain, but can't access it. It is showing ERR_CONNECTION_TIMED_OUT. When checking DNS, A records are fine, but CNAME records are not. Can't understand why, as in Vultr side I can't add any cname records ( currently it has- cname * mydomain.com) In PowerShell I ran tracert and receive a response as 14 hops and it goes to my Vultr IP. But when typing in the domain name it still shows the …
Category: Web

Domain not redirected correctly with Wordpress Multisite

My Wordpress multisite installation uses two sites: Site 1: www.myexample.com Site 2: blog.myexample.com In addition, I own a second domain myexample2.com, which I would like to redirect to the subdomains of the original domain. Here are its CNAME records in DNS settings: ; A Records @ 600 IN A xxx.xxx.xxx.xxx ; CNAME Records blog 600 IN CNAME blog.myexample.com www 600 IN CNAME www.myexample.com The problem is that when calling blog.myexample2.com the home page www.myexample.com gets loaded instead of blog.myexample.com. The …
Category: Web

Image links broken / "DNS Update Required" message

absolute mess of a WP migration. The basic breakdown of this problem is that I have a collection of images from old blog posts that are not loading, but the posts themselves are. I have, at best, a rudimentary understanding of how this works, so this may be a fairly straightforward fix. For instance: https://www.themagazineantiques.com/article/breaking-tradition-ceramics-by-michelle-erickson/ You'll notice no images appear, though when they were crawled in january, they were present: https://web.archive.org/web/20190110140219/http://www.themagazineantiques.com/article/breaking-tradition-ceramics-by-michelle-erickson/ The current display has all the text from the …
Category: Web

Wordpress multisite with different domain

I'm new in the WordPress world and I've created WordPress multi site. I want to set different domain for my child sites. Lets say my main site is www.myMainSite.com and my child is www.mySonSite.com. I already changed the site URL (In WordPress config) to the new domain (instead of the default sub-domain) but it seems that the link is broken. I know that I need to change some configuration in my server but I didn't mange to do so. I …
Category: Web

Fresh install redirects to www, breaking page loads

I set up a new Wordpress site, wanderandponder.com, on DigitalOcean yesterday. It was on a droplet that also ran several other Wordpress sites, without conflict. However, when accessing the domain, it inexplicably redirects to www.wanderandponder.com, which displays a Namecheap domain parking page. Trying to load any specific page or admin panel returns ERR_EMPTY_RESPONSE. I spun up a fresh droplet and set up a new LAMP stack and Wordpress install, just to encounter the same error. On Namecheap, I set up …
Category: Web

Pointing SSL Enabled URL at Single WordPress Page

Synopsis So, for this example, assume that we have https://example.org hosted on WP Engine. Everything works fine, nothing custom here in regards to the domain mapping. https://example2.org is a separate URL owned by the same client and they would like to have this URL point to a page on the Example website: https://example2.org shows content from https://example.org/subpage while masking the URL as https://example2.org. I have had success in doing this without the SSL but can't seem to figure out how …
Topic: dns ssl Wordpress
Category: Web

WordPress site isn’t reachable after site & home URL modification

First of all the technical details: OrangePi Zero (512Mb) Debian for Orange Pi Apache2 PHP5 MYSQL Wordpress I have at home an OrangePi and I installed a WordPress on it. I registered a DNS name (exlample.ddns.net) on noip.com. I used the following guide to the installation: After the installation, the blog site is at home reachable and manageable, but from outside can't reachable (It try reach my private address): So I modified the site & home URL in WordPress settings. …
Category: Web

All devices on my network redirect me to an old domain

I have moved my website from wordpress.com to a wordpress.org platform. I ordered a new host, meanwhile keeping the old domain. It have been a day since the dns servers were updated and according to my host provider everything is good. The problem I'm facing is that absolutely every device on my network, including mobiles connected trough wi-fi, keeps seeing the older domain when trying to access the website. Everybody else are managing to enter the new domain with the …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.