Questions tagged [seo]

SEO is search engine optimization, altering a web site so as to improve its ranking in search engines.

Filter by
Sorted by
Tagged with
26
votes
3answers
33k views

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

I need to return a 503 status code from one of my sites while it's down for maintenance, in the time-honoured SE_firendly fashion. I can't seem to work out how to do this without invoking external ...
0
votes
1answer
958 views

Nginx simple redirect old uri to new uri

I've got problems with simple SEO friendly redirect. Web page has changed and I'd like to redirect old uris to new ones. For example I'd like to redirect /contact to /contact.html I've tried ...
0
votes
1answer
110 views

Setting noindex some pages on NGINX

I want to set noindex some URLs. If any URL contains ?lang= | (start with) /plugin | (start with) /account it should be noindex by adding HTTP header in NGINX configuration. I tried below code before,...
9
votes
1answer
6k views

Do CNAME DNS entries affect SEO?

I am setting up a website for a client that I will be hosting and maintaining, and I am trying to determine what will be the most pain free setup. My thought is to do the following: Set up the ...
0
votes
4answers
1k views

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

I have purchased a domain from godaddy( mentioning here as xyz.com ). I have hosted my website on aws using elasticbeanstalk which has generated a cname (mentioning here as abc.elasticbeanstalk.com). ...
0
votes
1answer
55 views

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

We have a VPS hosting 2 websites. WebsiteA.com has SSL. WebsiteB.com doesn't have SSL but google indexes WebsiteB.com with HTTPS URLS from WebsiteA.com Example: https://www.websiteB.com/url-from-...
0
votes
1answer
122 views

Wordpress - Yoast SEO - robots.txt

I was just reading up on Yoast website here on how the correct robots.txt file should look like with the latest SEO practices. In their example Yoast uses the following: User-Agent: * Disallow: /...
0
votes
1answer
36 views

HTTP client is redirected, but the old address is shown in address bar

I have a pdf file available on www.example.com/pdf/something. On httpd configuration I have a redirection to www.example1.com/pdf/something. In both cases pdf is downloading, but the redirection to ...
0
votes
0answers
34 views

stop ssl redirect going to home page

A site we are working on siterequires forcing to https and www removal When we make that happen using this .htaccess code RewriteCond %{HTTP_HOST} ^www\. RewriteRule ^(.*)$ https://safe.org.nz%{...
-1
votes
2answers
28 views

Is ssl CName important for search engine?

My site is under cloudflare and of course I am using free ssl from their side. So, what what can I have sanctions on the site from the search engines while using free ssl? Or what benefits will I ...
1
vote
1answer
26 views

URL rewriting and indexation by search engines

For a website, I want using URL rewriting to allow easy access to pages and better indexation. For instance, assume the page about Mozart is: www.site.ext/composers/index.php?cmd=composers&id=...
3
votes
1answer
1k views

Another website in a IIS subfolder

A friend of mine has an ASP.NET site hosted on windows server with IIS7 web server. He wants to install a wordpress blog without using subdomains for SEO reasons. In practice, he would like to have a ...
1
vote
1answer
108 views

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

I have multiple domains which are setup to redirect (301) to my main domain. However I know some of these domains have little to no value in terms of SEO and I would like to get rid of them. But a ...
0
votes
1answer
40 views

acceptable level of crawl / 500 errors

I wonder if there is any industry stats on what is an acceptable level of server errors e.g. crawl errors or total server errors or both, either as an absolute number or as a percentage of requests?
1
vote
0answers
111 views

IIS Rewrite with optional query string or adding defaults

I am using IIS 8 and just learning about rewrites as I haven't ever written anything that cared about SEO. I have the following rules that is working assuming the url looks like this: /survey/abc123/...
2
votes
1answer
50 views

Best way to redirect a bad-rated domain to a new one?

I recently bought a domain that has an Alexa rank of ~50000. However the domain has a poor history as the previous owner didn't responded to abuse emails nor any DMCA notices. Long story short, the ...
0
votes
0answers
174 views

Need help on Nginx redirects for old url pattern now 404

