3

A CNAME is not a redirect. When you use a CNAME, the traffic for both domains is sent to the same IP address. The behavior of the site that users see when you use a CNAME record is identical to what users see when you use an A record with the IP address of the other server. The type of DNS record you use has no bearing on how your site behaves. You can'...


2

Think there's a misunderstanding: Woocommerce geolocate doesn't create duplicate content for other localities: it merely redirects to circumvent caching to accurately determine country accessing the URL. Yes it is well known that Woocommerce geolocate both slows pages and conflicts with some plugins. I've found no efficient workaround so have disabled ...


2

Another way is to use the RedirectMatch directive. RedirectMatch temp "^/folder\ (?!\ /subfolder| /exclude-file1\.html$|\ /exclude-file2\.html$|\ /exclude-dir)(.*)$" \ "/folder/subfolder/$1" As single line RedirectMatch temp "^/folder(?!/subfolder|/exclude-file1\.html$|/exclude-file2\.html$|/exclude-dir)(.*)$" "/folder/...


1

A RewriteRule only matches the file path. You can't include part of the domain name in the rewrite rule because the rule will never match it. To match something at the start of the path, use the "starts with" regex operator: ^. To ensure that you are not matching anything in sub-directories, make sure not to match any slashes in your pattern. [^/...


1

I have my personal blog hosted at gitlab with a custom domain and it is available at both domains after I created the custom domain. I thought it would redirect and perhaps there is a way to do that, but it seems to simply appear at both. There may be some type of fix for that by now, but there is an old forum post discussing javascript solutions to this (...


1

If the sites are all using either HTTP or HTTPS - meaning you do not have https://example.com and http://example.net, but either http://example.com + http://example.net + http://example.org - or https://example.com + https://example.net + https://example.org - Google Analytics should have this data under Acquisition > All Traffic > Referrals. Anyone ...


1

In GSC, add the shop subdomain as a profile and make sure there is a profile for the main domain too. Give the new profile(s) a day or two to get situated. If you haven't already, pick either www or non-www for your main site and make sure the URLs with the one redirect to the URLs of the other. Here's how to do with Apache for instance: https://www....


1

If you can get approved on one of your websites, it would be possible to redirect the other website to it and show its content there with ads. However, just because a website is approve for AdSense, doesn't mean that it will stay that way. Your AdSense approval can be revoked for violating the terms of service. You can only display ads on pages that are ...


Only top voted, non community-wiki answers of a minimum length are eligible