qid int64 4 8.14M | question stringlengths 20 48.3k | answers list | date stringlengths 10 10 | metadata list | input stringlengths 12 45k | output stringlengths 2 31.8k |
|---|---|---|---|---|---|---|
99,998 | <p>Is this what is supposed to happen? If so, why?</p>
<p>Here's an example (<a href="https://search.google.com/structured-data/testing-tool/" rel="nofollow">test code here</a>):</p>
<pre class="lang-html prettyprint-override"><code><script type="application/ld+json">
{
"@context": "http://schema.org",
... | [
{
"answer_id": 99999,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, I think it makes sense that Google’s SDTT does this. It’s just a usability question if the <code>WebPage</co... | 2016/10/09 | [
"https://webmasters.stackexchange.com/questions/99998",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/54074/"
] | Is this what is supposed to happen? If so, why?
Here's an example ([test code here](https://search.google.com/structured-data/testing-tool/)):
```html
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"@id": "http://example.com/"
}
</script>
<script type="applicati... | Yes, I think it makes sense that Google’s SDTT does this. It’s just a usability question if the `WebPage` item should be displayed as top-level item in addition; it doesn’t affect the semantics.
In the first `script` data block, you say that the `WebPage` has the URI `http://example.com/`. In the second `script` data ... |
100,003 | <p>Basically I have a Heroku app on a main domain and a wordpress blog on a subdomain as blog.maindomain.com. I have google tag manager installed on the herokuapp that tracks the main domain. </p>
<p>How am I able to also allow my wordpress to have the same functionality? I want to be able to view all the analytics in... | [
{
"answer_id": 99999,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, I think it makes sense that Google’s SDTT does this. It’s just a usability question if the <code>WebPage</co... | 2016/10/10 | [
"https://webmasters.stackexchange.com/questions/100003",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/70874/"
] | Basically I have a Heroku app on a main domain and a wordpress blog on a subdomain as blog.maindomain.com. I have google tag manager installed on the herokuapp that tracks the main domain.
How am I able to also allow my wordpress to have the same functionality? I want to be able to view all the analytics in a single ... | Yes, I think it makes sense that Google’s SDTT does this. It’s just a usability question if the `WebPage` item should be displayed as top-level item in addition; it doesn’t affect the semantics.
In the first `script` data block, you say that the `WebPage` has the URI `http://example.com/`. In the second `script` data ... |
100,043 | <p>With Flexbox, it's easy to reorder content in page and put SEO content in the top of the page for robots and reorder page block to put that content in the bottom of the page for users.</p>
<p>Is it worth it?</p>
<p>Here is a snippet: <a href="https://jsfiddle.net/1rc464vx/" rel="nofollow">https://jsfiddle.net/1rc4... | [
{
"answer_id": 100046,
"author": "Rob",
"author_id": 8466,
"author_profile": "https://webmasters.stackexchange.com/users/8466",
"pm_score": 1,
"selected": false,
"text": "<p>Flex is presentation, not content. Search engines care about content, not presentation, unless you are trying to h... | 2016/10/11 | [
"https://webmasters.stackexchange.com/questions/100043",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/70925/"
] | With Flexbox, it's easy to reorder content in page and put SEO content in the top of the page for robots and reorder page block to put that content in the bottom of the page for users.
Is it worth it?
Here is a snippet: <https://jsfiddle.net/1rc464vx/>
```css
.flex {
display:flex;
flex-direction:column;
}
#seocont... | Ten years ago, getting content near the top of the page source code was important. Back then Googlebot was much less sophisticated. It just assumed that content near the top of the source was important.
Today Googlebot actually renders pages. It pays attention to CSS and JavaScript. Content that appears to users promi... |
100,095 | <p>I'm having issues with my keywords and description.when ever I search my site using an abbreviation with community for ex "tge community" or "tgecommunity" together it shows two different descriptions one being just my index page of my site and the other search being my index and meta description.</p>
<p>Below is i... | [
{
"answer_id": 100132,
"author": "booluw",
"author_id": 59448,
"author_profile": "https://webmasters.stackexchange.com/users/59448",
"pm_score": 1,
"selected": false,
"text": "<p>Note always does Google shows what is in your meta tags, except they are similar to texts on your webpage. An... | 2016/10/12 | [
"https://webmasters.stackexchange.com/questions/100095",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/59383/"
] | I'm having issues with my keywords and description.when ever I search my site using an abbreviation with community for ex "tge community" or "tgecommunity" together it shows two different descriptions one being just my index page of my site and the other search being my index and meta description.
Below is in between ... | Note always does Google shows what is in your meta tags, except they are similar to texts on your webpage. And also Google would show the user how that page relates to their search string, so in your case; Google finds out that the two string are not related and show the related description from each part of your websi... |
100,257 | <p>As I was testing various things to make sure my Apache installation was as secure as possible, I decided check whether I would see a directory list of files. So I created a test directory and added a couple of files:</p>
<pre><code>/var/www/domain/public_html/test
/var/www/domain/public_html/test/a.txt
/var/www/dom... | [
{
"answer_id": 100268,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 2,
"selected": false,
"text": "<p>I have encountered this problem in the past. Based on the help documentation strictly speaking the ... | 2016/10/16 | [
"https://webmasters.stackexchange.com/questions/100257",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9808/"
] | As I was testing various things to make sure my Apache installation was as secure as possible, I decided check whether I would see a directory list of files. So I created a test directory and added a couple of files:
```
/var/www/domain/public_html/test
/var/www/domain/public_html/test/a.txt
/var/www/domain/public_htm... | You can use `Options -Indexes` directly in the VirtualHost container. However, whether it will have the desired effect when defined here or not will depend on whether `Options` have been defined anywhere else in the server config. For instance, any `<Directory>` sections defined *anywhere* else (that relate to the dire... |
100,319 | <p>I want to know if it's possible to perform an A/B test on different versions of the same URL using Google Analytics.</p>
<p>So far, I have performed A/B tests on different URLs like <code>xxx1.html</code> and <code>xxx2.html</code> then compare both. </p>
<p>But what I want to do is to do an A/B test with the same... | [
{
"answer_id": 100323,
"author": "conan",
"author_id": 69345,
"author_profile": "https://webmasters.stackexchange.com/users/69345",
"pm_score": 1,
"selected": false,
"text": "<p>Yes.</p>\n\n<p>One way is to use the content experiments API: <a href=\"https://developers.google.com/analytic... | 2016/10/18 | [
"https://webmasters.stackexchange.com/questions/100319",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71127/"
] | I want to know if it's possible to perform an A/B test on different versions of the same URL using Google Analytics.
So far, I have performed A/B tests on different URLs like `xxx1.html` and `xxx2.html` then compare both.
But what I want to do is to do an A/B test with the same URL but with the current version and a... | You can do this using the content API. Its a bit confusing to set up, but here are some hints following this guide: <https://developers.google.com/analytics/solutions/experiments-client-side>
First you need a javascript/jQuery script in the head(ish) area of your template. Each `function()` within `expVers[]` is a var... |
100,346 | <p>I have a link on my website to my FB business page, it is the exact URL for the FB page, but whenever I try to access that link FB throws up a security check.</p>
<p>I'm making an attempt to use FB to promote my business and FB is blocking any visitors accessing or making it very hard for them to access the page.</... | [
{
"answer_id": 100374,
"author": "Kirsty Simms",
"author_id": 70695,
"author_profile": "https://webmasters.stackexchange.com/users/70695",
"pm_score": 1,
"selected": false,
"text": "<p>Have you tried asking others to test this for the first time? If Facebook sees you clicking this link r... | 2016/10/18 | [
"https://webmasters.stackexchange.com/questions/100346",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/63124/"
] | I have a link on my website to my FB business page, it is the exact URL for the FB page, but whenever I try to access that link FB throws up a security check.
I'm making an attempt to use FB to promote my business and FB is blocking any visitors accessing or making it very hard for them to access the page.
It is not ... | I thought I should answer my own question because I think I've solved the puzzle.
We are on a new ISP provider with dynamically assigned IP addresses (where previously we had our own static IP address which did not change) and it turns out that the IP addresses we are currently being assigned are on a blacklist - so ... |
100,436 | <p>I just created a new subdomain for my blog so <code>blog.example.com</code> - it used to be <code>www.example.com/blog</code> so I am now trying to write 301 redirects from all my old <code>/blog</code> posts to the new <code>blog.example.com</code> URLs. I have placed the following code in my <code>htaccess</code>:... | [
{
"answer_id": 100438,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": 2,
"selected": false,
"text": "<p>You want something like this using a <a href=\"http://httpd.apache.org/docs/trunk/mod/mod_alias.html#r... | 2016/10/22 | [
"https://webmasters.stackexchange.com/questions/100436",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71148/"
] | I just created a new subdomain for my blog so `blog.example.com` - it used to be `www.example.com/blog` so I am now trying to write 301 redirects from all my old `/blog` posts to the new `blog.example.com` URLs. I have placed the following code in my `htaccess`:
```
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.exa... | >
> ...do I put it after the `# END Wordpress` in the htaccess or am I missing something?
>
>
>
No. Any external redirect should come *before* the `# BEGIN WordPress` code block. ie. Before WP internally rewrites the request.
If you placed it *after* the WP code block it will simply be ignored, since WP will have... |
100,479 | <p>Lets assume my website is mywebsite.com. I need to block the website for all the countries except India. But we need to handle the block gracefully, i.e. showing a page that right now the site is not providing services in their country. </p>
<p>Page on my website visible in India:
mywebsite.com/category.php</p>
<... | [
{
"answer_id": 100483,
"author": "bantandor",
"author_id": 62194,
"author_profile": "https://webmasters.stackexchange.com/users/62194",
"pm_score": 0,
"selected": false,
"text": "<p>Here is the ip range for India\n<a href=\"http://www.nirsoft.net/countryip/in.html\" rel=\"nofollow\">http... | 2016/10/24 | [
"https://webmasters.stackexchange.com/questions/100479",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71320/"
] | Lets assume my website is mywebsite.com. I need to block the website for all the countries except India. But we need to handle the block gracefully, i.e. showing a page that right now the site is not providing services in their country.
Page on my website visible in India:
mywebsite.com/category.php
When someone ou... | Filter visitors by .htaccess:
```
RewriteEngine On
RewriteCond %{ENV:IP2LOCATION_COUNTRY_SHORT} ^IN$
RewriteRule ^(.*)$ http://Mywebsite/Indiapage.php [L]
```
And for the rest you redirect to world/worldpage |
100,531 | <p>I have a <code>robots.txt</code> file:</p>
<pre><code>User-agent:*
Disallow:/path/page
Disallow:/path/
Allow:/
</code></pre>
<p>The disallowed path is still getting crawled.</p>
<p>I have searched this problem and what they said, order of precedence in google does not matter. So technically, the disallowed should... | [
{
"answer_id": 100532,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 3,
"selected": false,
"text": "<p>Putting your page through <a href=\"https://support.google.com/webmasters/answer/6062598?hl=en&a... | 2016/10/25 | [
"https://webmasters.stackexchange.com/questions/100531",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71367/"
] | I have a `robots.txt` file:
```
User-agent:*
Disallow:/path/page
Disallow:/path/
Allow:/
```
The disallowed path is still getting crawled.
I have searched this problem and what they said, order of precedence in google does not matter. So technically, the disallowed should work but now I'm wondering if it is because... | Putting your page through [Google's *robots.txt* tester](https://support.google.com/webmasters/answer/6062598?hl=en&ref_topic=6061961) reveals two problems:
1. You have no `User-agent` line so your rules don't apply to *any* crawler: [](https://i.stac... |
100,536 | <p>You may have noticed my recent activity on Webmasters with <a href="https://webmasters.stackexchange.com/search?q=user%3A20604%20JSON-LD">various Schema and JSON-LD related questions</a> in related to my increasing my Local SEO presence. I have just been working on the adding <a href="https://schema.org/areaServed" ... | [
{
"answer_id": 100546,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 4,
"selected": true,
"text": "<p>I think each value should represent a single area.</p>\n<p>If you were using the more expressive <a href=\"http:... | 2016/10/25 | [
"https://webmasters.stackexchange.com/questions/100536",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/20604/"
] | You may have noticed my recent activity on Webmasters with [various Schema and JSON-LD related questions](https://webmasters.stackexchange.com/search?q=user%3A20604%20JSON-LD) in related to my increasing my Local SEO presence. I have just been working on the adding [AreaServed](https://schema.org/areaServed) and know t... | I think each value should represent a single area.
If you were using the more expressive [`AdministrativeArea`](http://schema.org/AdministrativeArea)/[`GeoShape`](http://schema.org/GeoShape)/[`Place`](http://schema.org/Place) values, you would (by definition) use one type per area (a `Place` always represents a single... |
100,613 | <p>I have a website (dynamic real estate website) that has been up for nearly a year, all of a sudden Bingbots are trying to access completely lower case versions of the main pages resulting in 404 errors.</p>
<p>The base url is lowercase but subsequent pages are a mixture.</p>
<pre><code>https://example.com/Houses-f... | [
{
"answer_id": 100639,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>When I worked for TripAdvisor, we saw this problem all the time. TripAdvisor has mixed case URL... | 2016/10/28 | [
"https://webmasters.stackexchange.com/questions/100613",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/63124/"
] | I have a website (dynamic real estate website) that has been up for nearly a year, all of a sudden Bingbots are trying to access completely lower case versions of the main pages resulting in 404 errors.
The base url is lowercase but subsequent pages are a mixture.
```
https://example.com/Houses-for-sale-in-Suburb-STA... | Stephen Ostermiller gave me the answer to proceed with testing and to implement the following in my .htaccess
```
RewriteEngine On # Turn on the rewriting engine
Redirect 301 /houses-for-sale-in-suburb-state-3345.php http://example.com/Houses-for-sale-in-Suburb-STATE-3345.php
```
I wrote a redirect for every sing... |
100,615 | <p>I'm generally new to this, but I have a server that I'm working on remotely. I'm connecting to it (Ubuntu Server 16.04) via SSH (vsftpd, to be specific) on my mac, but it wont let me edit files? I've looked around and edited permissions but it still wont work.</p>
<p>I'm trying to edit <code>./beta/</code> :</p>
<... | [
{
"answer_id": 100639,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>When I worked for TripAdvisor, we saw this problem all the time. TripAdvisor has mixed case URL... | 2016/10/28 | [
"https://webmasters.stackexchange.com/questions/100615",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71451/"
] | I'm generally new to this, but I have a server that I'm working on remotely. I'm connecting to it (Ubuntu Server 16.04) via SSH (vsftpd, to be specific) on my mac, but it wont let me edit files? I've looked around and edited permissions but it still wont work.
I'm trying to edit `./beta/` :
```
user@the-world-meme-da... | Stephen Ostermiller gave me the answer to proceed with testing and to implement the following in my .htaccess
```
RewriteEngine On # Turn on the rewriting engine
Redirect 301 /houses-for-sale-in-suburb-state-3345.php http://example.com/Houses-for-sale-in-Suburb-STATE-3345.php
```
I wrote a redirect for every sing... |
100,644 | <p>We are having DNS issues. Pages work, then they don't, or work from one location/network and not from another. There are multiple locations where DNS records can be set, and we don't know which one is or should be authoritative. The records are different in each location.</p>
<p>Here is the Arvixe WebsitePanel:<... | [
{
"answer_id": 100645,
"author": "Analog",
"author_id": 30233,
"author_profile": "https://webmasters.stackexchange.com/users/30233",
"pm_score": 3,
"selected": true,
"text": "<p>You domain is using the following nameservers which you have set at the registrar (1&1):</p>\n\n<pre><code... | 2016/10/28 | [
"https://webmasters.stackexchange.com/questions/100644",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71479/"
] | We are having DNS issues. Pages work, then they don't, or work from one location/network and not from another. There are multiple locations where DNS records can be set, and we don't know which one is or should be authoritative. The records are different in each location.
Here is the Arvixe WebsitePanel:
[:
```
ns1.allmaint.arvixevps.com
ns1.allmaint.arvixevps.com
```
Therefore the domain is using the Arvixe DNS. So out of the two pictures you have shown the top one is the DNS records actually being used and the one in control.
Th... |
100,648 | <p>We are trying to upgrade our MediaWiki software. According to <a href="https://www.mediawiki.org/wiki/Manual:Upgrading" rel="noreferrer">Manual:Upgrading</a> -> <a href="https://phabricator.wikimedia.org/diffusion/MW/browse/REL1_27/UPGRADE" rel="noreferrer">UPGRADE</a> -> <a href="https://www.mediawiki.org/wiki/Manu... | [
{
"answer_id": 100675,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": true,
"text": "<blockquote>\n <p>First, can we omit --default-character-set since its not working as expected?</p>\n</blockquote>\... | 2016/10/28 | [
"https://webmasters.stackexchange.com/questions/100648",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | We are trying to upgrade our MediaWiki software. According to [Manual:Upgrading](https://www.mediawiki.org/wiki/Manual:Upgrading) -> [UPGRADE](https://phabricator.wikimedia.org/diffusion/MW/browse/REL1_27/UPGRADE) -> [Manual:Backing\_up\_a\_wiki](https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki), we are supposed... | >
> First, can we omit --default-character-set since its not working as expected?
>
>
>
We took the first option and the upgrade proceeded. You mileage may vary. |
100,715 | <p>Apache access log entries on my site are typically like this one:</p>
<pre>207.46.13.174 - - [31/Oct/2016:10:18:55 +0100] "GET /contact HTTP/1.1" 200 256 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" 0.607 MISS 10.10.36.125:104 0.607
</pre>
<p>so you can see user-agent field there. ... | [
{
"answer_id": 100716,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<p>The IP address that you linked does not resolve to a Google hostname therefore it is not Google. The pe... | 2016/10/31 | [
"https://webmasters.stackexchange.com/questions/100715",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71540/"
] | Apache access log entries on my site are typically like this one:
```
207.46.13.174 - - [31/Oct/2016:10:18:55 +0100] "GET /contact HTTP/1.1" 200 256 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" 0.607 MISS 10.10.36.125:104 0.607
```
so you can see user-agent field there. But today I a... | This is a Joomla 0 Day Attack. Information found here: <https://blog.sucuri.net/2015/12/remote-command-execution-vulnerability-in-joomla.html>
This is not a vulnerability test despite the \_\_test. It is an attack.
Make sure that any Joomla install is as up to date as possible.
Another option is to simply use .htacc... |
100,747 | <p>My website had some URLs automatically added to it by WordPress. They got indexed in Google. Now I want those URLs to show as "410 Gone".</p>
<p>For example:</p>
<ul>
<li><code>/contact/</code></li>
<li><code>/about-us/</code></li>
</ul>
<p>These pages are not on the website anymore. The new website is created ... | [
{
"answer_id": 103216,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 1,
"selected": false,
"text": "<p>When Google receves 404 not found errors for a page repeatedly it treats it as a 410 gone and so re... | 2016/11/01 | [
"https://webmasters.stackexchange.com/questions/100747",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71566/"
] | My website had some URLs automatically added to it by WordPress. They got indexed in Google. Now I want those URLs to show as "410 Gone".
For example:
* `/contact/`
* `/about-us/`
These pages are not on the website anymore. The new website is created with PHP.
How do I make them 410 error pages or otherwise make Go... | Directly in PHP, all you need is to output the 410 header:
```
header( "HTTP/1.1 410 Gone" );
```
For safety, it is recommended to call `exit()` after.
Suppose you have a handful of pages, you can either just make one file for each or modify the .htaccess using a `RewriteRule` that maps all gone pages to one PHP fi... |
100,834 | <p>I would like to know if the value pushed into the datalayer is arbitrary when tracking form completion events.</p>
<p>Currently I add this in the Additional Settings in CF7 settings, as per the guide here - <a href="http://dcarlbom.com/google-tag-manager/contact-form-7-on-wordpress-with-gtm/#gref" rel="nofollow nor... | [
{
"answer_id": 100865,
"author": "nyuen",
"author_id": 43974,
"author_profile": "https://webmasters.stackexchange.com/users/43974",
"pm_score": 2,
"selected": true,
"text": "<p>Usually the <code>event</code> value is arbitrary and you can make it anything you want. What's important is th... | 2016/11/04 | [
"https://webmasters.stackexchange.com/questions/100834",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71660/"
] | I would like to know if the value pushed into the datalayer is arbitrary when tracking form completion events.
Currently I add this in the Additional Settings in CF7 settings, as per the guide here - <http://dcarlbom.com/google-tag-manager/contact-form-7-on-wordpress-with-gtm/#gref>
```
on_sent_ok: "dataLayer.push({'... | Usually the `event` value is arbitrary and you can make it anything you want. What's important is that you trigger your GTM tag to fire exactly on that event. In this case, I'm not sure if CF7 specifically requires the event value to be exactly what you have there, but from a GTM point of view, as long as your Trigger ... |
100,903 | <p>I run an information repository website, catering specifically to CPUs, and before the website gets too large, I would like to know if the current setup is going to give me trouble in the future.</p>
<p>Say I have a directory for Skylake-based Intel Core i7 and legacy Pentium processors. At the moment, this is how ... | [
{
"answer_id": 100859,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": false,
"text": "<p><em>Initial Connection</em></p>\n\n<p>You will find that the initial connection includes negotiating th... | 2016/11/07 | [
"https://webmasters.stackexchange.com/questions/100903",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/50363/"
] | I run an information repository website, catering specifically to CPUs, and before the website gets too large, I would like to know if the current setup is going to give me trouble in the future.
Say I have a directory for Skylake-based Intel Core i7 and legacy Pentium processors. At the moment, this is how the direct... | *Initial Connection*
You will find that the initial connection includes negotiating the SSL, so since the handshake is high, its a good indicator that something is seriously wrong with the way you have setup the SSL.
>
> [Google Chrome: Understanding Resource Timing](https://developers.google.com/web/tools/chrome-de... |
100,916 | <p>A site I am working on had 404 errors which were on following URLs:</p>
<pre class="lang-none prettyprint-override"><code>/apple-touch-icon.png
/apple-touch-icon-precomposed.png
</code></pre>
<p>Do I really need these faviocons on my site? Are bots coming to these links or real people?</p>
| [
{
"answer_id": 100920,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<p>The two URLs you reference are most probably requested from iOS (iPhone, iPad) devices.</p>\n\n<p>If you check ... | 2016/11/07 | [
"https://webmasters.stackexchange.com/questions/100916",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | A site I am working on had 404 errors which were on following URLs:
```none
/apple-touch-icon.png
/apple-touch-icon-precomposed.png
```
Do I really need these faviocons on my site? Are bots coming to these links or real people? | The two URLs you reference are most probably requested from iOS (iPhone, iPad) devices.
If you check the access logs on your server, you can (in the most part) find out who/what exactly is requesting these resources.
>
> Do I really need these faviocons on my site?
>
>
>
If you want to give iPhone and iPad users... |
100,956 | <p>When implementing hreflang in the head section, do you call out the alternative and main language on every single page?</p>
<p>So for example if I'm implementing Brazilian Portuguese where the main language of the site is English, for my English site it would place the following in the head section:</p>
<pre><code... | [
{
"answer_id": 100961,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 2,
"selected": true,
"text": "<p><strong>Yes that is how Google know it.</strong></p>\n\n<p>But use only one line out of these two lines, </p>\... | 2016/11/08 | [
"https://webmasters.stackexchange.com/questions/100956",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/48809/"
] | When implementing hreflang in the head section, do you call out the alternative and main language on every single page?
So for example if I'm implementing Brazilian Portuguese where the main language of the site is English, for my English site it would place the following in the head section:
```
<link rel="alternate... | **Yes that is how Google know it.**
But use only one line out of these two lines,
```
<link rel="alternate" href="http://example.com/about" hreflang="en-US" />
<link rel="alternate" href="http://example.com/about" hreflang="en" />
```
**because it is pointing to same URL**. I can't say weather it is harmful or not... |
100,968 | <p>I have an ecommerce website in Australia with a *.com.au ccTLD. I now want to also target customers in New Zealand however I think because of by ccTLD I currently get very low traffic from New Zealand (or anywhere else).</p>
<p>I don't want to accidentally destroy my rankings in Australia so I want to know the best... | [
{
"answer_id": 100961,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 2,
"selected": true,
"text": "<p><strong>Yes that is how Google know it.</strong></p>\n\n<p>But use only one line out of these two lines, </p>\... | 2016/11/09 | [
"https://webmasters.stackexchange.com/questions/100968",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71815/"
] | I have an ecommerce website in Australia with a \*.com.au ccTLD. I now want to also target customers in New Zealand however I think because of by ccTLD I currently get very low traffic from New Zealand (or anywhere else).
I don't want to accidentally destroy my rankings in Australia so I want to know the best way forw... | **Yes that is how Google know it.**
But use only one line out of these two lines,
```
<link rel="alternate" href="http://example.com/about" hreflang="en-US" />
<link rel="alternate" href="http://example.com/about" hreflang="en" />
```
**because it is pointing to same URL**. I can't say weather it is harmful or not... |
101,008 | <p>I've used Google's example JSON-LD markup to display breadcrumbs in the search results (<a href="https://developers.google.com/search/docs/data-types/breadcrumbs" rel="nofollow noreferrer">https://developers.google.com/search/docs/data-types/breadcrumbs</a>). Google shows breadcrumbs in the search results but the ta... | [
{
"answer_id": 101010,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 1,
"selected": false,
"text": "<p>Yes Google don't display the last folder or file in breadcrumb list. It generally treat them as file, no matt... | 2016/11/10 | [
"https://webmasters.stackexchange.com/questions/101008",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71863/"
] | I've used Google's example JSON-LD markup to display breadcrumbs in the search results (<https://developers.google.com/search/docs/data-types/breadcrumbs>). Google shows breadcrumbs in the search results but the target/current page is never shown.
For example a url looks like this:
```
https://www.example.com/laptop... | Yes Google don't display the last folder or file in breadcrumb list. It generally treat them as file, no matter there is trailing slash(/) at the end of URL or not, since in server configuration, webmaster can configure weather to display trailing slash or not, for file or folder. So they treat them as file not a categ... |
101,066 | <p>I have 2 domains each going to the same IP address. Would it be possible to have the website recognise which domain is connecting to it and show a certain page accordingly?</p>
<p>It is only a small personal server, xampp is being used</p>
| [
{
"answer_id": 101068,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<p>Yes, you can do this. Assuming you are using Apache then you can do something like the following using mod_rew... | 2016/11/12 | [
"https://webmasters.stackexchange.com/questions/101066",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71931/"
] | I have 2 domains each going to the same IP address. Would it be possible to have the website recognise which domain is connecting to it and show a certain page accordingly?
It is only a small personal server, xampp is being used | Yes, you can do this. Assuming you are using Apache then you can do something like the following using mod\_rewrite in either the server config or per-directory `.htaccess` file:
```
RewriteEngine On
RewriteCond %{HTTP_HOST} =www.example.com [NC]
RewriteRule ^/?foo$ /bar [R=302,L]
```
This will redirect `http://www.... |
101,074 | <p>I'm about to buy a domain, just for a personal website, where the availability is not that crucial at all.</p>
<p>As of now, I don't have a static, public IP.</p>
<p>My question is, if I could buy the domain (e.g. <code>example.com</code>) and configure it to point to my DynDNS (or equivalent services) domain name... | [
{
"answer_id": 101092,
"author": "DocRoot",
"author_id": 52912,
"author_profile": "https://webmasters.stackexchange.com/users/52912",
"pm_score": 3,
"selected": true,
"text": "<p>I'm not sure that you can do this for the apex (bare) domain (unless your DNS provider specifically supports ... | 2016/11/13 | [
"https://webmasters.stackexchange.com/questions/101074",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71924/"
] | I'm about to buy a domain, just for a personal website, where the availability is not that crucial at all.
As of now, I don't have a static, public IP.
My question is, if I could buy the domain (e.g. `example.com`) and configure it to point to my DynDNS (or equivalent services) domain name (e.g. `mocksite.dyndnsprov.... | I'm not sure that you can do this for the apex (bare) domain (unless your DNS provider specifically supports this), however, you could create a `CNAME` record for a subdomain that points to your DynDNS domain name.
```
home.example.com CNAME mocksite.dyndnsprov.com
```
Your DynDNS domain "contains" an `A` record tha... |
101,116 | <p>When I update my post, changing the date of publication, Google News reads me the right date and Google SERP classic not (as you can see in the pictures).</p>
<p><a href="https://i.stack.imgur.com/dFvuS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dFvuS.png" alt=""></a></p>
<p><a href="https:... | [
{
"answer_id": 101128,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 1,
"selected": false,
"text": "<p>Are you sure you have setup your ad only to Google search and not to Google Display network?. GDN ads display... | 2016/11/14 | [
"https://webmasters.stackexchange.com/questions/101116",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71982/"
] | When I update my post, changing the date of publication, Google News reads me the right date and Google SERP classic not (as you can see in the pictures).
[](https://i.stack.imgur.com/dFvuS.png)
[](https://i.stack.imgur.com/y5vqn.png)
Wh... | Google has an [ad preview tool](https://adwords.google.com/apt/anon/AdPreview) for this purpose.
It allows you to set the targeting to ensure that your ad shows up to the correct users.
[](https://i.stack.imgur.com/LqP7U.png) |
101,120 | <p>I have a Google App Engine Java web app that I have setup with a custom domain from GoDaddy. The site can currently be reached at domain.com and www.domain.com. I am trying to have a 301 redirect occur whenever someone tries to access domain.com instead of www.domain.com. I have tried to use domain forwarding via Go... | [
{
"answer_id": 101124,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": 2,
"selected": false,
"text": "<p>Update: There are 3 ways to do this. </p>\n\n<ol>\n<li>htaccess</li>\n<li>php to yaml with redirect</l... | 2016/11/15 | [
"https://webmasters.stackexchange.com/questions/101120",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71988/"
] | I have a Google App Engine Java web app that I have setup with a custom domain from GoDaddy. The site can currently be reached at domain.com and www.domain.com. I am trying to have a 301 redirect occur whenever someone tries to access domain.com instead of www.domain.com. I have tried to use domain forwarding via GoDad... | Update: There are 3 ways to do this.
1. htaccess
2. php to yaml with redirect
3. Within Google itself.
>
> **Specify the domain and subdomains you want to map.**
>
>
> Note: The naked domain and www subdomain are pre populated in the
> form. A naked domain, such as example.com, maps to <http://example.com>.
> A... |
101,122 | <p>I am trying to add herflang in my website, but I got some errors on google search console.</p>
<pre><code>URLs for your site and alternate URLs in 'zh-Hans-CN' that do not have return tags
URLs for your site and alternate URLs in 'zh-Hant-TW' that do not have return tags
URLs for your site and alternate URLs in '... | [
{
"answer_id": 101126,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 2,
"selected": false,
"text": "<p>You should have different URL for different language, that is how Google know your all alternative pages with... | 2016/11/15 | [
"https://webmasters.stackexchange.com/questions/101122",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71992/"
] | I am trying to add herflang in my website, but I got some errors on google search console.
```
URLs for your site and alternate URLs in 'zh-Hans-CN' that do not have return tags
URLs for your site and alternate URLs in 'zh-Hant-TW' that do not have return tags
URLs for your site and alternate URLs in 'en-US' that do... | I do not think you can do want you are hoping to do. It needs to be an actual translation with its own directory at minimum. It is all there in the link you shared.
So even if you were able to make a second translation, if generated it will not be effective. Pseudo Translations come with far too many errors and is als... |
101,149 | <p>Assuming <code>non-existent-page.html</code> does not exist, and the user is trying to access that page and triggered a 404 error.</p>
<p>Can i show the requested page URL:</p>
<pre><code>http://www.example.com/non-existent-page.html
</code></pre>
<p>instead of the error page URL:</p>
<pre><code>http://www.examp... | [
{
"answer_id": 101155,
"author": "marcanuy",
"author_id": 18400,
"author_profile": "https://webmasters.stackexchange.com/users/18400",
"pm_score": 1,
"selected": false,
"text": "<p>You need to use the RewriteEngine for this, adding a condition/rule to detect if the HTTP request is ending... | 2016/11/15 | [
"https://webmasters.stackexchange.com/questions/101149",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72012/"
] | Assuming `non-existent-page.html` does not exist, and the user is trying to access that page and triggered a 404 error.
Can i show the requested page URL:
```
http://www.example.com/non-existent-page.html
```
instead of the error page URL:
```
http://www.example.com/404.html
```
**Solution:**
While looking at `... | Apache server can be configured to show the error page at the error URL, or it can redirect to the error page. It is almost better to show the error page directly at the URL rather than redirecting to it.
The [Apache `ErrorDocument` directive](https://httpd.apache.org/docs/2.4/mod/core.html#errordocument) explains how... |
101,151 | <p>I have what seems like a super high bounce rate. I'm trying to understand exactly why. </p>
<p>One thing I've noticed about our traffic is that 60% of it comes from direct traffic. I thought that maybe users were coming to my site <code>www.mysite.com</code>and clicking my log in button to take them to <code>coolpr... | [
{
"answer_id": 101152,
"author": "Jaryd Buggins",
"author_id": 15359,
"author_profile": "https://webmasters.stackexchange.com/users/15359",
"pm_score": 3,
"selected": true,
"text": "<p>If all you are using on your website is basic tracking then yes, this would count as a bounce. </p>\n\n... | 2016/11/15 | [
"https://webmasters.stackexchange.com/questions/101151",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72015/"
] | I have what seems like a super high bounce rate. I'm trying to understand exactly why.
One thing I've noticed about our traffic is that 60% of it comes from direct traffic. I thought that maybe users were coming to my site `www.mysite.com`and clicking my log in button to take them to `coolprogram.mysite.com`
If a us... | If all you are using on your website is basic tracking then yes, this would count as a bounce.
It is possible to set up event tracking on links so that if someone clicks on a high engagement linkthat takes them offsite, then this would trigger an additional hit and therefore they wouldn't count as a bounce. Event tra... |
101,159 | <p>I just uploaded some images to a CDN that is available under: </p>
<pre><code>http://subdomain.example.com/image/filename.jpg
</code></pre>
<p>So I need to make any redirect as I do for the main domain? In that case I redirect the non-www version to the www version and it's the preferred URL in Webmaster tools. </... | [
{
"answer_id": 101160,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": true,
"text": "<p>There's no need to redirect a CDN since Google will not treat resources as page content and therefore if... | 2016/11/15 | [
"https://webmasters.stackexchange.com/questions/101159",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71378/"
] | I just uploaded some images to a CDN that is available under:
```
http://subdomain.example.com/image/filename.jpg
```
So I need to make any redirect as I do for the main domain? In that case I redirect the non-www version to the www version and it's the preferred URL in Webmaster tools.
Is it the same for subdoma... | There's no need to redirect a CDN since Google will not treat resources as page content and therefore if resources are accessible in several ways it will have no bearing on the page. You should use the URL that you prefer to use and put this to rest. |
101,181 | <p>I'm new to GA, I've got an anchor link set up on my website mysite.com, that leads users to another website site2.com. Is it possible to set a goal in GA dashboard for a click on that anchor?</p>
| [
{
"answer_id": 101188,
"author": "Jaryd Buggins",
"author_id": 15359,
"author_profile": "https://webmasters.stackexchange.com/users/15359",
"pm_score": 1,
"selected": false,
"text": "<p>I would advise setting up event tracking on the link. Event tracking can be implemented with the follo... | 2016/11/16 | [
"https://webmasters.stackexchange.com/questions/101181",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/70182/"
] | I'm new to GA, I've got an anchor link set up on my website mysite.com, that leads users to another website site2.com. Is it possible to set a goal in GA dashboard for a click on that anchor? | I would advise setting up event tracking on the link. Event tracking can be implemented with the following syntax for Google Universal Analytics
```
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
```
This could be implemented on your site as:
`<a href="site2.com" on... |
101,202 | <p>I have been asked by my supervisor to look for a way to make the website's root domain access the sub-domain instead.</p>
<p>Like:</p>
<ul>
<li><code>example.com</code> is the root domain</li>
<li><code>test.example.com</code> is the sub domain</li>
</ul>
<p>Typing <code>example.com</code> should proceed instead ... | [
{
"answer_id": 101204,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": 4,
"selected": false,
"text": "<p>Indeed you can. For instance some do not realize a www. url is an actual sub-domain. So it is happenin... | 2016/11/17 | [
"https://webmasters.stackexchange.com/questions/101202",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72075/"
] | I have been asked by my supervisor to look for a way to make the website's root domain access the sub-domain instead.
Like:
* `example.com` is the root domain
* `test.example.com` is the sub domain
Typing `example.com` should proceed instead to the `test.example.com`. Is this possible? | Indeed you can. For instance some do not realize a www. url is an actual sub-domain. So it is happening all the time.
You can go to your server settings and choose your sub-domain as the main domain name or add some code to create a redirect.
Many people use Apache servers for hosting websites and when you have used... |
101,244 | <p>How does google consider these links? for example :</p>
<pre><code><a href="url" rel="nofollow" rel="dofollow">text</a>
</code></pre>
<p>Is it a <code>dofollow</code> link or <code>nofollow</code>? Which one has more priority over the other one?
I've used dofollow tags for backlinks of my website <a hr... | [
{
"answer_id": 101245,
"author": "Josip Ivic",
"author_id": 56095,
"author_profile": "https://webmasters.stackexchange.com/users/56095",
"pm_score": 3,
"selected": false,
"text": "<p>The tag <code>rel=\"dofollow\"</code> doesn't exist, it does nothing if anybody uses it.</p>\n\n<p>Having... | 2016/11/18 | [
"https://webmasters.stackexchange.com/questions/101244",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72122/"
] | How does google consider these links? for example :
```
<a href="url" rel="nofollow" rel="dofollow">text</a>
```
Is it a `dofollow` link or `nofollow`? Which one has more priority over the other one?
I've used dofollow tags for backlinks of my website <http://www.greenseo.ir> , but I think it's an error! | *No such thing as dofollow:*
The `dofollow` attribute does **NOT EXIST** in either `rel` or `meta`, this is due to the fact that by default both pages and links are considered `dofollow` unless you use `nofollow`.
[Meta follow](http://www.robotstxt.org/meta.html) is not to be confused with dofollow `<meta name="robot... |
101,329 | <p>Could you please let me know how to block such URLs from <code>robots.txt</code> for Googlebots to stop indexing? </p>
<pre class="lang-none prettyprint-override"><code>http://www.example.com/+rt6s4ayv1e/d112587/ia0g64491218q
</code></pre>
<p>My website was hacked which is now recovered but the hacker indexed 5000... | [
{
"answer_id": 101330,
"author": "Sven",
"author_id": 58688,
"author_profile": "https://webmasters.stackexchange.com/users/58688",
"pm_score": 2,
"selected": false,
"text": "<pre><code>User-Agent: * \nDisallow: /+\n</code></pre>\n\n<p>should do what you want. It will tell the robot to n... | 2016/11/22 | [
"https://webmasters.stackexchange.com/questions/101329",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Could you please let me know how to block such URLs from `robots.txt` for Googlebots to stop indexing?
```none
http://www.example.com/+rt6s4ayv1e/d112587/ia0g64491218q
```
My website was hacked which is now recovered but the hacker indexed 5000 URLs in Google and now I get error 404 on random generated links as abo... | >
> My website was hacked which is now recovered but the hacker indexed 5000 URLs in Google and now I get error 404
>
>
>
A 404 is probably preferable to blocking with `robots.txt` if you want these URLs dropped from the search engines (ie. Google). If you block crawling then the URL could still remain indexed. (N... |
101,351 | <p>I have a small site which stands as a catalog for our products. We have several but similar products ("small", "medium", "big" - each with different specification)
Currently each product is in one page but I'm thinking of merge the pages into one long page. What is the best practice in such a case?</p>
| [
{
"answer_id": 101330,
"author": "Sven",
"author_id": 58688,
"author_profile": "https://webmasters.stackexchange.com/users/58688",
"pm_score": 2,
"selected": false,
"text": "<pre><code>User-Agent: * \nDisallow: /+\n</code></pre>\n\n<p>should do what you want. It will tell the robot to n... | 2016/11/22 | [
"https://webmasters.stackexchange.com/questions/101351",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72250/"
] | I have a small site which stands as a catalog for our products. We have several but similar products ("small", "medium", "big" - each with different specification)
Currently each product is in one page but I'm thinking of merge the pages into one long page. What is the best practice in such a case? | >
> My website was hacked which is now recovered but the hacker indexed 5000 URLs in Google and now I get error 404
>
>
>
A 404 is probably preferable to blocking with `robots.txt` if you want these URLs dropped from the search engines (ie. Google). If you block crawling then the URL could still remain indexed. (N... |
101,683 | <p>We have a web application that handles many websites that have test and production environment.</p>
<p>This application has only one folder and it's hosted with IIS.
We already have <code>noindex nofollow</code>, <code>index follow</code> on respective domains but it's not working for static files (images, pdf docu... | [
{
"answer_id": 101684,
"author": "tillinberlin",
"author_id": 22460,
"author_profile": "https://webmasters.stackexchange.com/users/22460",
"pm_score": 0,
"selected": false,
"text": "<p>I would not recommend relying on the robots.txt file. Search engines may respect it – or may not. The \... | 2016/12/02 | [
"https://webmasters.stackexchange.com/questions/101683",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72627/"
] | We have a web application that handles many websites that have test and production environment.
This application has only one folder and it's hosted with IIS.
We already have `noindex nofollow`, `index follow` on respective domains but it's not working for static files (images, pdf documents etc.)
Is there a way to s... | >
> We already have `noindex nofollow`, `index follow` on respective domains
>
>
>
Presumably this is implemented using a `<meta name="robots"...` element in the HEAD section of the HTML? (Strictly speaking these values should be comma separated, ie. `"noindex, follow"`.)
>
> but it's not working for static file... |
101,735 | <p>I am currently trying to configure a User Scope dimension that is set on an Admin section of a website. Reason being, so that I can filter out users that edit the site, i.e. Administrators, from reports.</p>
<p>Using Google Analytics Debugger I can see that the dimension is set on the page that sets the dimension.<... | [
{
"answer_id": 101684,
"author": "tillinberlin",
"author_id": 22460,
"author_profile": "https://webmasters.stackexchange.com/users/22460",
"pm_score": 0,
"selected": false,
"text": "<p>I would not recommend relying on the robots.txt file. Search engines may respect it – or may not. The \... | 2016/12/04 | [
"https://webmasters.stackexchange.com/questions/101735",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/12632/"
] | I am currently trying to configure a User Scope dimension that is set on an Admin section of a website. Reason being, so that I can filter out users that edit the site, i.e. Administrators, from reports.
Using Google Analytics Debugger I can see that the dimension is set on the page that sets the dimension.
As I unde... | >
> We already have `noindex nofollow`, `index follow` on respective domains
>
>
>
Presumably this is implemented using a `<meta name="robots"...` element in the HEAD section of the HTML? (Strictly speaking these values should be comma separated, ie. `"noindex, follow"`.)
>
> but it's not working for static file... |
101,748 | <p>I just enabled Demographics feature by making changes via Admin and adding tracking code: <code>ga('require', 'displayfeatures');</code></p>
<p>Anaytics code is like this:</p>
<pre><code>ga('create', 'UA-49788339-1', 'example.me');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</code></pre>
<p>Rig... | [
{
"answer_id": 101802,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>You asked this question on December 5th, but your date range in Google Analytics only shows data... | 2016/12/05 | [
"https://webmasters.stackexchange.com/questions/101748",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21192/"
] | I just enabled Demographics feature by making changes via Admin and adding tracking code: `ga('require', 'displayfeatures');`
Anaytics code is like this:
```
ga('create', 'UA-49788339-1', 'example.me');
ga('require', 'displayfeatures');
ga('send', 'pageview');
```
Right now I see this screen. Does it take time ... | You asked this question on December 5th, but your date range in Google Analytics only shows data through December 4th. The first thing you should do is change your date range to include the current day.
It also often takes 24 hours for data to show up in Google Analytics reports. The second thing you should do is wait... |
101,819 | <p>I'm looking for guidance, options and ideas for an e-commerce site that is currently in production and is selling well. We sell primarily one product, but the business has three general categories of customers, let's say CAT1, CAT2, and CAT3.</p>
<p>Currently, all our content, be it video, faq, testimonial or produ... | [
{
"answer_id": 116132,
"author": "Josh Salganik",
"author_id": 75670,
"author_profile": "https://webmasters.stackexchange.com/users/75670",
"pm_score": 0,
"selected": false,
"text": "<p>SEO 101: If you are using nearly the identical content on 3 separate pages, you either must chose a ca... | 2016/12/06 | [
"https://webmasters.stackexchange.com/questions/101819",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72751/"
] | I'm looking for guidance, options and ideas for an e-commerce site that is currently in production and is selling well. We sell primarily one product, but the business has three general categories of customers, let's say CAT1, CAT2, and CAT3.
Currently, all our content, be it video, faq, testimonial or product-feature... | The usual mystical SEO disclaimers aside:
**ISSUE 1: Duplicate/Thin Content**
This doesn't hurt, but Canonicalisation will probably help.
By varying, your boss is trying to target different niches. That is perfectly understandable.
I'd probably think about both - a general product page, with the niche targeting poi... |
101,843 | <p>I have listing pages of this format:</p>
<pre><code>www.example.com/xyz/abc/pageNo?x=X&y=Y
</code></pre>
<p>The URL parameters only are used for sorting purpose. "pageNo" is the page number.</p>
<p>Here the URL parameters are not mandatory. So, I also render results for: </p>
<pre><code>www.example.com/xyz/a... | [
{
"answer_id": 101872,
"author": "marcanuy",
"author_id": 18400,
"author_profile": "https://webmasters.stackexchange.com/users/18400",
"pm_score": 0,
"selected": false,
"text": "<p>If <code>x</code> and <code>y</code> parameters doesn't change the page's content then it is the right way ... | 2016/12/07 | [
"https://webmasters.stackexchange.com/questions/101843",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/66423/"
] | I have listing pages of this format:
```
www.example.com/xyz/abc/pageNo?x=X&y=Y
```
The URL parameters only are used for sorting purpose. "pageNo" is the page number.
Here the URL parameters are not mandatory. So, I also render results for:
```
www.example.com/xyz/abc/pageNo
```
Currently, the way I have the ca... | It depends on what/how you sort.
### `canonical`
If page `/xyz/abc/1` contains {"A", "B", "C"}, and if page `/xyz/abc/1?x=X` contains {"B", "C", "D"}, it would be **wrong** to say that `/xyz/abc/1?x=X` has the canonical URL `/xyz/abc/1`.
If page `/xyz/abc/1` contains {"A", "B", "C"}, and if page `/xyz/abc/1?x=X` con... |
101,851 | <p>Recently I have noticed that Google is indexing URLs containing utm_campaign, utm_source and utm_medium query string arguments. In the results, Google shows URLs with these query strings rather than the canonical URL:</p>
<p><a href="https://i.stack.imgur.com/PLmbx.png" rel="noreferrer"><img src="https://i.stack.im... | [
{
"answer_id": 102059,
"author": "muhammad usman",
"author_id": 32588,
"author_profile": "https://webmasters.stackexchange.com/users/32588",
"pm_score": 1,
"selected": false,
"text": "<p>Have you checked that is your canonical URL has been indexed or not?\nIf the canonical URL has been i... | 2016/12/07 | [
"https://webmasters.stackexchange.com/questions/101851",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8131/"
] | Recently I have noticed that Google is indexing URLs containing utm\_campaign, utm\_source and utm\_medium query string arguments. In the results, Google shows URLs with these query strings rather than the canonical URL:
[](https://i.stack.imgur.com/PLmb... | Reviewing your website as it is now, I am not too sure if this is a problem any longer / currently.
The issue is not internal linkage on your website with the inclusion of UTM parameters (as another question suggests).
It seems more like some process you have to share your website content on social media is leaving t... |
101,898 | <p>I checked the archives of the site but I was unable to see an answer to my question. Recently I've been researching who is responsible for <code>th1s_1s_a_4o4.html</code> but some of the forums seem to suggest Google is behind it. </p>
<p>Is there something I'm needing to do in particular with this code as I gener... | [
{
"answer_id": 102836,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>Whatever is hitting your site with that URL, it doesn't look like it is Google. I checked my s... | 2016/12/08 | [
"https://webmasters.stackexchange.com/questions/101898",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21000/"
] | I checked the archives of the site but I was unable to see an answer to my question. Recently I've been researching who is responsible for `th1s_1s_a_4o4.html` but some of the forums seem to suggest Google is behind it.
Is there something I'm needing to do in particular with this code as I generate error logs regular... | Found this on a Site Lock Facebook page.
>
> SiteLock - Website Security Thanks for the info. After looking into your account, you do have a free scanner provided by your hosting company. In order for us to verify that your 404 page is clean, we actually try to provoke a 404 error by making a request to a non-existe... |
101,935 | <p>Google Search Console (Webmaster Tools) keeps listing the following errors for my sitemap:</p>
<blockquote>
<p>Sitemap provided URLs and alternate URLs in 'de' that do not have return tags.</p>
<pre><code>+---+-----------------+------------+------------------------+
| # | Originating URL | Crawl date | Alternate... | [
{
"answer_id": 101952,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": 0,
"selected": false,
"text": "<p>You should be using something like this instead.</p>\n\n<pre><code>hreflang=\"en-de\"\n</code></pre>\n... | 2016/12/10 | [
"https://webmasters.stackexchange.com/questions/101935",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72876/"
] | Google Search Console (Webmaster Tools) keeps listing the following errors for my sitemap:
>
> Sitemap provided URLs and alternate URLs in 'de' that do not have return tags.
>
>
>
> ```
> +---+-----------------+------------+------------------------+
> | # | Originating URL | Crawl date | Alternate URL |
>... | I think norcal johnny is incorrect. Yes, it's not ideal to have content for Dutch users on a .de domain but it's not technically incorrect to do so. And the error you are seeing is a technical error.
Your sitemap actually does show return tags. So there are a few possibilities I can think of where an error might arise... |
102,024 | <p>I'm using WordPress and I added some rewrite functionality so that certain posts that normally have a link like:</p>
<pre><code>http://example.com/category/post-name
</code></pre>
<p>Now look like:</p>
<pre><code>http://example.com/special/path/post-name
</code></pre>
<p>But if you were to visit either link, the... | [
{
"answer_id": 102000,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 0,
"selected": false,
"text": "<p>Your question confuse me.</p>\n\n<blockquote>\n <p>Can Googlebot see pagination meta tags created with JavaS... | 2016/12/14 | [
"https://webmasters.stackexchange.com/questions/102024",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72981/"
] | I'm using WordPress and I added some rewrite functionality so that certain posts that normally have a link like:
```
http://example.com/category/post-name
```
Now look like:
```
http://example.com/special/path/post-name
```
But if you were to visit either link, the same content is served. Working on fixing this, ... | Google can *probably* interpret these tags correctly when they are set by JavaScript. In 2014 [Google announced](https://webmasters.googleblog.com/2014/05/understanding-web-pages-better.html) that it executes JavaScript before indexing pages.
I don't know a good way of testing these tags specifically, however I've se... |
102,083 | <p>Please don't close for being a duplicate, I have already tried the other answered questions and am still having issues.</p>
<p>First, I know why the certification for the site breaks when using <code>www</code>. The cert is for just <code>example.com</code> not <code>www.example.com</code>, and adding <code>www</co... | [
{
"answer_id": 102084,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": false,
"text": "<p>The \"bad cert thing\" is triggered by the browser during the SSL handshake. This is the very first thing that... | 2016/12/15 | [
"https://webmasters.stackexchange.com/questions/102083",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/54878/"
] | Please don't close for being a duplicate, I have already tried the other answered questions and am still having issues.
First, I know why the certification for the site breaks when using `www`. The cert is for just `example.com` not `www.example.com`, and adding `www` is technically a subdomain and therefore breaks th... | Browsers don’t further access the server when the certificate is not trusted/valid, so the `.htaccess` redirect can’t work (it should work as soon as the user adds the certificate as an exception).
**The best solution is to get a certificate for the hostname with `www`, too.** This does not only help for redirecting u... |
102,094 | <p>We have several pages with good Pageseed-values - even those with 100/100. Since a few days however, Pagespeed claims across all sites (technically different, different servers) that our images could be more optimized.</p>
<p>Does anyone know what exactly has been changed by the algorithm?
On the one with PS 100/1... | [
{
"answer_id": 102225,
"author": "S. Rieger",
"author_id": 73190,
"author_profile": "https://webmasters.stackexchange.com/users/73190",
"pm_score": 3,
"selected": false,
"text": "<p>I see the same unsightly results for pages without any problem before, \nof course using responsive framew... | 2016/12/16 | [
"https://webmasters.stackexchange.com/questions/102094",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/28740/"
] | We have several pages with good Pageseed-values - even those with 100/100. Since a few days however, Pagespeed claims across all sites (technically different, different servers) that our images could be more optimized.
Does anyone know what exactly has been changed by the algorithm?
On the one with PS 100/100 (before... | I see the same unsightly results for pages without any problem before,
of course using responsive frameworks like ZURB Foundation with responsive images.
In the past I used:
```
find . -iname "*.jpg" -exec jpegoptim --strip-all -o -p {} \;
```
and got great results.
Jan 2017 solution: 85% quality should do the t... |
102,098 | <p>I'm trying to identify the CSS that is generating the arrows next to the items in the "Recent Jobs" section of my <a href="https://www.tridentembeddedsolutions.com/" rel="nofollow noreferrer">site's homepage</a> (scroll down, sidebar on right). The code is being generated by a plugin, and I need to identify the CSS... | [
{
"answer_id": 102100,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>When looking for CSS rules that put things between, before, or after, it is important to look fo... | 2016/12/16 | [
"https://webmasters.stackexchange.com/questions/102098",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73066/"
] | I'm trying to identify the CSS that is generating the arrows next to the items in the "Recent Jobs" section of my [site's homepage](https://www.tridentembeddedsolutions.com/) (scroll down, sidebar on right). The code is being generated by a plugin, and I need to identify the CSS generating the arrows, so that I can cha... | Try right-clicking (or command-click on a Mac) over the element with Firefox and selecting 'Inspect element' from the menu. This reveals that it is an unordered list with a background image styling the list on line 255 of style.css.
```
.widget ul li {
background: url(images/bullet.png) no-repeat 0 10px;
paddi... |
102,123 | <p>Is there any way to clone a MediaWiki site that's been abandoned by the owner and all admins? None of the admins have been seen in 6 months and all attempts to contact any of them over the past 3-4 months have failed and the community is worried for the future of the Wiki. We have all put countless man-hours into th... | [
{
"answer_id": 102134,
"author": "klml",
"author_id": 57781,
"author_profile": "https://webmasters.stackexchange.com/users/57781",
"pm_score": 2,
"selected": false,
"text": "<p>Media-<a href=\"https://www.mediawiki.org/wiki/Help:Export\" rel=\"nofollow noreferrer\">Wiki pages can be expo... | 2016/12/17 | [
"https://webmasters.stackexchange.com/questions/102123",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73095/"
] | Is there any way to clone a MediaWiki site that's been abandoned by the owner and all admins? None of the admins have been seen in 6 months and all attempts to contact any of them over the past 3-4 months have failed and the community is worried for the future of the Wiki. We have all put countless man-hours into the W... | Backing up a wiki without server shell access, requires Python v2 (v3 didn't yet work last time I did this).
From the command-line run the the [WikiTeam](https://github.com/WikiTeam/wikiteam) Python script [dumpgenerator.py](https://github.com/WikiTeam/wikiteam/blob/master/dumpgenerator.py) to get an XML dump, includi... |
102,125 | <p>I included jquery and bootstrap mainly for user experience. When I checked my site’s speed on <a href="https://developers.google.com/speed/pagespeed/" rel="nofollow noreferrer">Google's PageSpeed</a>, it recommended me to remove those libraries in order to boost page speed.</p>
<p>Now, if I remove those libraries p... | [
{
"answer_id": 102134,
"author": "klml",
"author_id": 57781,
"author_profile": "https://webmasters.stackexchange.com/users/57781",
"pm_score": 2,
"selected": false,
"text": "<p>Media-<a href=\"https://www.mediawiki.org/wiki/Help:Export\" rel=\"nofollow noreferrer\">Wiki pages can be expo... | 2016/12/17 | [
"https://webmasters.stackexchange.com/questions/102125",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72974/"
] | I included jquery and bootstrap mainly for user experience. When I checked my site’s speed on [Google's PageSpeed](https://developers.google.com/speed/pagespeed/), it recommended me to remove those libraries in order to boost page speed.
Now, if I remove those libraries permanently then I would be compromising the res... | Backing up a wiki without server shell access, requires Python v2 (v3 didn't yet work last time I did this).
From the command-line run the the [WikiTeam](https://github.com/WikiTeam/wikiteam) Python script [dumpgenerator.py](https://github.com/WikiTeam/wikiteam/blob/master/dumpgenerator.py) to get an XML dump, includi... |
102,128 | <p>I am trying to redirect an old URL</p>
<pre><code>http://example.com/keyboard/keyboardchart.php?gam=7&sty=15&lay=1
</code></pre>
<p>to a new URL</p>
<pre><code>http://example.com/keyboard/keyboard-chart.php?gam=7&sty=15&lay=1
</code></pre>
<p>using <code>.htaccess</code>.</p>
<p>Here is the cont... | [
{
"answer_id": 102138,
"author": "Vlad Shundalov",
"author_id": 72989,
"author_profile": "https://webmasters.stackexchange.com/users/72989",
"pm_score": -1,
"selected": false,
"text": "<p>Quick and dirty way - try, it should work.</p>\n\n<pre><code>Redirect 301 /keyboard/keyboardchart.ph... | 2016/12/17 | [
"https://webmasters.stackexchange.com/questions/102128",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/47623/"
] | I am trying to redirect an old URL
```
http://example.com/keyboard/keyboardchart.php?gam=7&sty=15&lay=1
```
to a new URL
```
http://example.com/keyboard/keyboard-chart.php?gam=7&sty=15&lay=1
```
using `.htaccess`.
Here is the contents of `example.com/keyboard/.htaccess`:
```
IndexIgnore *
Redirect 301 keyboardc... | >
>
> ```
> Redirect 301 keyboardchart.php keyboard-chart.php
>
> ```
>
>
The 500 error is because the target URL is *relative*. That is not allowed with a mod\_alias `Redirect`. The target URL must either be absolute (with a scheme and hostname) or must start with a slash (ie. root-relative).
But also, the sour... |
102,193 | <p>I have pictures which have a list of main colours used in it. And each colour is also a hyperlink to a page, with listings for all pictures that contain that colour:</p>
<pre><code>example.com/color/336600
</code></pre>
<p>So that page would contain images with colour #336600.
The problem I have is describing that... | [
{
"answer_id": 102196,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 2,
"selected": false,
"text": "<p>I think this is what you are looking for</p>\n\n<p><a href=\"http://htmlcolorcodes.com/color-names/\" rel=\"no... | 2016/12/19 | [
"https://webmasters.stackexchange.com/questions/102193",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37824/"
] | I have pictures which have a list of main colours used in it. And each colour is also a hyperlink to a page, with listings for all pictures that contain that colour:
```
example.com/color/336600
```
So that page would contain images with colour #336600.
The problem I have is describing that for humans.
Currently I a... | I think this is what you are looking for
<http://htmlcolorcodes.com/color-names/> |
102,220 | <p>What I'm trying to do is a bit complicated and not sure if possible. Here it goes:</p>
<p>I have one main domain "maindomain.com" which corresponds to an event. Then I have several other domains, let's say "location1.com", "location2.com", "location3.com" which correspond to different locations where the event is h... | [
{
"answer_id": 102286,
"author": "Patrick Mullins",
"author_id": 73270,
"author_profile": "https://webmasters.stackexchange.com/users/73270",
"pm_score": 2,
"selected": false,
"text": "<p>I hope I'm understanding this correctly. But it sounds likes you want to run three domains (maindoma... | 2016/12/20 | [
"https://webmasters.stackexchange.com/questions/102220",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73187/"
] | What I'm trying to do is a bit complicated and not sure if possible. Here it goes:
I have one main domain "maindomain.com" which corresponds to an event. Then I have several other domains, let's say "location1.com", "location2.com", "location3.com" which correspond to different locations where the event is held...
M... | This is what worked:
1) I pointed (DNS) each domain (`location1.com, location2.com...`) to where `maindomain.com` is hosted.
2) In the hosting plan I added each domain as PARKED DOMAIN.
3) In the .htaccess I had to define each domain as follows:
```
# location1.com
# -------------
RewriteCond %{HTTP_HOST} ^www\... |
102,221 | <p>I need to fire <code>301</code> redirection<br>
from <code>example.com...</code> to <code>example.com</code><br>
and <code>example.com//////</code> to <code>example.com</code></p>
<p>Here is my code: </p>
<pre><code>RewriteCond %{THE_REQUEST} \ /([^\?\ .]*)\.(?:\?|\ |$)
RewriteRule ^ /%1 [L,R=301]
</code></pre>
<... | [
{
"answer_id": 102286,
"author": "Patrick Mullins",
"author_id": 73270,
"author_profile": "https://webmasters.stackexchange.com/users/73270",
"pm_score": 2,
"selected": false,
"text": "<p>I hope I'm understanding this correctly. But it sounds likes you want to run three domains (maindoma... | 2016/12/20 | [
"https://webmasters.stackexchange.com/questions/102221",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73188/"
] | I need to fire `301` redirection
from `example.com...` to `example.com`
and `example.com//////` to `example.com`
Here is my code:
```
RewriteCond %{THE_REQUEST} \ /([^\?\ .]*)\.(?:\?|\ |$)
RewriteRule ^ /%1 [L,R=301]
```
It does not work.
And here is my *.htaccess* file:
```
RewriteEngine on
RewriteCond %... | This is what worked:
1) I pointed (DNS) each domain (`location1.com, location2.com...`) to where `maindomain.com` is hosted.
2) In the hosting plan I added each domain as PARKED DOMAIN.
3) In the .htaccess I had to define each domain as follows:
```
# location1.com
# -------------
RewriteCond %{HTTP_HOST} ^www\... |
102,271 | <p>I've tried <a href="https://webmasters.stackexchange.com/search?q=wrap+elements+same+a">searching</a> and read the <em>Questions that may already have your answer</em> list, but couldn't find an answer. </p>
<p>This is about a category page that lists products in it, you click one and go to the actual product page ... | [
{
"answer_id": 102273,
"author": "L Martin",
"author_id": 61597,
"author_profile": "https://webmasters.stackexchange.com/users/61597",
"pm_score": 1,
"selected": false,
"text": "<p>When there's no anchor text, most crawlers default to looking at the image's alt tags for a description.</p... | 2016/12/22 | [
"https://webmasters.stackexchange.com/questions/102271",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/45395/"
] | I've tried [searching](https://webmasters.stackexchange.com/search?q=wrap+elements+same+a) and read the *Questions that may already have your answer* list, but couldn't find an answer.
This is about a category page that lists products in it, you click one and go to the actual product page (not sure if there's a commo... | When there's no anchor text, most crawlers default to looking at the image's alt tags for a description.
If you're not using alt tags, I would imagine most crawlers default to scraping just the anchor text. |
102,291 | <p>I have a PHP file that stores some connection info for part of my website. It is not "readable" from the Web, which is good. I.e. it is blank when you navigate to it from the Web.</p>
<p>However, even if it is blank, I would rather the server return an 403 error message when people navigate to it. Can I use <code>.... | [
{
"answer_id": 102292,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>It is not \"readable\" from the Web</p>\n</blockquote>\n\n<p>What you are seeing is the output... | 2016/12/23 | [
"https://webmasters.stackexchange.com/questions/102291",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/47623/"
] | I have a PHP file that stores some connection info for part of my website. It is not "readable" from the Web, which is good. I.e. it is blank when you navigate to it from the Web.
However, even if it is blank, I would rather the server return an 403 error message when people navigate to it. Can I use `.htaccess` to ma... | *This can be easily done using `Deny from all`:*
```
<Files "filetoblock.php">
Order Allow,Deny
Deny from all
</Files>
```
This will also issue a 403 status. |
102,414 | <p><strong>Please Note</strong>: I'm not asking <em>what to do</em> here. I'm asking <em>why</em> this is happening, in order to understand Google Search Console's behaviour.</p>
<p>So this has been driving me nuts for weeks. I've made repeated removal requests in Search Console for 404 error pages that Google somehow... | [
{
"answer_id": 102433,
"author": "Shivbhadrasinh Gohil",
"author_id": 56477,
"author_profile": "https://webmasters.stackexchange.com/users/56477",
"pm_score": 1,
"selected": false,
"text": "<p>To remove the 404 pages from the search console, redirect those 404 pages to the relevant pages... | 2016/12/30 | [
"https://webmasters.stackexchange.com/questions/102414",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37923/"
] | **Please Note**: I'm not asking *what to do* here. I'm asking *why* this is happening, in order to understand Google Search Console's behaviour.
So this has been driving me nuts for weeks. I've made repeated removal requests in Search Console for 404 error pages that Google somehow sees as coming from pages long since... | >
> It seems all the pages from a previous version of the site - all with php extension'd pages - continously come back as 404, including the old XML sitemaps from the long-ago-removed Yoast SEO plugin.
>
>
>
To encourage Google to forget about these long gone and never coming back URLs or to at least help differe... |
102,426 | <p>I am able to ssh into my Amazon EC2 instance with <code>ssh -i node.pem ubuntu@35.164.71.227</code></p>
<p>I am trying to copy over a folder called <code>gametest</code> from my laptop to the instance in a folder called <code>gametest</code>. I keep getting permission denied. I tried the command <code>scp -v -r -i ... | [
{
"answer_id": 102427,
"author": "marcanuy",
"author_id": 18400,
"author_profile": "https://webmasters.stackexchange.com/users/18400",
"pm_score": 2,
"selected": true,
"text": "<p>As noted in comments, try with </p>\n\n<pre><code>scp -v -r -i node.pem /Users/path/to/file/gametest ubuntu@... | 2016/12/30 | [
"https://webmasters.stackexchange.com/questions/102426",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73121/"
] | I am able to ssh into my Amazon EC2 instance with `ssh -i node.pem ubuntu@35.164.71.227`
I am trying to copy over a folder called `gametest` from my laptop to the instance in a folder called `gametest`. I keep getting permission denied. I tried the command `scp -v -r -i node.pem /Users/path/to/file/gametest ubuntu@35.... | As noted in comments, try with
```
scp -v -r -i node.pem /Users/path/to/file/gametest ubuntu@35.164.71.227:
```
so the `gametest` directory is created in the server.
>
> the folder called gametest is highlighted in green. What does that mean?
>
>
>
The green color depends on your environment configuration, it... |
102,440 | <p>I noticed today that 30 people or so registered to my Joomla site (I don't expose a registration/login form), most of them appear to be spammers/bots, somehow they must've found a way to register via hidden URLs. All of these users are disabled (the default) but what's bothering me is that some of these users are in... | [
{
"answer_id": 102427,
"author": "marcanuy",
"author_id": 18400,
"author_profile": "https://webmasters.stackexchange.com/users/18400",
"pm_score": 2,
"selected": true,
"text": "<p>As noted in comments, try with </p>\n\n<pre><code>scp -v -r -i node.pem /Users/path/to/file/gametest ubuntu@... | 2016/12/31 | [
"https://webmasters.stackexchange.com/questions/102440",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73478/"
] | I noticed today that 30 people or so registered to my Joomla site (I don't expose a registration/login form), most of them appear to be spammers/bots, somehow they must've found a way to register via hidden URLs. All of these users are disabled (the default) but what's bothering me is that some of these users are in th... | As noted in comments, try with
```
scp -v -r -i node.pem /Users/path/to/file/gametest ubuntu@35.164.71.227:
```
so the `gametest` directory is created in the server.
>
> the folder called gametest is highlighted in green. What does that mean?
>
>
>
The green color depends on your environment configuration, it... |
102,475 | <p>I recently started a WordPress blog with HTTPS and want some advice.</p>
<p>I prefer to use HTTPS + www for my blog. In order to do that will I have to add all these 4 types of addresses to Webmaster Tools?</p>
<ul>
<li><code>http://example.com</code></li>
<li><code>http://www.example.com</code></li>
<li><code>htt... | [
{
"answer_id": 102449,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, Google does expand search terms... </p>\n\n<p>Google associates and pairs words, numerals, misspell... | 2017/01/02 | [
"https://webmasters.stackexchange.com/questions/102475",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73507/"
] | I recently started a WordPress blog with HTTPS and want some advice.
I prefer to use HTTPS + www for my blog. In order to do that will I have to add all these 4 types of addresses to Webmaster Tools?
* `http://example.com`
* `http://www.example.com`
* `https://example.com`
* `https://www.example.com`
If yes, to what... | Yes, Google does expand search terms...
Google associates and pairs words, numerals, misspellings and non directory words with a vast amount of search terms and they need not be an 'exact' search. For example Conor McGregor is also know as "The Notorious", those containing the exact are generally preferred but not al... |
102,479 | <p>The website example.com has different Google Analytics tracking codes.
One we installed in the agency UA-XXXXXXXX-1 and another one the webmaster installed UA-XXXXXXXX-3 property tag that monitors our traffic at the agency and one roll up property tag for all the 115 agencies UA-XXXXXXXX-15. ( for the main website... | [
{
"answer_id": 102481,
"author": "Eike Pierstorff",
"author_id": 29809,
"author_profile": "https://webmasters.stackexchange.com/users/29809",
"pm_score": 1,
"selected": false,
"text": "<p>This looks like a correct implementation - not only are all of the instances of the tracker the same... | 2017/01/02 | [
"https://webmasters.stackexchange.com/questions/102479",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73512/"
] | The website example.com has different Google Analytics tracking codes.
One we installed in the agency UA-XXXXXXXX-1 and another one the webmaster installed UA-XXXXXXXX-3 property tag that monitors our traffic at the agency and one roll up property tag for all the 115 agencies UA-XXXXXXXX-15. ( for the main website www... | This looks like a correct implementation - not only are all of the instances of the tracker the same, current version of GA, they also make correct use of [named trackers](https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#naming_trackers) that send to different GA properties.
T... |
102,480 | <p>I'm reading it in <a href="https://webpack.js.org/guides/caching/#the-problem" rel="nofollow noreferrer">Webpack docs</a>:</p>
<blockquote>
<p>The way it works has a pitfall: if we don’t change filenames of our resources when deploying a new version, browser might think it hasn’t been updated and client will get ... | [
{
"answer_id": 102482,
"author": "Rob",
"author_id": 8466,
"author_profile": "https://webmasters.stackexchange.com/users/8466",
"pm_score": 0,
"selected": false,
"text": "<p>Well, if you tell it never to cache then nothing will ever be cached. So you need to change the file name but it d... | 2017/01/02 | [
"https://webmasters.stackexchange.com/questions/102480",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73515/"
] | I'm reading it in [Webpack docs](https://webpack.js.org/guides/caching/#the-problem):
>
> The way it works has a pitfall: if we don’t change filenames of our resources when deploying a new version, browser might think it hasn’t been updated and client will get a cached version of it.
>
>
>
I'm curious, is it mand... | Yes, you can tell the browser not to cache anything, but then your site will be slower because visitors have to re-download the assets on every page load.
The files you refer to are auto-generated so I don't see any reason you would be "bothered" by them, they're just file names that neither you or your visitors need... |
102,509 | <blockquote>
<p><strong>TL;DR</strong><br>
I get a lot of DMARC feedback from accounts/websites I don't have contact with and want some clarity on if I should be taking any action or if these feedback reports are informative of any serious issues?</p>
</blockquote>
<p>I run a WHM server and use SPF and DKIM (and _... | [
{
"answer_id": 102789,
"author": "richhallstoke",
"author_id": 35875,
"author_profile": "https://webmasters.stackexchange.com/users/35875",
"pm_score": 4,
"selected": true,
"text": "<blockquote>\n <p>Are these reports something that can be acted upon?</p>\n</blockquote>\n\n<p>Yes, but m... | 2017/01/03 | [
"https://webmasters.stackexchange.com/questions/102509",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/50889/"
] | >
> **TL;DR**
>
> I get a lot of DMARC feedback from accounts/websites I don't have contact with and want some clarity on if I should be taking any action or if these feedback reports are informative of any serious issues?
>
>
>
I run a WHM server and use SPF and DKIM (and \_DMARC), all emails are sent from th... | >
> Are these reports something that can be acted upon?
>
>
>
Yes, but most of the information will hopefully be confirming all is OK with your configuration.
>
> How Should DMARC reports such as these be acted upon at my end?
>
>
>
Typically these reports would be processed by an automated system which turn... |
102,615 | <p>I am writing HTML code for my personal webpage.
I used GitHub page to host it. I am French and my firstname Céline contains accents. Assume my surname is Foo.</p>
<p>There is two kind of request from the people who want to see my page: </p>
<ol>
<li>either they will look for my firstname without accent that is "Ce... | [
{
"answer_id": 102616,
"author": "DocRoot",
"author_id": 52912,
"author_profile": "https://webmasters.stackexchange.com/users/52912",
"pm_score": 1,
"selected": false,
"text": "<p>Just use the correct version in your page and the search engines (ie. Google) will figure it out.</p>\n\n<p>... | 2017/01/06 | [
"https://webmasters.stackexchange.com/questions/102615",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73666/"
] | I am writing HTML code for my personal webpage.
I used GitHub page to host it. I am French and my firstname Céline contains accents. Assume my surname is Foo.
There is two kind of request from the people who want to see my page:
1. either they will look for my firstname without accent that is "Celine Foo homepage"
2... | The right way to handle this situation is to have two index.html files, one for each language.
Then you will need to fill the **title** html tag and **meta description** tag in English and in the other page the French version.
After that you should specify that each page has the same content but in a different langu... |
102,627 | <p>I was googling my (real) name yesterday (which is the name of my site) on a lark and discovered a website that had copied my personal website and its content. Like a carbon copy including links to images on the webserver that are not linked to at all anywhere on the site.</p>
<p>I am not all that concerned about le... | [
{
"answer_id": 102632,
"author": "David",
"author_id": 73687,
"author_profile": "https://webmasters.stackexchange.com/users/73687",
"pm_score": 2,
"selected": false,
"text": "<p>There are some ways they could have got those images, and the most common is that Apache served the index of a... | 2017/01/07 | [
"https://webmasters.stackexchange.com/questions/102627",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73681/"
] | I was googling my (real) name yesterday (which is the name of my site) on a lark and discovered a website that had copied my personal website and its content. Like a carbon copy including links to images on the webserver that are not linked to at all anywhere on the site.
I am not all that concerned about leaking pers... | *Note that if you have a dedicated server with it's own IP address then it's possible that the other domain is simply pointing to your IP address, in which case, see the additional note at the end of this answer.*
---
>
> I can see numerous requests by the clone site for images in the apache2/access.log file.
>
>
... |
102,682 | <p>I have studied the methods to embed a video file into a Google site using the Embed Gadget. There is documentation about the case when the video is from YouTube. In this case, in the iframe clause we can add <code>?autoplay=1&loop=1</code>. This causes an auto start and when the end of the video is reached, it s... | [
{
"answer_id": 103133,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>Somebody asked <a href=\"https://productforums.google.com/forum/#!topic/docs/8m2OGDWbepQ\" rel=\... | 2017/01/09 | [
"https://webmasters.stackexchange.com/questions/102682",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72309/"
] | I have studied the methods to embed a video file into a Google site using the Embed Gadget. There is documentation about the case when the video is from YouTube. In this case, in the iframe clause we can add `?autoplay=1&loop=1`. This causes an auto start and when the end of the video is reached, it starts over again.
... | It looks like they are attempting to support `?autoplay=1` but are failing at that:
* <https://drive.google.com/file/d/0B9P-4EpF1HhMbHV3U3phZlVSdTQ/preview> opens the video in a paused state
* <https://drive.google.com/file/d/0B9P-4EpF1HhMbHV3U3phZlVSdTQ/preview?foo=bar> does the same
* <https://drive.google.com/file/... |
102,778 | <p>We have a busy website where we never used SSL. Recently its indexed by Google as <code>https://www.example.com</code>. The users are getting security certificate errors. </p>
<p>In google webmaster tools we can only remove the relative URL. For example, any thing after <code>http://www.example.com</code>. </p>
<... | [
{
"answer_id": 102780,
"author": "Bartek",
"author_id": 55875,
"author_profile": "https://webmasters.stackexchange.com/users/55875",
"pm_score": 2,
"selected": false,
"text": "<p>If you want Google to drop the https version from SERPs, you either need to do 301 redirect to proper site or... | 2017/01/11 | [
"https://webmasters.stackexchange.com/questions/102778",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73801/"
] | We have a busy website where we never used SSL. Recently its indexed by Google as `https://www.example.com`. The users are getting security certificate errors.
In google webmaster tools we can only remove the relative URL. For example, any thing after `http://www.example.com`.
I am using IIS 6.0 to host the site .n... | I'm very surprised that Google is indexing the HTTPS pages with a broken certificate. Google usually prefers the HTTPS site if they both work, but I've never seen it prefer HTTPS when there is a broken cert.
Another solution would be to implement rel canonical link tags that point to the HTTP version. Every page on yo... |
102,835 | <p>For template the shortname is usually <code>tpl</code> and filenames can be written as <code>tpl-projects</code>.</p>
<p>What is the best shortname for snippet?</p>
<pre><code>sni
snp
spt
</code></pre>
<p>Anything else? I need a 3 characters long shortname.</p>
| [
{
"answer_id": 102826,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 3,
"selected": true,
"text": "<p>You are likely going to find they are hard coded <code>http://</code> in your theme's header.php file.</p>\n\n<... | 2017/01/13 | [
"https://webmasters.stackexchange.com/questions/102835",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10830/"
] | For template the shortname is usually `tpl` and filenames can be written as `tpl-projects`.
What is the best shortname for snippet?
```
sni
snp
spt
```
Anything else? I need a 3 characters long shortname. | You are likely going to find they are hard coded `http://` in your theme's header.php file.
If not, check in the customisation menu under site identity. You may have to remove and re-add your favicon. |
102,913 | <p>On my webpage I have nice URL addresses like this:</p>
<pre><code>example.com/category
</code></pre>
<p>Then I have some filter which adds to the URL address a string, the URL address then looks like this:</p>
<pre><code>example.com/category/?type=1
</code></pre>
<p>The problem is than on Google I can see these ... | [
{
"answer_id": 102914,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 0,
"selected": false,
"text": "<p>You need to learn about 'SEO friendly' URLs, sometimes known as permalinks.</p>\n\n<p>Here's an article I foun... | 2017/01/16 | [
"https://webmasters.stackexchange.com/questions/102913",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73951/"
] | On my webpage I have nice URL addresses like this:
```
example.com/category
```
Then I have some filter which adds to the URL address a string, the URL address then looks like this:
```
example.com/category/?type=1
```
The problem is than on Google I can see these results:
```
example.com/category/?type=1
exampl... | I recommend using canonical URL tags. Moz has a [great guide to the basics](https://moz.com/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps).
What you would do is apply a canonical URL tag to the original page in the `<head>` section like so:
`<link rel="canonical" href="http://e... |
102,970 | <p>Will below <code>Disallow</code> function will block every URL which has "?" in it? </p>
<pre><code>Disallow: /*?*PrintPage=yes*
</code></pre>
<p>I was actually checking few pages with "?" in them and they were not indexed in Google and then I saw some other URLs with "?" and they are indexed in Google. </p>
<p>W... | [
{
"answer_id": 102973,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 1,
"selected": false,
"text": "<p>No, it does not block all webpages that have <code>?</code> in URL.</p>\n\n<pre><code>Disallow: /*?*PrintPage... | 2017/01/18 | [
"https://webmasters.stackexchange.com/questions/102970",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/69373/"
] | Will below `Disallow` function will block every URL which has "?" in it?
```
Disallow: /*?*PrintPage=yes*
```
I was actually checking few pages with "?" in them and they were not indexed in Google and then I saw some other URLs with "?" and they are indexed in Google.
Why is this happening, also these "?" pages d... | No, it does not block all webpages that have `?` in URL.
```
Disallow: /*?*PrintPage=yes*
```
This will block below kind of pages for example.
```
www.example.com/sometext?xPrintPage=yes.html
www.example.com/123?PrintPage=yes.php
www.example.com/Some-123?xyz-PrintPage=yes/another-page/
```
Did you notice anything... |
103,035 | <p>To allow the robots to crawl all CSS and JS files we have used the following code:</p>
<pre><code>Allow: /*.css$
Allow: /*.js$
</code></pre>
<p>But, some CSS and JS are still being blocked as stated when using the mobile friendly test from Google.</p>
<p>Does the location of the line of code in the robots.txt fil... | [
{
"answer_id": 102992,
"author": "Martijn",
"author_id": 37448,
"author_profile": "https://webmasters.stackexchange.com/users/37448",
"pm_score": 1,
"selected": false,
"text": "<p><strong>Yes and no</strong>. <em>SEO is a complex concept, but I'm going to narrow down to removing content:... | 2017/01/20 | [
"https://webmasters.stackexchange.com/questions/103035",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/63672/"
] | To allow the robots to crawl all CSS and JS files we have used the following code:
```
Allow: /*.css$
Allow: /*.js$
```
But, some CSS and JS are still being blocked as stated when using the mobile friendly test from Google.
Does the location of the line of code in the robots.txt file matter?
Are there instances we... | **Yes and no**. *SEO is a complex concept, but I'm going to narrow down to removing content:*
If you have a modest amount (e.g. ten pages) of content and then delete a regular page, you will probaly notice that because you've removed 10% of your pages.
If you delete high quality content, pages with high amounts of ... |
103,043 | <p>My <a href="https://www.blackforce.co.uk" rel="noreferrer">brothers site</a> that I designed for him awhile has hundreds of SOFT 404's reported in Google's Search Console formerly Webmaster Tools. Generally I find fixing soft 404 easy but this has me a little stumped. All the soft errors are returning a odd string ... | [
{
"answer_id": 103308,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>It looks to me like your something is linking to your site search functionality with bad queries... | 2017/01/20 | [
"https://webmasters.stackexchange.com/questions/103043",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/20604/"
] | My [brothers site](https://www.blackforce.co.uk) that I designed for him awhile has hundreds of SOFT 404's reported in Google's Search Console formerly Webmaster Tools. Generally I find fixing soft 404 easy but this has me a little stumped. All the soft errors are returning a odd string that contains `Q82019309.com` wi... | We were having the same issue at [wisepops.com](https://wisepops.com) since the 3rd January 2017.
Google is complaining about Soft 404 even if indexing is disabled on these pages.
The Wordpress search page has by default this meta:
```
<meta name="robots" content="noindex,follow">
```
I decided to make search page... |
103,058 | <p>I was hoping to be pointed in the right direction for this, my boss wants to have the store hours on website linked to the hours on Google Maps/places, that way he can just update the hours and times on google and not have to worry about the site.
I am not familiar with google api, so I don't know where to begin for... | [
{
"answer_id": 103059,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": -1,
"selected": false,
"text": "<p>This may be migrated, if not, find your answer here</p>\n\n<p><a href=\"https://stackoverflow.com/questions/2... | 2017/01/21 | [
"https://webmasters.stackexchange.com/questions/103058",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/51952/"
] | I was hoping to be pointed in the right direction for this, my boss wants to have the store hours on website linked to the hours on Google Maps/places, that way he can just update the hours and times on google and not have to worry about the site.
I am not familiar with google api, so I don't know where to begin for th... | Google does not make this easy, however you can scrape it with the following php code. First you need the "place id", you can get this using this tool:
<https://developers.google.com/places/place-id>
Start typing the business name and once google finds it, you can copy the place ID from the popup.
Here's the PHP - re... |
103,137 | <p>I'm trying to redirect individual URLs on <code>http://olddomain.tld</code> (retired WordPress site) to individual URLs on <code>https://newdomain.tld</code> (new WordPress site) using <code>.htaccess</code>.</p>
<p>Redirecting the home page works fine with <code>Redirect 301 / https://newdomain.tld</code> (so I kn... | [
{
"answer_id": 103138,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<p>If the trailing slash is being \"dropped\" then there maybe <em>something</em> in the WordPress config at the ... | 2017/01/23 | [
"https://webmasters.stackexchange.com/questions/103137",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6634/"
] | I'm trying to redirect individual URLs on `http://olddomain.tld` (retired WordPress site) to individual URLs on `https://newdomain.tld` (new WordPress site) using `.htaccess`.
Redirecting the home page works fine with `Redirect 301 / https://newdomain.tld` (so I know I didn't forget to turn on Rewrite engine, or anyth... | If the trailing slash is being "dropped" then there maybe *something* in the WordPress config at the destination site that is doing this. Check the network/HTTP traffic... at what point do you see the second redirect? What HTTP status is the second redirect?
If you type the new URL directly is the trailing slash still... |
103,166 | <p>For several years I see that Google, Facebook, etc start serving (and even redirect to) content via HTTPS.</p>
<p>Serving sites that prompts passwords in insecure HTTP was wrong even in 1999 but it considered acceptable even in 2010.</p>
<p>But nowadays even public pages (like queries from Bing/Google) is served v... | [
{
"answer_id": 103168,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 6,
"selected": false,
"text": "<p>There are a lot of factors that went into it including:</p>\n\n<ul>\n<li>Browser and server tech... | 2017/01/24 | [
"https://webmasters.stackexchange.com/questions/103166",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21024/"
] | For several years I see that Google, Facebook, etc start serving (and even redirect to) content via HTTPS.
Serving sites that prompts passwords in insecure HTTP was wrong even in 1999 but it considered acceptable even in 2010.
But nowadays even public pages (like queries from Bing/Google) is served via HTTPS.
What e... | There are a lot of factors that went into it including:
* Browser and server technology for security with virtual hosts. You used to need a dedicated IP address per secure site, but that is not the case anymore using [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication).
* Lower cost and free security certificat... |
103,189 | <p>On my sites I am seeing requests for what would be valid URLs, but with the path converted to lowercase.</p>
<p>For example, a valid URL is <code>example.com/some-product-CAT12P0.html</code>.</p>
<p>In my Apache logs I'm seeing <code>example.com/some-product-cat12p0.html</code>.</p>
<p>This is happening on severa... | [
{
"answer_id": 103191,
"author": "Martijn",
"author_id": 37448,
"author_profile": "https://webmasters.stackexchange.com/users/37448",
"pm_score": 1,
"selected": false,
"text": "<p>Using capitals in urls are allowed and it works, but the whole problem is that <code>/a</code> and <code>/A<... | 2017/01/25 | [
"https://webmasters.stackexchange.com/questions/103189",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36619/"
] | On my sites I am seeing requests for what would be valid URLs, but with the path converted to lowercase.
For example, a valid URL is `example.com/some-product-CAT12P0.html`.
In my Apache logs I'm seeing `example.com/some-product-cat12p0.html`.
This is happening on several sites I manage, and I cannot see any pattern... | These are usually hits from bad bots. Unfortunately, it is very common for bots to attempt to lowercase the entire URL. I have a website with mixed case URLs. I get thousands of hits per day for URLs that have been incorrectly lowercased. Here are the top user agents that did so yesterday:
```
20494 Mozilla/5.0 (com... |
103,192 | <p>When using Google's fetch test on my WordPress site, it reports that my robots.txt is blocking pages and resources from being indexed. </p>
<p><em>Google reports that my Robots.txt looks like this:</em></p>
<pre><code>User-agent: *
Disallow: /
</code></pre>
<p>How can I resolve this issue?</p>
<ul>
<li>Where can... | [
{
"answer_id": 103193,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<p>You need to remove both lines from your <code>robots.txt</code> file. The robots file is located in the... | 2017/01/25 | [
"https://webmasters.stackexchange.com/questions/103192",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74219/"
] | When using Google's fetch test on my WordPress site, it reports that my robots.txt is blocking pages and resources from being indexed.
*Google reports that my Robots.txt looks like this:*
```
User-agent: *
Disallow: /
```
How can I resolve this issue?
* Where can I find robots.txt?
* How do I edit or remove this ... | You need to remove both lines from your `robots.txt` file. The robots file is located in the root directory of your web hosting folder, this normally can be found in `/public_html/` and you should be able to edit or delete this file using:
* [FTP](https://en.wikipedia.org/wiki/File_Transfer_Protocol) using a FTP clien... |
103,196 | <p>I want to optimize the load time of a site that has more than 1200 pages. The site is built using WordPress and has lots of posts. I have improved the image sizes of the pages. What would be the fastest way to reduce the image sizes of the images in the blog posts? The idea I am getting is to use a resizing software... | [
{
"answer_id": 103256,
"author": "Tom Brossman",
"author_id": 11962,
"author_profile": "https://webmasters.stackexchange.com/users/11962",
"pm_score": 2,
"selected": false,
"text": "<h1>Command-line tools</h1>\n\n<p>If you have a Linux machine and SSH access, try recursively batch proces... | 2017/01/25 | [
"https://webmasters.stackexchange.com/questions/103196",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I want to optimize the load time of a site that has more than 1200 pages. The site is built using WordPress and has lots of posts. I have improved the image sizes of the pages. What would be the fastest way to reduce the image sizes of the images in the blog posts? The idea I am getting is to use a resizing software on... | Command-line tools
==================
If you have a Linux machine and SSH access, try recursively batch processing all images on your site with some command-line utilities. These are very fast and free software. For these examples I assume an Ubuntu 16.04 system, but they also work well (with minor adjustments) on oth... |
103,405 | <p>My existing HTTPS certificate is expiring soon so I bought a new one. I'm having a very hard time installing it properly though. I have a wildcard certificate from StartSSL for <code>*.deadsea.ostermiller.org</code> that I'm trying to install on my Apache webserver. My Apache configuration for SSL is:</p>
<pre... | [
{
"answer_id": 103425,
"author": "Tom Brossman",
"author_id": 11962,
"author_profile": "https://webmasters.stackexchange.com/users/11962",
"pm_score": 6,
"selected": true,
"text": "<p>I have some bad news for you. StartSSL's certificates are <a href=\"https://security.googleblog.com/2016... | 2017/02/01 | [
"https://webmasters.stackexchange.com/questions/103405",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14543/"
] | My existing HTTPS certificate is expiring soon so I bought a new one. I'm having a very hard time installing it properly though. I have a wildcard certificate from StartSSL for `*.deadsea.ostermiller.org` that I'm trying to install on my Apache webserver. My Apache configuration for SSL is:
```
SSLEngine on
SSLProtoco... | I have some bad news for you. StartSSL's certificates are [no longer trusted by Chrome, Firefox, and soon other browsers](https://security.googleblog.com/2016/10/distrusting-wosign-and-startcom.html), [beginning with newly issued certificates first](https://ma.ttias.be/despite-revoked-cas-startcom-wosign-continue-sell-... |
103,428 | <p>I am hosting a control panel for web management on a second Apache instance that runs on port 2083. It has port 2082 for the <code>HTTP</code> version of the site because it needed something to run the <code>HTTP</code> version on but the port is closed. When the user connects to the site like so:</p>
<pre><code>ht... | [
{
"answer_id": 103431,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": false,
"text": "<p>Sorry but as far as I know this can't be done by using either htaccess or the virtual host by Apache, a... | 2017/02/02 | [
"https://webmasters.stackexchange.com/questions/103428",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74518/"
] | I am hosting a control panel for web management on a second Apache instance that runs on port 2083. It has port 2082 for the `HTTP` version of the site because it needed something to run the `HTTP` version on but the port is closed. When the user connects to the site like so:
```
https://example.com:2083/
```
They s... | As Simon has already pointed out (and you surmise in your question), this does not seem to be possible directly from the server. Since a request for `http://example.com:2083/` simply can't be handled by the server (when it already handles `https://example.com:2083/`). As the response indicates, it's simply a "Bad Reque... |
103,471 | <p>I'm trying to improve SEO on a platform i'm working with, and was advised to add <code>rel="next"</code> and <code>rel="prev"</code> links to my pages to make it clearer to google which URLS are paginated.</p>
<p>My question to you is, does google look anywhere except the <code>head</code> element for them?</p>
<p... | [
{
"answer_id": 103472,
"author": "DEVPROCB",
"author_id": 65952,
"author_profile": "https://webmasters.stackexchange.com/users/65952",
"pm_score": 3,
"selected": true,
"text": "<p>The specifics of Rel next and Rel Prev can be found on the google blog here: <a href=\"https://webmasters.go... | 2017/02/03 | [
"https://webmasters.stackexchange.com/questions/103471",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74575/"
] | I'm trying to improve SEO on a platform i'm working with, and was advised to add `rel="next"` and `rel="prev"` links to my pages to make it clearer to google which URLS are paginated.
My question to you is, does google look anywhere except the `head` element for them?
Can i add them to the next page buttons themselve... | The specifics of Rel next and Rel Prev can be found on the google blog here: <https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html>
The Rel next and rel prev go in the header.
Edit: Php is fully supported on any aspect of an dynamic page. Simply doing something like
```
<?php echo 'ht... |
103,499 | <p>I should have to display a few thousand titles with one line description (that links to other pages) and I'm not sure how to structure it. Since there are no images it loads fast on one page, but it would be cool to know the more SEO friendly option. (Users using the search function to find content)</p>
<p>So which... | [
{
"answer_id": 103472,
"author": "DEVPROCB",
"author_id": 65952,
"author_profile": "https://webmasters.stackexchange.com/users/65952",
"pm_score": 3,
"selected": true,
"text": "<p>The specifics of Rel next and Rel Prev can be found on the google blog here: <a href=\"https://webmasters.go... | 2017/02/04 | [
"https://webmasters.stackexchange.com/questions/103499",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71378/"
] | I should have to display a few thousand titles with one line description (that links to other pages) and I'm not sure how to structure it. Since there are no images it loads fast on one page, but it would be cool to know the more SEO friendly option. (Users using the search function to find content)
So which one is be... | The specifics of Rel next and Rel Prev can be found on the google blog here: <https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html>
The Rel next and rel prev go in the header.
Edit: Php is fully supported on any aspect of an dynamic page. Simply doing something like
```
<?php echo 'ht... |
103,509 | <p>When visiting my website I get an error in console tab (using Firefox). The error is:</p>
<blockquote>
<p>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at somewebsite. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).</p>
</blockquote>
<p>I guess that this ... | [
{
"answer_id": 103514,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 1,
"selected": false,
"text": "<p>Get rid of the CORS declaration in your <code>.htaccess</code> file as it is only needed in one spo... | 2017/02/04 | [
"https://webmasters.stackexchange.com/questions/103509",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74605/"
] | When visiting my website I get an error in console tab (using Firefox). The error is:
>
> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at somewebsite. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
>
>
>
I guess that this means I didn't setup CORS correc... | Get rid of the CORS declaration in your `.htaccess` file as it is only needed in one spot and since you have access to a vhost file it is better off there.
A check of the vhost file you provided shows what the problem would be. You have created a self closed directory configuration `<Directory />` which won't work. I ... |
103,517 | <p>I am moving hosts and the URL structure will change as the new site (same domain name) will be done the Wordpress.</p>
<p>I have many URL's where the first part of the page name is the same and they all need to be redirected to a single page on the new site.
For example.</p>
<ul>
<li><code>http://www.example.com/b... | [
{
"answer_id": 103518,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 0,
"selected": false,
"text": "<blockquote>\n <p>In this example \"binfet\" is at the beginning but are about 50 different names.</p>\n</blockq... | 2017/02/05 | [
"https://webmasters.stackexchange.com/questions/103517",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74584/"
] | I am moving hosts and the URL structure will change as the new site (same domain name) will be done the Wordpress.
I have many URL's where the first part of the page name is the same and they all need to be redirected to a single page on the new site.
For example.
* `http://www.example.com/binfet-timeinthepark.htm`
*... | Solution:
=========
I suggest you use the full URL in `RewriteRule`.
So for all the URLs that start with `binfet` to go to `/bev-binfet/`, you need to add the following directive in your `.htaccess` file (before other Rewrite Rules):
```
RewriteRule ^binfet http://www.example.com/bev-binfet/ [R=301,L]
```
Reason:
... |
103,529 | <p>I'm new in the web development industry and I struggle to vertically and horizontally align a child div in a parent div. I'm trying to build a homepage with a full-width image with a slogan in the very middle of that image. This is my first attempt:</p>
<p>HTML:</p>
<pre><code><div class="img">
<div cl... | [
{
"answer_id": 103531,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 3,
"selected": true,
"text": "<p>There are many ways that this can be achieved but the one I find most useful is to change the div di... | 2017/02/06 | [
"https://webmasters.stackexchange.com/questions/103529",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74636/"
] | I'm new in the web development industry and I struggle to vertically and horizontally align a child div in a parent div. I'm trying to build a homepage with a full-width image with a slogan in the very middle of that image. This is my first attempt:
HTML:
```
<div class="img">
<div class="text">Here is my slogan</... | There are many ways that this can be achieved but the one I find most useful is to change the div display to a table cell as table cells support vertical alignment.
As an adjustment to your sample code...
**HTML**
```
<div class="img">
<div class="text">Here is my slogan</div>
</div>
```
**CSS**
```
.img {
... |
103,587 | <p>I own a domain through Namecheap and a VPS with Linode. I would like to point my domain at the vps ipaddress. So far I have added the following:</p>
<pre><code>TYPE HOST VALUE TTL
A + Dynamic DNS Record www vps ipaddress Automatic
</code></pre>
<p>Im a little confused as to... | [
{
"answer_id": 103590,
"author": "rajarshig",
"author_id": 74712,
"author_profile": "https://webmasters.stackexchange.com/users/74712",
"pm_score": 1,
"selected": false,
"text": "<p>As per my experience, here are the basic steps - </p>\n\n<ol>\n<li><p>Add Linode nameservers as custom nam... | 2017/02/08 | [
"https://webmasters.stackexchange.com/questions/103587",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73646/"
] | I own a domain through Namecheap and a VPS with Linode. I would like to point my domain at the vps ipaddress. So far I have added the following:
```
TYPE HOST VALUE TTL
A + Dynamic DNS Record www vps ipaddress Automatic
```
Im a little confused as to whether the above is corr... | Here's the setup you want:
1. An 'A Record' pointing to your VPS server IP. In this case, example.com. Or: "A Record | @ | VPS IP address"
2. A Cname record stating the subdomain (www) is the same as the root version (@). Or: "Cname Record | @ | www.example.com". This means when someone looks up 'www.example.com' it r... |
103,592 | <p>In a webserver, which component handles the <strong>translation of URL parameters to the <code>$_GET</code> global</strong> variable?</p>
<p>Is that a module in PHP engine, or a module of the web server (Apache, Nginx)?</p>
<p>I'm asking because since I'm not using GET (only POST/ meaningfull links where parameter... | [
{
"answer_id": 103593,
"author": "L Martin",
"author_id": 61597,
"author_profile": "https://webmasters.stackexchange.com/users/61597",
"pm_score": 2,
"selected": false,
"text": "<p>GET/POST are HTTP headers that either request/send data. These are handled by the server initially and are ... | 2017/02/08 | [
"https://webmasters.stackexchange.com/questions/103592",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/58408/"
] | In a webserver, which component handles the **translation of URL parameters to the `$_GET` global** variable?
Is that a module in PHP engine, or a module of the web server (Apache, Nginx)?
I'm asking because since I'm not using GET (only POST/ meaningfull links where parameters are already part of the link), I was se... | GET/POST are HTTP headers that either request/send data. These are handled by the server initially and are part of the standard HTTP request methods.
To do this in Apache, at the top of your domain config:
```
<Limit GET>
deny from all
</Limit>
```
You can test which methods are available by sending an OPTIONS requ... |
103,627 | <p>I have domain with SSL and 4 subdomains like: <code>ftp.example.com</code>, <code>server.example.com</code> etc. I'm trying to redirect from subdomain to domain. Example: if someone goes to <code>https://server.example.com</code> they will be redirected to <code>https://example.com</code>. My apache2 config looks li... | [
{
"answer_id": 103642,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>if someone goes to <code>https://server.example.com</code> they will be redirected ....</p>\n<... | 2017/02/09 | [
"https://webmasters.stackexchange.com/questions/103627",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74747/"
] | I have domain with SSL and 4 subdomains like: `ftp.example.com`, `server.example.com` etc. I'm trying to redirect from subdomain to domain. Example: if someone goes to `https://server.example.com` they will be redirected to `https://example.com`. My apache2 config looks like that:
```
<VirtualHost *:80>
ServerAdmin i... | >
> if someone goes to `https://server.example.com` they will be redirected ....
>
>
>
The virtual host you posted is for port 80 (ie. HTTP) so this is never going to redirect `https://<anything>`. As the comment in the code suggests, "Redirect Requests to SSL" (from HTTP).
Exactly how you implement this depends ... |
103,638 | <p>Our website has a number of sub-domains and we are in the process of migrating from classical analytics to universal analytics. When we migrated one of our domain from classical to universal analytics, with google tag manager, it started creating two _ga cookies. One against our main domain and another against the s... | [
{
"answer_id": 104320,
"author": "Maurice",
"author_id": 75616,
"author_profile": "https://webmasters.stackexchange.com/users/75616",
"pm_score": 1,
"selected": false,
"text": "<p>This is not completly correct and you probably facing the problem with sef-referrals in your analytics (I ha... | 2017/02/09 | [
"https://webmasters.stackexchange.com/questions/103638",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74773/"
] | Our website has a number of sub-domains and we are in the process of migrating from classical analytics to universal analytics. When we migrated one of our domain from classical to universal analytics, with google tag manager, it started creating two \_ga cookies. One against our main domain and another against the sub... | This is not completly correct and you probably facing the problem with sef-referrals in your analytics (I have it too). In GTM you need to go to 'fields to set' en set the cookieDomain to auto. If you do cross-domain tracking as well, you need to set allowLinker to true and add the domains under cross-domain tracking f... |
103,640 | <p>I purchased Linux hosting from 1and1.com. I added a domain registered elsewhere as an external domain to my 1and1.com account. I changed the DNS settings. I set up a home page for my site. When I browse to the site I get redirected to example.com/defaultsite (where example.com is my domain). When I browse to the hom... | [
{
"answer_id": 103641,
"author": "Sam Hobbs",
"author_id": 64469,
"author_profile": "https://webmasters.stackexchange.com/users/64469",
"pm_score": 2,
"selected": false,
"text": "<p>I called 1and1 support and he made some changes to my home page. One thing he did is to remove the followi... | 2017/02/09 | [
"https://webmasters.stackexchange.com/questions/103640",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/64469/"
] | I purchased Linux hosting from 1and1.com. I added a domain registered elsewhere as an external domain to my 1and1.com account. I changed the DNS settings. I set up a home page for my site. When I browse to the site I get redirected to example.com/defaultsite (where example.com is my domain). When I browse to the home p... | I called 1and1 support and he made some changes to my home page. One thing he did is to remove the following:
```
<meta http-equiv="Refresh" content="0;url=defaultsite" />
```
Without that I get my home page as the default page and everything works. When I add that back in, the problem happens again. I remove it aga... |
103,816 | <p>I've recently started using the Google Cloud platform.</p>
<p>I registered a domain through name.com and setup a virtual machine on the google compute engine with a static IP. Then I created a cloud DNS server zone using the IP of the VM as the A record and then added the records for the CNAME and NS.</p>
<p>I can... | [
{
"answer_id": 103817,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>You want to enter the following; the priority needs to be before the server name:</p>\n\n<pre><code>@.xgtkids.co... | 2017/01/15 | [
"https://webmasters.stackexchange.com/questions/103816",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I've recently started using the Google Cloud platform.
I registered a domain through name.com and setup a virtual machine on the google compute engine with a static IP. Then I created a cloud DNS server zone using the IP of the VM as the A record and then added the records for the CNAME and NS.
I can't add MX records... | You want to enter the following; the priority needs to be before the server name:
```
@.xgtkids.com. MX 300
5 alt1.aspmx.l.google.com.
5 alt2.aspmx.l.google.com.
10 alt3.aspmx.l.google.com.
10 alt4.aspmx.l.google.com.
1 aspmx.l.google.com.
``` |
103,825 | <p>Does "URL masking" effect SEO?</p>
<p>For example: masking <code>"www.domain.com/p/page.html"</code> to <code>subdomain.domain.com</code></p>
<p>*Means everyone who visits <code>"subdomain.domain.com"</code>, see <code>"www.domain.com/p/page.html"</code> page, but the top address bar shows <code>"subdomain.domain.... | [
{
"answer_id": 103826,
"author": "adam-asdf",
"author_id": 16906,
"author_profile": "https://webmasters.stackexchange.com/users/16906",
"pm_score": -1,
"selected": false,
"text": "<p>Redirects effect SEO because they slow down response time.</p>\n"
},
{
"answer_id": 103919,
"... | 2017/02/14 | [
"https://webmasters.stackexchange.com/questions/103825",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73172/"
] | Does "URL masking" effect SEO?
For example: masking `"www.domain.com/p/page.html"` to `subdomain.domain.com`
\*Means everyone who visits `"subdomain.domain.com"`, see `"www.domain.com/p/page.html"` page, but the top address bar shows `"subdomain.domain.com"`
**Edit:** I have a blogger site, and the URL-redirect-mask... | >
> The masking is done with frameset
>
>
>
Using a frame, often called "framed forwarding" for masking the real URL is generally bad for SEO and delivers a bad user experience.
The URL inside the frame is not hidden from search engines (or users). There are essentially two separate pages/URLs and both can be ind... |
103,835 | <p>I'd like to know how to include my header.html and footer.html in the rest of my html files, so if I had to change something in my header or footer, I would have to do it once and not by editing every single page.</p>
<p>So, I have these three files:</p>
<ul>
<li>header.html </li>
<li>home.html </li>
<li>footer.h... | [
{
"answer_id": 103826,
"author": "adam-asdf",
"author_id": 16906,
"author_profile": "https://webmasters.stackexchange.com/users/16906",
"pm_score": -1,
"selected": false,
"text": "<p>Redirects effect SEO because they slow down response time.</p>\n"
},
{
"answer_id": 103919,
"... | 2017/02/15 | [
"https://webmasters.stackexchange.com/questions/103835",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74636/"
] | I'd like to know how to include my header.html and footer.html in the rest of my html files, so if I had to change something in my header or footer, I would have to do it once and not by editing every single page.
So, I have these three files:
* header.html
* home.html
* footer.html
I took the [include solution brou... | >
> The masking is done with frameset
>
>
>
Using a frame, often called "framed forwarding" for masking the real URL is generally bad for SEO and delivers a bad user experience.
The URL inside the frame is not hidden from search engines (or users). There are essentially two separate pages/URLs and both can be ind... |
103,856 | <p>I have a WordPress powered site which ranks very well on Google (<code>example.com</code>). Half a year a go I started a side project at a subdomain (<code>subdomain.example.com</code>) although it is indexed by google, it doesn't rank very well. The side project has become the main project now so I want to replace ... | [
{
"answer_id": 103826,
"author": "adam-asdf",
"author_id": 16906,
"author_profile": "https://webmasters.stackexchange.com/users/16906",
"pm_score": -1,
"selected": false,
"text": "<p>Redirects effect SEO because they slow down response time.</p>\n"
},
{
"answer_id": 103919,
"... | 2017/02/15 | [
"https://webmasters.stackexchange.com/questions/103856",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74988/"
] | I have a WordPress powered site which ranks very well on Google (`example.com`). Half a year a go I started a side project at a subdomain (`subdomain.example.com`) although it is indexed by google, it doesn't rank very well. The side project has become the main project now so I want to replace `example.com` with `subdo... | >
> The masking is done with frameset
>
>
>
Using a frame, often called "framed forwarding" for masking the real URL is generally bad for SEO and delivers a bad user experience.
The URL inside the frame is not hidden from search engines (or users). There are essentially two separate pages/URLs and both can be ind... |
103,920 | <p>I am new in this digital marketing industry and learning about SEO best practices, but I am confused about the meta tags that how frequently should I change meta tags of website's pages?</p>
<p>Changing meta tags manually can be possible for small websites like 30-50 pages website, but what about e-commerce website... | [
{
"answer_id": 103921,
"author": "Martijn",
"author_id": 37448,
"author_profile": "https://webmasters.stackexchange.com/users/37448",
"pm_score": 2,
"selected": false,
"text": "<p>When you encounter one of the following:</p>\n\n<ul>\n<li>Your content changes rendering the current title i... | 2017/02/17 | [
"https://webmasters.stackexchange.com/questions/103920",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71059/"
] | I am new in this digital marketing industry and learning about SEO best practices, but I am confused about the meta tags that how frequently should I change meta tags of website's pages?
Changing meta tags manually can be possible for small websites like 30-50 pages website, but what about e-commerce websites?
Is th... | When you encounter one of the following:
* Your content changes rendering the current title incorrect/incomplete
* You've learned how to phraze it better (e.g. experience, or A/B tests)
* SEO rules regarding best practice for meta tags change
---
Based on your question, I'm guessing you're a beginner, so to stick wi... |
103,959 | <p>I understand that you can do the following to generally prevent images or pages from getting indexed.</p>
<p>Add to the page's meta section:</p>
<pre><code><meta name="robots" content="noindex" />
</code></pre>
<p>Edit the robots.txt file:</p>
<pre><code>User-agent: *
Disallow: /images/
User-agent: *
Disa... | [
{
"answer_id": 103962,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Will the search engines, in specific Googlebot-Image, honor the request? Index the page to the... | 2017/02/19 | [
"https://webmasters.stackexchange.com/questions/103959",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/54297/"
] | I understand that you can do the following to generally prevent images or pages from getting indexed.
Add to the page's meta section:
```
<meta name="robots" content="noindex" />
```
Edit the robots.txt file:
```
User-agent: *
Disallow: /images/
User-agent: *
Disallow: /$folder/whatever.jpg
User-agent: *
Disallo... | >
> Will the search engines, in specific Googlebot-Image, honor the request? Index the page to the exclusion of the image in an img tag?
>
>
>
Yes. Regardless of how the image is referenced on your site (`img` element, CSS background-image, etc.), if it is blocked by `robots.txt` then Googlebot-Image will be unabl... |
103,967 | <p>I am searching in Google <strong>Xdebug for php7.1.1</strong> but there is nothing that can really answer my question, though I found this <a href="https://github.com/oerdnj/deb.sury.org/issues/444" rel="nofollow noreferrer">https://github.com/oerdnj/deb.sury.org/issues/444</a>, but the version is php7.1.0, so I can... | [
{
"answer_id": 103971,
"author": "Robe. DenB",
"author_id": 75043,
"author_profile": "https://webmasters.stackexchange.com/users/75043",
"pm_score": 1,
"selected": false,
"text": "<p>Now. supprot php 7.1, do not support 7.1.1\nSee here please </p>\n\n<p>[2016-12-04] - Xdebug 2.5.0 is out... | 2017/02/20 | [
"https://webmasters.stackexchange.com/questions/103967",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71304/"
] | I am searching in Google **Xdebug for php7.1.1** but there is nothing that can really answer my question, though I found this <https://github.com/oerdnj/deb.sury.org/issues/444>, but the version is php7.1.0, so I can't fully rely on this answer.
I followed the instructions given here, <https://xdebug.org/wizard.php>, ... | Xdebug 2.5.x supports PHP 7.0.x and PHP 7.1.x, as well as PHP's master branch, as per <https://xdebug.org/#2016_12_04>:
```
PHP 7.1.3-dev (cli) (built: Feb 16 2017 11:18:14) ( NTS DEBUG )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.6.0-dev, Cop... |
103,976 | <p>I'm running a <a href="http://helpfulpost.com/test/" rel="nofollow noreferrer">test page</a> that has no js and some inlined css that is 2.24 KB. When I run the test on <a href="https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fhelpfulpost.com%2Ftest" rel="nofollow noreferrer">pagespeed</a> ev... | [
{
"answer_id": 106918,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>Here is what <a href=\"https://developers.google.com/speed/pagespeed/service/PrioritizeAboveTheF... | 2017/02/20 | [
"https://webmasters.stackexchange.com/questions/103976",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/61530/"
] | I'm running a [test page](http://helpfulpost.com/test/) that has no js and some inlined css that is 2.24 KB. When I run the test on [pagespeed](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fhelpfulpost.com%2Ftest) everything turns out fine, but when I include an image that is 5.9 KB I get the... | I came across this question while having a similar issue with a few of my sites and I confirmed, as you did, that the image above the fold (in my case, a logo) was the issue in each case. Interestingly, I have many other sites with a logo above the fold that do not trigger the PVC warning.
I have read in a [Google fo... |
104,001 | <p>I am implementing to adopt a site from <code>http</code> to <code>https</code>, I am using the <code>Let's Encrypt</code> in <code>cPanel</code>, I am in a shared hosting environment.</p>
<p>This is how I implement it:</p>
<ol>
<li>Site in maintenance mode</li>
<li>Issue the SSL Certificate</li>
<li><p>Adding this... | [
{
"answer_id": 104002,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 3,
"selected": true,
"text": "<p>I run a web hosting business. Hundreds of clients are (or aren't if they are lazy) switching to https via free... | 2017/02/21 | [
"https://webmasters.stackexchange.com/questions/104001",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71304/"
] | I am implementing to adopt a site from `http` to `https`, I am using the `Let's Encrypt` in `cPanel`, I am in a shared hosting environment.
This is how I implement it:
1. Site in maintenance mode
2. Issue the SSL Certificate
3. Adding this code in `.htaccess`:
```
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
Rewri... | I run a web hosting business. Hundreds of clients are (or aren't if they are lazy) switching to https via free LetsEncrypt certificates.
To be honest, I think you are overcomplicating things. Install the SSL for the domain, then without changing anything, try using https and see how you go.
You might find a bunch of... |
104,011 | <p>We are getting a number of odd results come up on Google EG:</p>
<pre><code>http://www.somedomain.com/somepage/AjaxFunction.aspx?stuff=XXX&other=XXX
</code></pre>
<p>When I looked at "somepage" the ajax function is not mentioned at all within the HTML, which makes me assume Google is spidering out to the exte... | [
{
"answer_id": 106917,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 3,
"selected": false,
"text": "<p>I would put the Ajax function into <em>robots.txt</em>:</p>\n\n<pre><code>Disallow: /somepage/Aj... | 2017/02/21 | [
"https://webmasters.stackexchange.com/questions/104011",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75155/"
] | We are getting a number of odd results come up on Google EG:
```
http://www.somedomain.com/somepage/AjaxFunction.aspx?stuff=XXX&other=XXX
```
When I looked at "somepage" the ajax function is not mentioned at all within the HTML, which makes me assume Google is spidering out to the external javascript files and find... | I would put the Ajax function into *robots.txt*:
```
Disallow: /somepage/AjaxFunction.aspx
```
That will prevent Google from crawling it. Google doesn't typically index URLs it can't crawl. It will only index them if they are linked prominently, especially numerous external links. Even if Google does index the URL, ... |