How to redirect old urls with capturing only the variable end and add multiple possible targets before OLD URLS domain.com/product/product-link-xyz ... TO domain.com/products/brand1/product-link-...
1
vote
0answers
296 views

Enabling TLS/SSL with SNI on a subset of websites, without losing SEO ranking on the non-TLS sites

We run a number of LAMP servers on AWS with a few dozen websites on them, that customers pay us to design, build and host. They're Ubuntu 14.04 servers with Varnish, Apache and PHP. Currently, if a ...
1
vote
2answers
4k views

Nginx with SSL connection error

I'm trying to migrate a site from HTTP to HTTPS, however, my nginx (version: 1.10.3) config seems not to be working. The following behavior is desired: http://www.example.com/path/to/content should ...
0
votes
1answer
356 views

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

I am interested in technical considerations I should mind to safely switch my naked domain to a www. subdomain. By safely I mean things like not loosing SEO (redirects will suffice?) or avoiding some ...
0
votes
1answer
103 views

Apache directive to force https

I would like to force all visitors to access my website on https:// Does this look standard and SEO friendly? <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on ...
1
vote
1answer
500 views

Nginx How remove jsession id from URL

I'm using nginx with wildfly behind. Nginx i'm using as reverse proxy and add Expires Header When i access my static files in my browser the Expires Header is present, but when i run the SEO test on ...
0
votes
2answers
28 views

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

I'm looking to build a CMS to manage several websites. Some will have a Spanish content and will be accessible via the domain domain.es, others will be in french, via the domain domain.fr, etc. Since ...
-1
votes
2answers
95 views

htaccess mod_rewrite for SEO URLs are incorrectly rewriting

What I am attempting to do, is have pretty URLs. I have achieved this for the case where I want the entire string to point to one PHP script. I do not. So, this works: example.com/login/1/2 => /index....
1
vote
1answer
449 views

Redirect absolute URL Server 2012 IIS

We are moving to a new domain and need to redirect users from the original to the new domain. One of the things I need to do is have it set up so if a user has a saved link such as www.domain.com/...
0
votes
2answers
1k views

301 redirect or disallow on robots.txt?

I recently asked for 301 redirection on ServerFault and I didn't get a proper solution to my problem, but now I have a new idea: use the robots.txt to disallow certain URLs from my site to be "crawled"...
1
vote
2answers
88 views

Googlebot requesting pages of 1 site on another site

Problem: Using Prerender.io to index/store pages of one site, I keep getting path requests that only exist on my old site Example: on Prerender I'll see that Googlebot requested http://www.new-site....
1
vote
2answers
466 views

Get google to stop crawling old pages

Ok, so I have a bit of an odd problem. Our site is crawled by google a LOT. There are a few reasons for this, that aren't really easy to change. One of which being you can access localized versions of ...
1
vote
0answers
846 views

old URLs to new URLs using nginx

I need to: replace old SEO unfriendly URLs with new SEO friendly URLs e.g. replace http://../products/?type=genre.main.key&key=DAN&title=Dance&page=1 with http://../genres/dance?key=...
0
votes
1answer
2k views

How to prevent opening /index.php or /index.html urls?

DirectoryIndex index.html index.php # -- INIT RewriteEngine on RewriteBase / # -- PRODUCTION # RewriteCond %{HTTP_HOST} ^www.assist\.loc$ [NC] # RewriteRule ^(.*)$ http://assist.loc/$1 [R=301,L] # -...
6
votes
2answers
3k views

Does hosting multiple sites on one server hurt your SEO?

I have a handful of (content unrelated) sites with decent PRs and I'm considering hosting them all on the same server. I've heard that if you do this, internal linking between two seperate domains on ...
-2
votes
1answer
138 views

htaccess without redirect HTTP & HTTPS non-www to HTTPS www

i have SEO problem for http to https and non-www to https://www Please help me how to solve this problem? this is my htaccess code: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{...
1
vote
0answers
99 views

Hyphen character encoded as “%2D” with IIS6

A customer has set up a website on a server IIS6. In older versions of Firefox, they have a problem with a URL containing a hyphen character. When they request http://www.example.es/mas-info they ...
0
votes
1answer
153 views

