Tag Info

New answers tagged

1

As w3d suggested in the comments, you have an open parenthesis, but not one to close it RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\?sek-muenchenstein\.ch$ [NC] # right here -------------^ RewriteRule ^(.*)$ http://muenchenstein.sek-am.ch/ [R=301,L] Also, in the COND line, you have www\?. I think this might be wrong too, it's now literally looking for ...


1

This is from: https://support.google.com/analytics/answer/2795830?hl=en. In particular, to answer your question, I've bolded a specific sentence. How excluding referral traffic affects your data By default, a referral automatically triggers a new session. When you exclude a referral source, traffic that arrives to your site from the excluded ...


2

When logged onto Google Analytics, go to the Admin page. In the middle column under PROPERTY, click the drop down box and click Create New Property at the bottom. This will allow you to add a new website/domain and track it from within your account.


1

If you point two domains to the same website/content this is duplicate content and exactly what Google does not want. They want one authoritative URL for all content to display in their search results. If you want two domains to display the same content you need to decide which one is the one you want in Google's search results and make that the canonical ...


1

Personally, I would point the A record to the same server. No need to touch the CNAME (in this case, or indeed, many cases). Very simply: CNAME is basically an alias, a forwarder. So, a request comes in to the registrar, hits the CNAME which looks up the relevant A record. Now a days, we just create more A records so we can avoid the CNAME look up, the ...


1

From a SEO standpoint, running the same site on 2 different domains will not give you any potential advantage, Google avoids indexing copies of web pages. In fact, potential duplication issues might lead to penalties like Google Panda update. On the other hand, if you would like users typing in example.net to reach the same site, you might want to do a ...


0

Under normal circumstances, any domain name, regardless of what you do with it, should have an A record that ties the domain name to an IP address. Do not try and use a CNAME for this. Any sub-domain, and www is a sub-domain, should have an CNAME pointing to the parent domain or optionally an A record just like the parent domain. Using a CNAME is traditional ...


0

You can only do this from DNS with a subdomain, not with subfolders. For subfolders, you need to do a proxy-pass - here's how it's done in Apache (version 2.4 and above): ProxyRequests Off ProxyPass /subfolder/ http://otherdomain.com/ ProxyPassReverse /subfolder/ http://otherdomain.com/ <Location /subfolder/> ProxyHTMLEnable On ProxyHTMLURLMap ...


2

This definitely can't be done with DNS. I think the real question you want to solve is "How do I allow cross-domain PHP and fonts?" To enable cross-domain PHP and font files (this is probably all you need) you would add the 'Access-Control-Allow-Origin' header to domain2's configuration, like so Apache: Header add Access-Control-Allow-Origin ...


0

This cannot be done via DNS. You either need to do it at the web server level (.htacess apache / rewrite rules IIS), or via a script that runs ASP.net, PHP, Perl etc. Essentially you need to change the response header to moved, and dns cannot do that.


1

Sure, cross-domain is fine. Using .mobi was very popular for a while, other sites just use "m.theirdomain.com", it's essentially up to you. Keep in mind that multiple domains for the same site does increase the maintenance overhead, but that's ultimately your decision.



Top 50 recent answers are included