Hot answers tagged

7 votes

How can I return a 503 status in apache without invoking external scripts

To make your maintenance mode more flexible, set 503 when a special file exists, ala: RewriteEngine on RewriteCond %{DOCUMENT_ROOT}/.maintenance -f RewriteRule .* - [R=503] NOTE: The location of ...
Phil's user avatar
  • 71
3 votes
Accepted

Setting noindex some pages on NGINX

location directives only match normalised URIs, which don't include query arguments. This is the reason why you cannot match ?lang. To match that one, you can use a query argument variable to make ...
Tero Kilkanen's user avatar
3 votes
Accepted

Google is indexing urls from another site hosted on the same VPS

Well, the Apache has to serve something when someone accesses it via https://websiteB.com. So it uses the content it has, from websiteA. This is explained in detail in the Apache documentation, here ...
Gerald Schneider's user avatar
2 votes

Change webserver's IP address depending on the hosted domain TLD

Your problem is not associating each domain with a unique IP. That is very easy, and is precisely what DNS is designed to do. Your actual problem is finding (or building, more likely) the service ...
EEAA's user avatar
  • 110k
2 votes
Accepted

Nginx with SSL connection error

This configuration makes what you ask: server { listen 80; listen [::]:80; server_name www.example.com example.com; # redirects both www and non-www to https return 301 https://...
Tero Kilkanen's user avatar
2 votes
Accepted

How to check is canonicalized domains are being used? Apache 301 redirect does not preserve referrer

An referrer is not the same as a redirect. If you call a page e.g. http://www.example.com and on the page you have one or more resource like Images, CSS and JavaScript files, the browser will get ...
Webdesigner's user avatar
1 vote

nginx config for SEO friendly Laravel setup

server { listen 1.2.3.4:80; server_name example.com www.example.com; location / { return 301 https://www.example.com$request_uri; } } server { listen 1.2.3.4:443; ...
zoot's user avatar
  • 267
1 vote

acceptable level of crawl / 500 errors

0 is both the percentage and the absolute number which should be your aim for the number of 500 errors that normal usage of your web applications and website will trigger. More might be acceptable if ...
HBruijn's user avatar
  • 79.9k
1 vote

Is ssl CName important for search engine?

From a technical perspective some reasons to use the non-free options: You may need to support truly ancient SSL/TLS implementations that still require that your domain is in the Common Name of ...
HBruijn's user avatar
  • 79.9k
1 vote

Wordpress - Yoast SEO - robots.txt

What exactly does line Disallow: /suggest/?* do? disallow and ?* will block search engines from accessing any URL that has a ? in it. Altogether Disallow: /suggest/?* will block search engines ...
Aravinda's user avatar
  • 1,101
1 vote
Accepted

URL rewriting and indexation by search engines

As the category names will never change over time, I assume that the first case --URL rewriting only without perceivable redirection-- is better in this situation as search engines would store and ...
MrWhite's user avatar
  • 12.9k
1 vote

Nginx with SSL connection error

Please try by using below method and update rest ssl info: server { listen 80; listen [::]:80; server_name www.example.com example.com; return 301 https://www....
anand's user avatar
  • 199
1 vote
Accepted

How to safely and properly switch from a naked domain to a www. subdomain?

I'm answering the question myself to save the readers having to go through the comments :) (Thank you to all involved!) In particular case of my naked domain, the only cookies the site sent was ...
karni's user avatar
  • 111
1 vote

Change webserver's IP address depending on the hosted domain TLD

Yes, it's possible. You could set up web servers in each country. You could have multiple IPs on the same server, with the same back end. However I think you've got this wrong. I don't think the ...
Tim's user avatar
  • 32.6k
1 vote

Redirect absolute URL Server 2012 IIS

I found the solution to the issue. you can actually use for for a bunch of stuff <rule name="OriginalDomainRedirection"> <conditions> </conditions> <action type=...
Shane Superfly MacNeill's user avatar
1 vote

How to hide elasticbeanstalk.com address from public(search engine crawlers)

You can set a canonical URL for the site: <link rel="canonical" href="https://example.com/current/request/uri" /> Another possible solution is setting a custom Apache configuration to redirect ...
ceejayoz's user avatar
  • 33.1k
1 vote

Get google to stop crawling old pages

You can install the nofollow meta tag < META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" >
RonanW.'s user avatar
  • 429
1 vote

Do CNAME DNS entries affect SEO?

No, the CNAME DNS will not affect your SEO score. The "domain to receive SEO benefits" will be the one that loads the content (is associated with the content). Check the website with Google ...
Daniel Palamar's user avatar

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