301 redirects and SEO [closed]

I have a site which uses the following structure, domain.com/12/43/45/some-post/ When people link to my site some cms's remove the trailing slash and turn it into, domain.com/12/43/45/some-post ...
5
votes
1answer
2k views

Amazon S3 - Options for routing naked URL

Problem I am using a custom domain to host a static index.html on amazon S3. That all works fine on my domain: site.com. However, when I visit www.site.com I get an error. From what I understand I ...
0
votes
1answer
144 views

Subdomain is preventing my search results from rising as expected in page rank

My problem is that I have a site which has requires a dedicated page for every city I choose to support. Early on, I decided to use subdomains rather than a directly after my domain (ie i used la....
6
votes
5answers
718 views

Subdomains vs multiple domain names

I have the domain name for www.foo.co.uk. I am looking to use it as a landing page that will allow people to go to 1 of 2 sections of my site (both having separate blogs). So I have the idea I could ...
0
votes
1answer
158 views

Blogger custom domain - pitfalls of domain pointing?

This is quite a common topic to come up - wanting to use a custom host for a blogger blog. My personal reasons are due to issues concerning iframes, SEO and the specific address of the blog. I have ...
4
votes
2answers
458 views

Domain name change with minimum seo impact

I am owner of an existing (3 yr. old) domain http://www.22shrutiharmonium.com and my website appears at the top of the search results in case of some search phrases like "22 shruti" , "22 shruti ...
2
votes
6answers
15k views

What happens if a website does not have a robots.txt file?

If the robots.txt file is missing in the root directory of a website, how are things treated as: the site is not indexed at all the site is indexed without any restrictions It should logically be ...
0
votes
1answer
71 views

.htaccess rule to change hosts for SEO

I want to migrate one of my client's website from a free host to paid host. Currently, the site/domain is being hosted inside a sub-folder (used this tut: https://my.bluehost.com/cgi/help/347) at the ...
0
votes
1answer
2k views

How to forward to Amazon S3 when in maintenance mode with nginx using 503?

During website maintenance, it is sometimes necessary to shutdown our website. Our current method is to touch a file which will trigger the web server (nginx) to redirect traffic to a maintenance ...
0
votes
1answer
287 views

How to efficiently permanently redirect 150.000 images?

For SEO purposes I need to rename around 150.000 images, then I'd like to permanently redirect the previous url locations requests to the new locations. The current url to every image is something ...
6
votes
4answers
6k views

IIS 301 Redirect from “/index.html” to “/” for SEO Canonicalization

I used the technique explained here for IIS (http://www.webconfs.com/how-to-redirect-a-webpage.php), but this appears to result in an infinite loop when applied to "/index.htm" and redirected to "/". ...
3
votes
7answers
150 views

Is there a way to tell robots not to look at a directory?

I have a directory full of images, that I do not want viewed by robots, is there a way to make this directory private? Thanks!
1
vote
0answers
434 views

htaccess, errordocument and joomla rewrite

I need to setup a 404 error handling in my .htaccess, besides handling some 301 redirects for the links of an old website. The new site is made with Joomla, the old site was written in asp. Sef urls ...
0
votes
1answer
172 views

Ip-failover and geolocalization

I have a server (from OVH) located in France with French ip. However most of the people coming to my website are from Poland. From what I read having a Polish ip address could lead to better search ...
0
votes
3answers
2k views

Serving images from another hostname vs Apache overload for the rewrites

We are trying to improve further the speed of some sites with older HTML in order as well to obtain better SEO results. We have now applied some minify measures, combined html, css etc. We use a small ...
0
votes
2answers
1k views

DNS wildcard entry from *.domain.com to www.domain.com

If a user enters ww2.domain.com he should be redirected to www.domain.com. This should be possible for all sort of subdomains (e.g. xxx.domain.com, ww.domain.com, ...). How should I set up the DNS ...
0
votes
2answers
130 views

A record for www [duplicate]

Possible Duplicate: What’s the point in having “www” in a URL? My present DNS configuration for my website's A record is as below Name Value --------------------------- example.com ...