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 |
|---|---|---|---|---|---|---|
108,002 | <p>I have a website that is struggling to rank up for a certain search in a specific country (Thailand in the specific case), and I am not really sure now what to do to improve the situation.</p>
<p>The strange fact is the following, given the search:</p>
<pre><code><service_keyword> <location>
<locat... | [
{
"answer_id": 108006,
"author": "Tenth Muse",
"author_id": 80095,
"author_profile": "https://webmasters.stackexchange.com/users/80095",
"pm_score": 1,
"selected": false,
"text": "<p>There are a few tactics you can take when localizing a website.\n 1. host the site on local (Thailand) se... | 2017/07/20 | [
"https://webmasters.stackexchange.com/questions/108002",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/386/"
] | I have a website that is struggling to rank up for a certain search in a specific country (Thailand in the specific case), and I am not really sure now what to do to improve the situation.
The strange fact is the following, given the search:
```
<service_keyword> <location>
<location> is a specific city in that coun... | There are a few tactics you can take when localizing a website.
1. host the site on local (Thailand) servers
2. give the site a ccTLD
3. create a version of the site in the native language with the native currency
4. create geographically targeted paid ads
Moz had a great article about localizing websites:
<https:... |
108,003 | <p>We recently received an email at work from an .edu site that seemed to be phishing. However, I didn't want to ignore a possible legitimate email from a customer without due diligence. I started thinking of possible ways that this could be a false email in order to determine whether to ignore the email or attempt to... | [
{
"answer_id": 108146,
"author": "Anaksunaman",
"author_id": 57008,
"author_profile": "https://webmasters.stackexchange.com/users/57008",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n <p>What prevents a very well-funded organization from creating any unused site domain they c... | 2017/07/20 | [
"https://webmasters.stackexchange.com/questions/108003",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80093/"
] | We recently received an email at work from an .edu site that seemed to be phishing. However, I didn't want to ignore a possible legitimate email from a customer without due diligence. I started thinking of possible ways that this could be a false email in order to determine whether to ignore the email or attempt to con... | >
> What prevents a very well-funded organization from creating any unused site domain they choose (i.e. something.edu) and having it searchable/usable on the World Wide Web without going through an organization like IANA?
>
>
>
The answer you are looking for is the Internet [Domain Name System](https://en.m.wikip... |
108,025 | <p>I have tried a tool to measure the speed of my web site. It is Pingdom <a href="https://tools.pingdom.com" rel="nofollow noreferrer">https://tools.pingdom.com</a></p>
<p>There is an answer I do not understand
"The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header: <a ... | [
{
"answer_id": 108026,
"author": "user2955248",
"author_id": 43746,
"author_profile": "https://webmasters.stackexchange.com/users/43746",
"pm_score": -1,
"selected": false,
"text": "<p>Just check out the below Link, You will find the answer by yourself.\n<a href=\"https://stackoverflow.c... | 2017/07/21 | [
"https://webmasters.stackexchange.com/questions/108025",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31473/"
] | I have tried a tool to measure the speed of my web site. It is Pingdom <https://tools.pingdom.com>
There is an answer I do not understand
"The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header: <https://www.example.com/>"
Can anyone explain what is that in a simple way ... | What is it?
===========
The Vary HTTP response header tells user agents (clients) that the server's response can vary if the client changes any of the mentioned request headers.
```
Vary: Accept-Encoding
```
This means that if the browser sends a different value in the Accept-Encoding request header, the server mig... |
108,037 | <p>I made a complete rewrite of a webpage. The previous version was made in PHP and the whole URL scheme was like this:</p>
<pre><code>domain.com/?p=subpage
</code></pre>
<p>The new webpage is just a couple <code>.html</code> files (that's a static webpage). This means that any query of form</p>
<pre><code>domain.co... | [
{
"answer_id": 108038,
"author": "Theo van der Zee",
"author_id": 79588,
"author_profile": "https://webmasters.stackexchange.com/users/79588",
"pm_score": 2,
"selected": false,
"text": "<p>When you click on <code>Configure URL parameters</code> in the <code>URL parameters</code> section ... | 2017/07/21 | [
"https://webmasters.stackexchange.com/questions/108037",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80133/"
] | I made a complete rewrite of a webpage. The previous version was made in PHP and the whole URL scheme was like this:
```
domain.com/?p=subpage
```
The new webpage is just a couple `.html` files (that's a static webpage). This means that any query of form
```
domain.com/?p=subpage
```
will render the same `index.h... | When you click on `Configure URL parameters` in the `URL parameters` section of Google Webmaster Console, you should be able to `Edit` and then `No: Doesn't affect page content (e.g. tracks usage)` the ?p parameter. That will be a strong signal to Google to stop taking the ?p parameter into account.
An additional meas... |
108,074 | <p>My current setup of Wordpress is multisite. (main site and a subdomain) </p>
<pre><code>www.example.com/
blog.example.com/
</code></pre>
<p>I have also set up Google Analytics (same tracking code) for both of these sites.</p>
<p>The problem is that Google Analytics doesn't recognize that they are not the same sit... | [
{
"answer_id": 108062,
"author": "Matthew Edgar",
"author_id": 53408,
"author_profile": "https://webmasters.stackexchange.com/users/53408",
"pm_score": 1,
"selected": false,
"text": "<p>Page length isn't a factor for where Google will rank the page. There are many sites that rank with sh... | 2017/07/24 | [
"https://webmasters.stackexchange.com/questions/108074",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80177/"
] | My current setup of Wordpress is multisite. (main site and a subdomain)
```
www.example.com/
blog.example.com/
```
I have also set up Google Analytics (same tracking code) for both of these sites.
The problem is that Google Analytics doesn't recognize that they are not the same site. (e.g. Google Analytics can't d... | Page length isn't a factor for where Google will rank the page. There are many sites that rank with short pages and plenty of long pages that don't rank. What you are probably thinking of, and where you run into trouble, is [thin content](https://searchenginewatch.com/sew/how-to/2392782/should-we-still-worry-about-thin... |
108,089 | <p>I want to redirect all my website pages to https and www. In order to do that I'm using the rules below and it's working fine.</p>
<pre><code># Rewrite to WWW with HTTPS
RewriteCond %{HTTPS} off
# First rewrite to HTTPS
# Don't put www. here. If it is already there it will be included, if not
# the subsequent rule ... | [
{
"answer_id": 108090,
"author": "Matthew Edgar",
"author_id": 53408,
"author_profile": "https://webmasters.stackexchange.com/users/53408",
"pm_score": 0,
"selected": false,
"text": "<p>There are some ways to rewrite the <code>.htaccess</code> file (for instance see <a href=\"https://sta... | 2017/07/24 | [
"https://webmasters.stackexchange.com/questions/108089",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35916/"
] | I want to redirect all my website pages to https and www. In order to do that I'm using the rules below and it's working fine.
```
# Rewrite to WWW with HTTPS
RewriteCond %{HTTPS} off
# First rewrite to HTTPS
# Don't put www. here. If it is already there it will be included, if not
# the subsequent rule will catch it.... | This will reduce the redirects
```
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301]
``` |
108,116 | <p>I recently learned that the default WP permalink with post date is not SEO friendly. So I had to change the links for all 270 posts on my blog. However, the old links still display on Google search engine for over a week now. </p>
<p>For example, If you search for the term "Kimfly mobile phone specifications and pr... | [
{
"answer_id": 108119,
"author": "DKing",
"author_id": 66153,
"author_profile": "https://webmasters.stackexchange.com/users/66153",
"pm_score": 3,
"selected": true,
"text": "<p>It is a good idea to create 301 redirects for any moved content. This lets visitors, including Google, know tha... | 2017/07/25 | [
"https://webmasters.stackexchange.com/questions/108116",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80227/"
] | I recently learned that the default WP permalink with post date is not SEO friendly. So I had to change the links for all 270 posts on my blog. However, the old links still display on Google search engine for over a week now.
For example, If you search for the term "Kimfly mobile phone specifications and price", this... | It is a good idea to create 301 redirects for any moved content. This lets visitors, including Google, know that the page has moved and where to find it.
Since your change follows a pattern, you can redirect the URLs with a single rule. The most simply way to do this is by modifying your .htaccess file.
In your docum... |
108,133 | <p>I am working with a client who already has a custom e-commerce website set up at their own domain e.g. example.com</p>
<p>We want to host their WordPress blog at a subdirectory of their domain e.g. example.com/blog
Due to security issues we cannot host WordPress on the same server as the rest of their site.</p>
<p... | [
{
"answer_id": 108145,
"author": "DKing",
"author_id": 66153,
"author_profile": "https://webmasters.stackexchange.com/users/66153",
"pm_score": 4,
"selected": true,
"text": "<p>The subdomain is certainly the easiest option since you are wanting to host the site on another server. The rea... | 2017/07/26 | [
"https://webmasters.stackexchange.com/questions/108133",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80296/"
] | I am working with a client who already has a custom e-commerce website set up at their own domain e.g. example.com
We want to host their WordPress blog at a subdirectory of their domain e.g. example.com/blog
Due to security issues we cannot host WordPress on the same server as the rest of their site.
We have set up a... | The subdomain is certainly the easiest option since you are wanting to host the site on another server. The reason for this is that a hostname can only ever resolve to a single location. If you are worried about SEO from the changed URLs, you could perhaps consider a redirect to the subdomain instead.
However, since y... |
108,279 | <p>I have 2 websites, one for Australia and New Zealand, and another for the US and the rest of the world the one for the Australia is indexing 1st when I search it from the US, how can I promote the US site and remove the Australian site from the US index</p>
| [
{
"answer_id": 108280,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 0,
"selected": false,
"text": "<p>If you think, plan and implement 2 different sites with unique content and structure then you do not need to ... | 2017/08/01 | [
"https://webmasters.stackexchange.com/questions/108279",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80402/"
] | I have 2 websites, one for Australia and New Zealand, and another for the US and the rest of the world the one for the Australia is indexing 1st when I search it from the US, how can I promote the US site and remove the Australian site from the US index | Use [hreflang](https://support.google.com/webmasters/answer/189077?hl=en) to target the two sites to their respective markets. This markup is supported by Google and Yandex, but not Bing etc., which may or may not be an issue depending on your traffic sources.
Google's John Mueller has [confirmed](https://twitter.com/... |
108,292 | <p>I have a web server, built into a device, sitting behind a firewall. The web server is on port 80, but many times port 80 is already in use by some other device. i.e. DVR. </p>
<p>To access the server from the web, I use an alternative port, like 9300. Until recently this worked fine in Chrome, but as of around ver... | [
{
"answer_id": 108294,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": true,
"text": "<p>Chrome 55 <strong>was</strong> notorious for <code>net::ERR_INVALID_HTTP_RESPONSE,</code> when using cus... | 2017/08/01 | [
"https://webmasters.stackexchange.com/questions/108292",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80421/"
] | I have a web server, built into a device, sitting behind a firewall. The web server is on port 80, but many times port 80 is already in use by some other device. i.e. DVR.
To access the server from the web, I use an alternative port, like 9300. Until recently this worked fine in Chrome, but as of around version 56 I ... | Chrome 55 **was** notorious for `net::ERR_INVALID_HTTP_RESPONSE,` when using custom ports outside of `80`, `8080` and `443`. This affected thousands of servers but notably Shoutcast Version 1 and 2.
A simple fix may just be to use `8080` instead of `9300` as it can coexist with 80. But your issue here is your browser... |
108,310 | <p>We try to improve the visibility of our website on Google and we've created meta descriptions for every page. Should we use: <code>meta name="description" content=""</code> OR <code>meta itemprop="description" content=""</code> OR both of them?</p>
| [
{
"answer_id": 108311,
"author": "L Martin",
"author_id": 61597,
"author_profile": "https://webmasters.stackexchange.com/users/61597",
"pm_score": 2,
"selected": false,
"text": "<p>The standard format is:</p>\n<pre><code><meta name="description" content="What you'd like... | 2017/08/02 | [
"https://webmasters.stackexchange.com/questions/108310",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80455/"
] | We try to improve the visibility of our website on Google and we've created meta descriptions for every page. Should we use: `meta name="description" content=""` OR `meta itemprop="description" content=""` OR both of them? | The standard format is:
```
<meta name="description" content="What you'd like to appear on a search result">
```
Be wary that descriptions won't increase your rank. They will have an affect on CTR. Google won't always use your tags, there are times it will generate it's own from your page.
The Schema version (`item... |
108,339 | <p>When selecting date ranges in Google Analytics, one is always missing for me:</p>
<pre><code>Last 30 days + today
</code></pre>
<p>Is there a way to define this custom date range, or should I always define it manually?</p>
| [
{
"answer_id": 108311,
"author": "L Martin",
"author_id": 61597,
"author_profile": "https://webmasters.stackexchange.com/users/61597",
"pm_score": 2,
"selected": false,
"text": "<p>The standard format is:</p>\n<pre><code><meta name="description" content="What you'd like... | 2017/08/03 | [
"https://webmasters.stackexchange.com/questions/108339",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79015/"
] | When selecting date ranges in Google Analytics, one is always missing for me:
```
Last 30 days + today
```
Is there a way to define this custom date range, or should I always define it manually? | The standard format is:
```
<meta name="description" content="What you'd like to appear on a search result">
```
Be wary that descriptions won't increase your rank. They will have an affect on CTR. Google won't always use your tags, there are times it will generate it's own from your page.
The Schema version (`item... |
108,395 | <p>I would like to know <strong>which source / affiliate link are responsible for a goal conversion</strong>. In Google Analytics, I tried <em>Conversions > Goals > Reverse goal path</em>.</p>
<p>But unfortunately, all I see is that people who have a goal conversion (= visiting successful payment page <code>example.co... | [
{
"answer_id": 108441,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 2,
"selected": true,
"text": "<p>In Google Analytics Reports there are many ways to find out where a visitor/conversion has come from. </p>... | 2017/08/06 | [
"https://webmasters.stackexchange.com/questions/108395",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79015/"
] | I would like to know **which source / affiliate link are responsible for a goal conversion**. In Google Analytics, I tried *Conversions > Goals > Reverse goal path*.
But unfortunately, all I see is that people who have a goal conversion (= visiting successful payment page `example.com/payment`) come on my site with th... | In Google Analytics Reports there are many ways to find out where a visitor/conversion has come from.
**Reports**
1) Conversions > Goals > Overview > Source/Medium
Here Source/Medium represents your **Blog-1/Referral** conversions. You can check each goal or conversion individually using the dropdown menu at the to... |
108,407 | <p>Hi in my Drupal website site I have a few directories like:</p>
<pre><code>/sites/modules/
</code></pre>
<p>Now I only want googlebot or other bots to index or allow say file <code>user.css</code></p>
<p>I don't want Googlebot to index the file <code>lightbox.css</code> in the same directory.</p>
<p>How do I edi... | [
{
"answer_id": 108408,
"author": "Rajesh G",
"author_id": 69716,
"author_profile": "https://webmasters.stackexchange.com/users/69716",
"pm_score": -1,
"selected": false,
"text": "<p>You can use following to disallow in robots.txt:</p>\n\n<pre><code>disallow: */lightbox.css\n</code></pre>... | 2017/08/07 | [
"https://webmasters.stackexchange.com/questions/108407",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80563/"
] | Hi in my Drupal website site I have a few directories like:
```
/sites/modules/
```
Now I only want googlebot or other bots to index or allow say file `user.css`
I don't want Googlebot to index the file `lightbox.css` in the same directory.
How do I edit robots.txt to achieve the above? There would be other files ... | >
> Now I only want googlebot or other bots to index or allow say file user.css
>
>
>
a CSS file? it doesn't offer value to an end user.
>
> I don't want Googlebot to index the file lightbox.css in the same directory. How do I edit robots.txt to achieve the above?
>
>
>
Do nothing.
Search engines are only ... |
108,433 | <p>I used this line to extract unique IPs from my access_log for the last minute:</p>
<pre><code>grep "2017:19:23" /var/log/nginx/access_log | awk '{print $2}' | sort -n | uniq -c | sort -nr | head -20000 | wc -l
</code></pre>
<p>Result: 185</p>
<p>I then tried again for 10 seconds:</p>
<pre><code>grep "2017:19:23:... | [
{
"answer_id": 108434,
"author": "Codemonkey",
"author_id": 31909,
"author_profile": "https://webmasters.stackexchange.com/users/31909",
"pm_score": 1,
"selected": false,
"text": "<p>I've solved it.</p>\n\n<p>I had cookieDomain set to <code>https://www.my-domain-here.com</code>. I've ch... | 2017/08/07 | [
"https://webmasters.stackexchange.com/questions/108433",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31909/"
] | I used this line to extract unique IPs from my access\_log for the last minute:
```
grep "2017:19:23" /var/log/nginx/access_log | awk '{print $2}' | sort -n | uniq -c | sort -nr | head -20000 | wc -l
```
Result: 185
I then tried again for 10 seconds:
```
grep "2017:19:23:0" /var/log/nginx/access_log | awk '{print ... | I've solved it.
I had cookieDomain set to `https://www.my-domain-here.com`. I've changed it to `www.my-domain-here.com` now and suddenly my real time users are up to 157.
Weird that that "bug" would affect some hits but not others - I'd understand if it had said "0"! |
108,461 | <p>I have a UK site which is translated into Brazilian, i.e. Portuguese (Brazilian) speakers in the UK. Whats the correct hreflang tag for this?</p>
<p><a href="https://example.com/gb/pt-br" rel="nofollow noreferrer">https://example.com/gb/pt-br</a></p>
<p>In theory, we are looking at pt-br-GB...</p>
<pre><code><... | [
{
"answer_id": 108466,
"author": "Henry Visotski",
"author_id": 78970,
"author_profile": "https://webmasters.stackexchange.com/users/78970",
"pm_score": 2,
"selected": false,
"text": "<p>Unfortunately, the hreflang standard does not specify regional varieties of languages. You can target... | 2017/08/08 | [
"https://webmasters.stackexchange.com/questions/108461",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/66825/"
] | I have a UK site which is translated into Brazilian, i.e. Portuguese (Brazilian) speakers in the UK. Whats the correct hreflang tag for this?
<https://example.com/gb/pt-br>
In theory, we are looking at pt-br-GB...
```
<link rel="alternate" hreflang="pt-br-GB" href="https://example.com/gb/pt-br" />
```
But I guess ... | Unfortunately, the hreflang standard does not specify regional varieties of languages. You can target by language, or by language and region, but that should be enough to target most users accurately.
In your case, given that you have one page for Portuguese language (since there's no Brazilian as such) and they resid... |
108,516 | <p>I have WP website with multiple campaign landing pages made with Page Builder. All campaign pages are under /campaign/ so urls are always type <a href="http://example.com/campaign/some-landing-page" rel="nofollow noreferrer">http://example.com/campaign/some-landing-page</a> Now I would like to noindex by default all... | [
{
"answer_id": 108820,
"author": "Kristian Svensson",
"author_id": 78558,
"author_profile": "https://webmasters.stackexchange.com/users/78558",
"pm_score": 1,
"selected": false,
"text": "<p>Unfortunately I can't see that it is possible with Yoast unless you manually set each page to noin... | 2017/08/10 | [
"https://webmasters.stackexchange.com/questions/108516",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80665/"
] | I have WP website with multiple campaign landing pages made with Page Builder. All campaign pages are under /campaign/ so urls are always type <http://example.com/campaign/some-landing-page> Now I would like to noindex by default all pages which url contains /campaign/ but I can't figure out how to do this with Yoast S... | There seem to be several ways to achieve this, but none will simply work out of the box, because each environment is different.
Depending on your specific circumstances, you could use one of the following options.
**Add "noindex" in robots.txt**
Use the robots.txt file and add the directives there to disallow everyt... |
108,528 | <p>From past few days, I am facing malware issue on my 3 blogs. This is happening because of this script:</p>
<pre><code><script src='https://blue.traffictrade.life/main.js' type='text/javascript'></script>
</code></pre>
<p>I found this in the header at the place of Google ads unit. This script replaces h... | [
{
"answer_id": 108536,
"author": "Henry Visotski",
"author_id": 78970,
"author_profile": "https://webmasters.stackexchange.com/users/78970",
"pm_score": 2,
"selected": false,
"text": "<p>Ah, WordPress malware. This can take many forms. Here are some things you can do:</p>\n\n<ol>\n<li><p... | 2017/08/10 | [
"https://webmasters.stackexchange.com/questions/108528",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80681/"
] | From past few days, I am facing malware issue on my 3 blogs. This is happening because of this script:
```
<script src='https://blue.traffictrade.life/main.js' type='text/javascript'></script>
```
I found this in the header at the place of Google ads unit. This script replaces header ad unit with the mentioned scrip... | Ah, WordPress malware. This can take many forms. Here are some things you can do:
1. Research the script. Chances are, others have encountered it, and have posted to message boards looking for solutions. You might be able to glimpse info like where this script lives and how to deal with it.
2. Contact your web hosting... |
108,530 | <p>I just ran a test and I received two errors on all my product pages in the breadcrumb (2) section of Googl Structured Data Tool test.</p>
<p>It says Breadcrumb 2 has missing title and url.</p>
<p>When i click on the error it takes me to the following piece of code</p>
<pre><code><span itemscope itemtype="http:... | [
{
"answer_id": 108536,
"author": "Henry Visotski",
"author_id": 78970,
"author_profile": "https://webmasters.stackexchange.com/users/78970",
"pm_score": 2,
"selected": false,
"text": "<p>Ah, WordPress malware. This can take many forms. Here are some things you can do:</p>\n\n<ol>\n<li><p... | 2017/08/10 | [
"https://webmasters.stackexchange.com/questions/108530",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80683/"
] | I just ran a test and I received two errors on all my product pages in the breadcrumb (2) section of Googl Structured Data Tool test.
It says Breadcrumb 2 has missing title and url.
When i click on the error it takes me to the following piece of code
```
<span itemscope itemtype="http://data-vocabulary.org/Breadcrum... | Ah, WordPress malware. This can take many forms. Here are some things you can do:
1. Research the script. Chances are, others have encountered it, and have posted to message boards looking for solutions. You might be able to glimpse info like where this script lives and how to deal with it.
2. Contact your web hosting... |
108,594 | <p>my client wants to use <a href="https://developers.google.com/webmasters/ajax-crawling/docs/specification" rel="nofollow noreferrer" title="ajax crawling">AJAX crawling</a> (I know that it is deprecated
But he wants it to use because of another search engine that still support it such as yandex.ru)</p>
<p>So I have... | [
{
"answer_id": 111611,
"author": "tsogtgerel.ts",
"author_id": 83739,
"author_profile": "https://webmasters.stackexchange.com/users/83739",
"pm_score": 1,
"selected": false,
"text": "<pre><code>http://example.com/#!/card/card_slug?category=car\n</code></pre>\n\n<p>fetched as following an... | 2017/08/13 | [
"https://webmasters.stackexchange.com/questions/108594",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/56059/"
] | my client wants to use [AJAX crawling](https://developers.google.com/webmasters/ajax-crawling/docs/specification "ajax crawling") (I know that it is deprecated
But he wants it to use because of another search engine that still support it such as yandex.ru)
So I have URL like this:
```
http://example.com/#/card/card_s... | ```
http://example.com/#!/card/card_slug?category=car
```
fetched as following and indexed.
```
http://example.com/?_escaped_fragment_=/card/card_slug%3Fcategory%3Dcar
```
single # url's are not crawled /i'm not sure/ and
definitely not indexed |
108,601 | <p>I have a listing site which lists freelancers in a very specific profession. In my site each place (city or so...) is a separated page. and it is focused on this profession keyword with the place name.</p>
<p>So for example let's say this site profession is "plumber״ so each page on the site will have to focus on a... | [
{
"answer_id": 111611,
"author": "tsogtgerel.ts",
"author_id": 83739,
"author_profile": "https://webmasters.stackexchange.com/users/83739",
"pm_score": 1,
"selected": false,
"text": "<pre><code>http://example.com/#!/card/card_slug?category=car\n</code></pre>\n\n<p>fetched as following an... | 2017/08/13 | [
"https://webmasters.stackexchange.com/questions/108601",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80751/"
] | I have a listing site which lists freelancers in a very specific profession. In my site each place (city or so...) is a separated page. and it is focused on this profession keyword with the place name.
So for example let's say this site profession is "plumber״ so each page on the site will have to focus on a keyword i... | ```
http://example.com/#!/card/card_slug?category=car
```
fetched as following and indexed.
```
http://example.com/?_escaped_fragment_=/card/card_slug%3Fcategory%3Dcar
```
single # url's are not crawled /i'm not sure/ and
definitely not indexed |
108,611 | <p>I have a wallpaper gallery page that displays small thumbnails, when clicked it opens the original full size image for a user to download it.<br>
Will adding <code>alt</code> attribute to the thumbnails make the original full size photo appear in google images when searched for? or Google will show the small thumbna... | [
{
"answer_id": 108613,
"author": "Scott C Wilson",
"author_id": 10492,
"author_profile": "https://webmasters.stackexchange.com/users/10492",
"pm_score": 0,
"selected": false,
"text": "<p>No. The <code>alt</code> tag is just for a textual description of the image. It can be used by scre... | 2017/08/13 | [
"https://webmasters.stackexchange.com/questions/108611",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80705/"
] | I have a wallpaper gallery page that displays small thumbnails, when clicked it opens the original full size image for a user to download it.
Will adding `alt` attribute to the thumbnails make the original full size photo appear in google images when searched for? or Google will show the small thumbnail photos? I do... | To implement your task, I recommend that you use structured data markup as **[ImageObject](http://schema.org/ImageObject)**, for example:
```
<div class="thumb" itemscope itemtype="http://schema.org/ImageObject">
<a href="images/wallpaper.jpg" itemprop="contentUrl">
<figure>
<figcaption itemprop="caption">The lar... |
108,846 | <p>My question is not technical (how to do it using <em>X</em> technology), it's about choosing proper approach that is good for SEO.</p>
<h2>Description</h2>
<p>Let's say I have a website <code>example.com</code>. It's a multilingual site, but there is <strong>no default language at root level</strong>. Instead of t... | [
{
"answer_id": 108961,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 4,
"selected": true,
"text": "<p>Many multi-lingual sites don’t have the language tag for the default/primary language in the URL¹, but I think <... | 2017/08/23 | [
"https://webmasters.stackexchange.com/questions/108846",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81046/"
] | My question is not technical (how to do it using *X* technology), it's about choosing proper approach that is good for SEO.
Description
-----------
Let's say I have a website `example.com`. It's a multilingual site, but there is **no default language at root level**. Instead of that I'd like to redirect to proper sub... | Many multi-lingual sites don’t have the language tag for the default/primary language in the URL¹, but I think [it’s better to include it](https://stackoverflow.com/a/38363403/1591669 "Should default language of multilingual website be a part of the URL?"). So yes, in my opinion, it’s not only good design, it’s the bes... |
108,855 | <p>I have the schema with this:</p>
<pre><code><sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
</code></pre>
<p>Is it correct or should be:</p>
<pre><code><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</code></pre>
<p>if all my web pages are on HTTPS?</p>
| [
{
"answer_id": 108858,
"author": "DocRoot",
"author_id": 52912,
"author_profile": "https://webmasters.stackexchange.com/users/52912",
"pm_score": 3,
"selected": false,
"text": "<p>The value of the <code>xmlns</code> attribute is to uniquely identify a namespace (the \"namespace URI\"). I... | 2017/08/23 | [
"https://webmasters.stackexchange.com/questions/108855",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81057/"
] | I have the schema with this:
```
<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
```
Is it correct or should be:
```
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
```
if all my web pages are on HTTPS? | You can validate your sitemap on <https://www.google.com/webmasters/tools>. It will give an error when you use https to refer to the schema.
I have also seen other sitemap validators that refuse to validate the https version of the namespace, so using http might be the only correct option, even when your site only use... |
108,889 | <p>I am currently working on a WordPress website, having installed Google Analytics. GA is running well, but especially with regard Facebook traffic, it shows completely other figures. After publishing a "viral video" post on Facebook (and adding a call to action “more” linking to our website), WP Statistics reports ma... | [
{
"answer_id": 108903,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 2,
"selected": false,
"text": "<p>Back in the day when I used Google Analytics (GA), I had to use javascript code it gave me an... | 2017/08/24 | [
"https://webmasters.stackexchange.com/questions/108889",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81112/"
] | I am currently working on a WordPress website, having installed Google Analytics. GA is running well, but especially with regard Facebook traffic, it shows completely other figures. After publishing a "viral video" post on Facebook (and adding a call to action “more” linking to our website), WP Statistics reports many ... | Back in the day when I used Google Analytics (GA), I had to use javascript code it gave me and embed it into my website in order for GA to track number of visits.
The biggest reason why the difference in numbers can be way off between counting visitors directly on your server and counting visitors through GA is becaus... |
108,933 | <p>My site was hacked about 4-6 months ago and as a result lots of pages were created on my site. These pages no longer exist and were removed a week after the hack but they still exist in googles search results and i have over 1,000 crawl errors in google search console. I thought google would have removed these pages... | [
{
"answer_id": 108941,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>What is the best way to remove these from the google search results</p>\n</bl... | 2017/08/26 | [
"https://webmasters.stackexchange.com/questions/108933",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73002/"
] | My site was hacked about 4-6 months ago and as a result lots of pages were created on my site. These pages no longer exist and were removed a week after the hack but they still exist in googles search results and i have over 1,000 crawl errors in google search console. I thought google would have removed these pages by... | >
> What is the best way to remove these from the google search results
>
>
>
Make such affected pages return a 410 HTTP code.
You can use the apache mod\_rewrite module (or equivalent) and write a server configuration script that checks to see if a certain pattern exists in the URL and if it does, then user will... |
109,066 | <p>In my <em>robots.txt</em> file (<code>http://www.tutorvista.com/robots.txt</code>), I'm using <code>Noindex: /content/...</code> to disallow indexing:</p>
<p><a href="https://i.stack.imgur.com/QBXK8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QBXK8.png" alt="enter image description here"></a>... | [
{
"answer_id": 109068,
"author": "Matthew Elshaw",
"author_id": 81342,
"author_profile": "https://webmasters.stackexchange.com/users/81342",
"pm_score": 3,
"selected": false,
"text": "<p>\"noindex\" directives should not be used in your robots.txt file, instead a noindex meta tag should ... | 2017/09/01 | [
"https://webmasters.stackexchange.com/questions/109066",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76315/"
] | In my *robots.txt* file (`http://www.tutorvista.com/robots.txt`), I'm using `Noindex: /content/...` to disallow indexing:
[](https://i.stack.imgur.com/QBXK8.png)
This should mean that `http://www.tutorvista.com/content/` and anything below this URL s... | "noindex" directives should not be used in your robots.txt file, instead a noindex meta tag should be added to any pages that you don't want indexed in Google.
A NOINDEX tag looks like the below and it should be placed in the section of any page you do not want indexed:
```
<meta name="robots" content="noindex">
``... |
109,107 | <h3>Problem</h3>
<p>I have a website with documentation that includes examples with plain text URLs. The other day, I noticed that Google Webmaster was telling me that one of those URLs generated a <em>Page Not Found</em> error.</p>
<h3>Question</h3>
<p>What is the best way to prevent Google from scraping such plain... | [
{
"answer_id": 109109,
"author": "ddyer",
"author_id": 10556,
"author_profile": "https://webmasters.stackexchange.com/users/10556",
"pm_score": 3,
"selected": true,
"text": "<p>Generate the text with a simple javascript function, so the literal\nyou want will appear when read, but not wh... | 2017/09/03 | [
"https://webmasters.stackexchange.com/questions/109107",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9808/"
] | ### Problem
I have a website with documentation that includes examples with plain text URLs. The other day, I noticed that Google Webmaster was telling me that one of those URLs generated a *Page Not Found* error.
### Question
What is the best way to prevent Google from scraping such plain text URLs? (other than usi... | Generate the text with a simple javascript function, so the literal
you want will appear when read, but not when scraped.
in the header something like
```
<script>function hide(str)
{
document.write('http://example.com'+str);
}
</script>
```
In line something like
```
<script>hide("/foo/bar.html")</script>
... |
109,181 | <p>For example, the business name could be "purple valley grand artists" and the domain might be <code>pvga.com</code>.</p>
<p>Is this incongruence problematic for branding? </p>
<p>Which should the website logo reflect, PVGA or the full business name? Is 4 words too much for a business name?</p>
| [
{
"answer_id": 109231,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Which should the website logo reflect, PVGA or the full business name (purple... | 2017/09/07 | [
"https://webmasters.stackexchange.com/questions/109181",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81553/"
] | For example, the business name could be "purple valley grand artists" and the domain might be `pvga.com`.
Is this incongruence problematic for branding?
Which should the website logo reflect, PVGA or the full business name? Is 4 words too much for a business name? | >
> Is this incongruence problematic for branding?
>
>
>
That's a context-dependent measure I'm afraid. Some brands it might work perfect, others not so much. For example: `Southern Expert Xerox Yogis —> sexy.com` while other names like Prescott `Williams Murphy McMahon Williams & Schroedinger Attorneys at Law —> ... |
109,190 | <p>I have a website where I review a few local businesses. I have one page per business, where I present the business and explain my review.</p>
<p>My goal is to have rating stars shown in Google search results (based on my review).</p>
<p>Given that:</p>
<ul>
<li><strong>should my root type be a <code>Review</code>... | [
{
"answer_id": 109231,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Which should the website logo reflect, PVGA or the full business name (purple... | 2017/09/07 | [
"https://webmasters.stackexchange.com/questions/109190",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5645/"
] | I have a website where I review a few local businesses. I have one page per business, where I present the business and explain my review.
My goal is to have rating stars shown in Google search results (based on my review).
Given that:
* **should my root type be a `Review`?**
* **or should it be a `LocalBusiness`?**
... | >
> Is this incongruence problematic for branding?
>
>
>
That's a context-dependent measure I'm afraid. Some brands it might work perfect, others not so much. For example: `Southern Expert Xerox Yogis —> sexy.com` while other names like Prescott `Williams Murphy McMahon Williams & Schroedinger Attorneys at Law —> ... |
109,201 | <p>I have a small website, for which the current <code>robots.txt</code> looks like so:</p>
<pre><code>User-agent: *
Disallow:
Sitemap: https://www.myawesomesite.com/sitemap.xml
</code></pre>
<p>Now, I want to add another rule like so (with the aim to disallow <code>SomeStupidBot</code> for crawling my website):</p>
... | [
{
"answer_id": 109202,
"author": "MEGA",
"author_id": 80705,
"author_profile": "https://webmasters.stackexchange.com/users/80705",
"pm_score": 1,
"selected": false,
"text": "<p>By default, all bots are allowed to crawl all parts of your site with or without the first code you provided.<b... | 2017/09/08 | [
"https://webmasters.stackexchange.com/questions/109201",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/57729/"
] | I have a small website, for which the current `robots.txt` looks like so:
```
User-agent: *
Disallow:
Sitemap: https://www.myawesomesite.com/sitemap.xml
```
Now, I want to add another rule like so (with the aim to disallow `SomeStupidBot` for crawling my website):
```
User-agent: SomeStupidBot
Disallow: /
Sitemap: ... | To combine them you simply append the second rule block (group) to the file, with a line gap, like so:
```
User-agent: *
Disallow:
User-agent: SomeStupidBot
Disallow: /
Sitemap: https://www.myawesomesite.com/sitemap.xml
```
The order does not matter (the most specific - based on length - wins). Only one block is p... |
109,246 | <p>I am wondering if Google Adwords treats keyword combinations listed below differently? </p>
<p><strong>Option A:</strong></p>
<p><a href="https://i.stack.imgur.com/ZdZ8m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZdZ8m.png" alt="enter image description here"></a></p>
<p><strong>Option B</s... | [
{
"answer_id": 109202,
"author": "MEGA",
"author_id": 80705,
"author_profile": "https://webmasters.stackexchange.com/users/80705",
"pm_score": 1,
"selected": false,
"text": "<p>By default, all bots are allowed to crawl all parts of your site with or without the first code you provided.<b... | 2017/09/10 | [
"https://webmasters.stackexchange.com/questions/109246",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/12327/"
] | I am wondering if Google Adwords treats keyword combinations listed below differently?
**Option A:**
[](https://i.stack.imgur.com/ZdZ8m.png)
**Option B** (combination of the above keywords) **:**
[ to the file, with a line gap, like so:
```
User-agent: *
Disallow:
User-agent: SomeStupidBot
Disallow: /
Sitemap: https://www.myawesomesite.com/sitemap.xml
```
The order does not matter (the most specific - based on length - wins). Only one block is p... |
109,270 | <p>I recently purchased a GoDaddy hosting package and uploaded all of my website files written primarily in PHP from scratch. But when I try going to my site, it only loads the head portion of the file then throws a 500 error in the inspection panel. Some Googling around told me that there's not a lot of information to... | [
{
"answer_id": 109272,
"author": "Massimiliano Rubino",
"author_id": 70180,
"author_profile": "https://webmasters.stackexchange.com/users/70180",
"pm_score": 1,
"selected": false,
"text": "<p>It seems that in the public_html folder there is no index.html or index.php (or other).\nAre you... | 2017/09/11 | [
"https://webmasters.stackexchange.com/questions/109270",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81620/"
] | I recently purchased a GoDaddy hosting package and uploaded all of my website files written primarily in PHP from scratch. But when I try going to my site, it only loads the head portion of the file then throws a 500 error in the inspection panel. Some Googling around told me that there's not a lot of information to be... | So I finally reached out and contacted GoDaddy support. After an hour, we determined there might be an error in my code. And after a little bit of digging and testing with some basic files, he was right.
I added the following to my `index.php` file...
```
error_reporting(E_ALL);
ini_set('display_errors', 1);
```
A... |
109,281 | <p>While migrating from HTTP to HTTPS, I am recreating all internal links and canonicals as HTTPS, but it is not clear what to do for external links.</p>
<p>Some links point to sites that support both protocols and some that redirect but even so, what is the best practice? For example, links to Twitter now get redirec... | [
{
"answer_id": 109292,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 1,
"selected": true,
"text": "<p>Link to http. </p>\n\n<p>If you link to https and the target doesn't have an SSL certificate the user is going... | 2017/09/12 | [
"https://webmasters.stackexchange.com/questions/109281",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5806/"
] | While migrating from HTTP to HTTPS, I am recreating all internal links and canonicals as HTTPS, but it is not clear what to do for external links.
Some links point to sites that support both protocols and some that redirect but even so, what is the best practice? For example, links to Twitter now get redirected to HTT... | Link to http.
If you link to https and the target doesn't have an SSL certificate the user is going to get the *Your connection is not private* warning.
I can't speak for all sites, but any that I set up have the following in .htaccess to redirect http to https since I do have free LetsEncrypt certificates.
```
Rew... |
109,293 | <p>This was on a website I had to work on.
It seems to me its a horrible idea, but I was hoping to get other input before I told them it was.</p>
<pre><code>var url = 'https://www.otherdomain.com/magic_php_file.php';
document.write('<script>jQuery( "#div" ).load( "' + url + '" );<\/script>’);
</code></pr... | [
{
"answer_id": 109291,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": false,
"text": "<p><strong><em>Err? India does have copyright laws...</em></strong></p>\n\n<p>Sorry to say but your commen... | 2017/09/12 | [
"https://webmasters.stackexchange.com/questions/109293",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81723/"
] | This was on a website I had to work on.
It seems to me its a horrible idea, but I was hoping to get other input before I told them it was.
```
var url = 'https://www.otherdomain.com/magic_php_file.php';
document.write('<script>jQuery( "#div" ).load( "' + url + '" );<\/script>’);
```
The document.write happens on a... | ***Err? India does have copyright laws...***
Sorry to say but your comment about India not having copyright laws is utter non-sense and unfounded. Furthermore its highly doubtful that your hard work is not being rewarded because Google penalises sites for copying identical, it can take some time but it happens.
---
... |
109,330 | <p>Today I attempted a search on one of my websites as I thought I had a page about this or that and used the following in my search:</p>
<pre><code>site:m2osw.com upload
</code></pre>
<p>I started looking through the results and could not find the very page I was looking for, but noticed that one of my website, we'l... | [
{
"answer_id": 109332,
"author": "Evgeniy",
"author_id": 43910,
"author_profile": "https://webmasters.stackexchange.com/users/43910",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Do you know whether that canonical looks correct from <a href=\"https://blah.m2osw.com\" rel... | 2017/09/13 | [
"https://webmasters.stackexchange.com/questions/109330",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9808/"
] | Today I attempted a search on one of my websites as I thought I had a page about this or that and used the following in my search:
```
site:m2osw.com upload
```
I started looking through the results and could not find the very page I was looking for, but noticed that one of my website, we'll say "blah.m2osw.com", ap... | >
>
> ```
> <meta rel="canonical"
> type="text/html"
> title="Home Page"
> href="https://exdox.com"/>
>
> ```
>
>
This is incorrect. This should be a `link` element, not a `meta` element. For example:
```
<link rel="canonical" href="https://exdox.com">
```
The `type` and `title` attributes in this contex... |
109,339 | <p>This post seems to have my answer:<br>
<a href="https://webmasters.stackexchange.com/questions/55132/how-can-i-redirect-old-wordpress-url-with-a-query-string-to-new-url-using-hta">How can I redirect old WordPress URL (with a query string) to new URL using .htaccess?</a></p>
<p>However, this does not seem to play ni... | [
{
"answer_id": 109340,
"author": "Alexis Wilke",
"author_id": 9808,
"author_profile": "https://webmasters.stackexchange.com/users/9808",
"pm_score": 2,
"selected": false,
"text": "<p>I think you have two problems.</p>\n\n<p>One, the rewrite are checked in order and you put the more const... | 2017/09/13 | [
"https://webmasters.stackexchange.com/questions/109339",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81757/"
] | This post seems to have my answer:
[How can I redirect old WordPress URL (with a query string) to new URL using .htaccess?](https://webmasters.stackexchange.com/questions/55132/how-can-i-redirect-old-wordpress-url-with-a-query-string-to-new-url-using-hta)
However, this does not seem to play nicely with WordPress' p... | I think you have two problems.
One, the rewrite are checked in order and you put the more constraining one after the least constraining one (i.e. the redirect with your query string should be first.)
Second, we have another problem concerning the query string. It includes an anchor. That is never sent to the server (... |
109,341 | <p>We've been having problems with our index page dropping down the rankings and finally disappearing overnight. I do believe following help from Stevie on here that our branding etc. is dismal so that is being worked on.</p>
<p>However, I ran a crawl of the site and these stood out.</p>
<p><strong>301 redirects</str... | [
{
"answer_id": 109340,
"author": "Alexis Wilke",
"author_id": 9808,
"author_profile": "https://webmasters.stackexchange.com/users/9808",
"pm_score": 2,
"selected": false,
"text": "<p>I think you have two problems.</p>\n\n<p>One, the rewrite are checked in order and you put the more const... | 2017/09/14 | [
"https://webmasters.stackexchange.com/questions/109341",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72770/"
] | We've been having problems with our index page dropping down the rankings and finally disappearing overnight. I do believe following help from Stevie on here that our branding etc. is dismal so that is being worked on.
However, I ran a crawl of the site and these stood out.
**301 redirects**
1. `http://www.example.c... | I think you have two problems.
One, the rewrite are checked in order and you put the more constraining one after the least constraining one (i.e. the redirect with your query string should be first.)
Second, we have another problem concerning the query string. It includes an anchor. That is never sent to the server (... |
109,369 | <p>Currently, the URL to a user's page is this:</p>
<pre><code>website.com/user/bob
</code></pre>
<p>But I'm considering changing this to be:</p>
<pre><code>website.com/bob
</code></pre>
<p>Without the <code>/user/</code> part. It comes across as much cleaner and easier to access, as user pages are one of the most ... | [
{
"answer_id": 109370,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<p>This sounds like a personal opinion type question, however, it does have a few potential design/development fl... | 2017/09/15 | [
"https://webmasters.stackexchange.com/questions/109369",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81796/"
] | Currently, the URL to a user's page is this:
```
website.com/user/bob
```
But I'm considering changing this to be:
```
website.com/bob
```
Without the `/user/` part. It comes across as much cleaner and easier to access, as user pages are one of the most frequently-visited pages on my site.
I have, however, a few... | Do the */user/bob* style, as there's a very good reason why you should not use */bob*.
Specifically, that means you can't have any other paths in your website, as they might collide with a user name. For example, someone could name themselves "images" and now your */images* folder doesn't work. Or someone who's name i... |
109,389 | <p>I am trying to increase the traffic to my website but I am getting weird Crawler Errors from Google. Google is telling me that it visited the URL below, but it doesn't exist. My <em>sitemap.xml</em> doesn't have any invalid URLs.</p>
<pre><code>http://www.example.com/AboutUs/AboutUs
</code></pre>
<p>But the URL ab... | [
{
"answer_id": 109390,
"author": "Abdul Samad",
"author_id": 81808,
"author_profile": "https://webmasters.stackexchange.com/users/81808",
"pm_score": -1,
"selected": false,
"text": "<p>1st Option:</p>\n\n<p>find directories in your servers, google will read your all servers paths and fil... | 2017/09/15 | [
"https://webmasters.stackexchange.com/questions/109389",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81832/"
] | I am trying to increase the traffic to my website but I am getting weird Crawler Errors from Google. Google is telling me that it visited the URL below, but it doesn't exist. My *sitemap.xml* doesn't have any invalid URLs.
```
http://www.example.com/AboutUs/AboutUs
```
But the URL above that Google visited is not wr... | In addition to Stephen's comment below your question, which should help you troubleshoot the issue (i.e. make sure the URL's don't resolve; ensure the links are absolute), consider the following:
The 404's that Google returns in GSC are not always reason for concern. If Google can't find a page or a resource that does... |
109,409 | <p>I've got a website using third-party JavaScript scripts, from Google AdSense (to show ads), Google Analytics (to track visits), Google Maps (to show maps) or Facebook (to allow users leave comments).</p>
<p>I'm trying to implement HTTPS, but I've noticed that my pages, which now are SSL secured, include these not-S... | [
{
"answer_id": 109411,
"author": "S.G.",
"author_id": 81490,
"author_profile": "https://webmasters.stackexchange.com/users/81490",
"pm_score": 2,
"selected": false,
"text": "<p>You can try this:-</p>\n\n<pre><code><meta http-equiv=\"Content-Security-Policy\" content=\"upgrade-insecure... | 2017/09/16 | [
"https://webmasters.stackexchange.com/questions/109409",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81401/"
] | I've got a website using third-party JavaScript scripts, from Google AdSense (to show ads), Google Analytics (to track visits), Google Maps (to show maps) or Facebook (to allow users leave comments).
I'm trying to implement HTTPS, but I've noticed that my pages, which now are SSL secured, include these not-SSL scripts... | You can try this:-
```
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
```
**Or**
```
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" />
```
Paste it in `<head>...</head>` tags.
The HTTP `Content-Security-Policy` (CSP) `block-all-mixed-content` direc... |
109,449 | <p>A canonical tag (aka "rel canonical") is a way of telling search engines that a specific URL represents the master copy of a page. Using the canonical tag prevents problems caused by identical or "duplicate" content appearing on multiple URLs. Practically speaking, the canonical tag tells search engines which versio... | [
{
"answer_id": 109465,
"author": "Ajesh Nair",
"author_id": 81942,
"author_profile": "https://webmasters.stackexchange.com/users/81942",
"pm_score": 2,
"selected": true,
"text": "<p>Consider <code>www.example.com/abc</code> and <code>www.example.com/us/xyz</code>. Both pages are same wit... | 2017/09/18 | [
"https://webmasters.stackexchange.com/questions/109449",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79803/"
] | A canonical tag (aka "rel canonical") is a way of telling search engines that a specific URL represents the master copy of a page. Using the canonical tag prevents problems caused by identical or "duplicate" content appearing on multiple URLs. Practically speaking, the canonical tag tells search engines which version o... | Consider `www.example.com/abc` and `www.example.com/us/xyz`. Both pages are same with exact duplicate content. In case you want `/us/xyz` to rank in SERPs.
Google Webmaster Tools recommends 301 redirection of `/abc` to `/us/xyz` to avoid duplication penalty or ranking drop.
In some cases 301 redirection is not poss... |
109,565 | <p>We have added following meta tag on some of our pages:</p>
<pre><code><meta content="noindex" name="robots"/>
</code></pre>
<p>Does google crawl the content and links on this page and just don't show it on the google search results.<br/>
If yes then how can i stop bot not to crawl the content and the links ... | [
{
"answer_id": 109566,
"author": "Matthew Jasek",
"author_id": 81940,
"author_profile": "https://webmasters.stackexchange.com/users/81940",
"pm_score": 1,
"selected": false,
"text": "<p>The tag tells the search engines not to include the page in their listings. As far as i'm aware you ca... | 2017/09/22 | [
"https://webmasters.stackexchange.com/questions/109565",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/62048/"
] | We have added following meta tag on some of our pages:
```
<meta content="noindex" name="robots"/>
```
Does google crawl the content and links on this page and just don't show it on the google search results.
If yes then how can i stop bot not to crawl the content and the links on this page ? | By default Google or any other modern search engine will crawl, index and follow the links in a page when the above meta tag is absent.
In your example Google will find the noindex instruction and this is what is expected to happen:
* Google bot will crawl the page (if robots txt allows it)
* Your page will not get i... |
109,665 | <p>When I create an xml sitemap using an online sitemap creator, it adds the following</p>
<pre><code><url>
<loc>http://www.mysite.co.uk/</loc>
<lastmod>2017-09-26T18:03:59+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0000</priority>
<... | [
{
"answer_id": 109679,
"author": "Andy Muns",
"author_id": 82129,
"author_profile": "https://webmasters.stackexchange.com/users/82129",
"pm_score": -1,
"selected": false,
"text": "<p>XML Sitemaps are still very important to Google.</p>\n\n<p>I manage a site with 100m+ pages and can tell ... | 2017/09/27 | [
"https://webmasters.stackexchange.com/questions/109665",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82188/"
] | When I create an xml sitemap using an online sitemap creator, it adds the following
```
<url>
<loc>http://www.mysite.co.uk/</loc>
<lastmod>2017-09-26T18:03:59+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0000</priority>
</url>
<url>
<loc>http://www.mysite.co.uk/index.html</loc>
<lastm... | You need to fix this issue by “homogenizing” the way the internal links are set across the whole website. When you create internal links you have basically two options 1) use relative or 2) absolute paths.
For example, the same internal link could be set either way like this:
```
href=“/index.html“ (1)
href=“http://... |
109,680 | <p>I'm trying to remove the <code>.html</code> from my landing page, an example would be instead of <code>domain.com/contact.html</code> it would be <code>domain.com/contact</code> while at the same time keeping the <code>.html</code> for all the folders within the website, so <code>domain.com/components/file.html</cod... | [
{
"answer_id": 109681,
"author": "Jane",
"author_id": 82218,
"author_profile": "https://webmasters.stackexchange.com/users/82218",
"pm_score": 2,
"selected": false,
"text": "<p>Never mind, I found the solution:</p>\n\n<pre><code>DirectorySlash Off\nRewriteEngine On\n\nRewriteCond %{THE_R... | 2017/09/27 | [
"https://webmasters.stackexchange.com/questions/109680",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82217/"
] | I'm trying to remove the `.html` from my landing page, an example would be instead of `domain.com/contact.html` it would be `domain.com/contact` while at the same time keeping the `.html` for all the folders within the website, so `domain.com/components/file.html` would stay as a `.html`..
So in other words redirect f... | Never mind, I found the solution:
```
DirectorySlash Off
RewriteEngine On
RewriteCond %{THE_REQUEST} \s/+(.*?/)?(?:index)?(.*?)\.html[\s?/] [NC]
RewriteRule ^(.[^\/]*)$ /%1%2 [R=302,L,NE]
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*) /$1.html [L]
``` |
109,693 | <p>I'm trying to use GoDaddy's 301 redirect, which is named as domain forwarding. I set up forwarding <code>DomainA.example</code> to <code>DomainB.example</code> as 301 "type".</p>
<p>I noticed <code>DomainA.example</code> is still indexed in Google after ~6 months, and it has a title in SERP of <code>DomainB.example... | [
{
"answer_id": 109681,
"author": "Jane",
"author_id": 82218,
"author_profile": "https://webmasters.stackexchange.com/users/82218",
"pm_score": 2,
"selected": false,
"text": "<p>Never mind, I found the solution:</p>\n\n<pre><code>DirectorySlash Off\nRewriteEngine On\n\nRewriteCond %{THE_R... | 2017/09/28 | [
"https://webmasters.stackexchange.com/questions/109693",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78219/"
] | I'm trying to use GoDaddy's 301 redirect, which is named as domain forwarding. I set up forwarding `DomainA.example` to `DomainB.example` as 301 "type".
I noticed `DomainA.example` is still indexed in Google after ~6 months, and it has a title in SERP of `DomainB.example`. When I click it on Google or visit in the bro... | Never mind, I found the solution:
```
DirectorySlash Off
RewriteEngine On
RewriteCond %{THE_REQUEST} \s/+(.*?/)?(?:index)?(.*?)\.html[\s?/] [NC]
RewriteRule ^(.[^\/]*)$ /%1%2 [R=302,L,NE]
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*) /$1.html [L]
``` |
109,709 | <p>I've pasted the following code immediately after the tag on my layout pages (using ASP.NET MCV Razor layouts, but that wouldn't have an effect, would it?):</p>
<pre><code><!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111111111-1">... | [
{
"answer_id": 109717,
"author": "nmit026",
"author_id": 80245,
"author_profile": "https://webmasters.stackexchange.com/users/80245",
"pm_score": 1,
"selected": false,
"text": "<p>The filter was: include only traffic to the hostname that are equal to example.com.</p>\n\n<p>Since my site ... | 2017/09/28 | [
"https://webmasters.stackexchange.com/questions/109709",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80245/"
] | I've pasted the following code immediately after the tag on my layout pages (using ASP.NET MCV Razor layouts, but that wouldn't have an effect, would it?):
```
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111111111-1"></script>
<script>
windo... | Google Analytics has introduced a new tracking code snippet [Global Site Tag gtag.js](https://developers.google.com/analytics/devguides/collection/gtagjs/)
Last I did some testing with it, Google Tag Assistant had not been updated yet to correctly recognize the new snippet.
As of yesterday, the new tracking code was... |
109,765 | <p>I work for a UK-based digital-focused company. </p>
<p>We have a few thousand US-based users but it is by no means our primary region.</p>
<p>However, an excessively large amount of US traffic is supposedly coming from Coffeyville, Kansas - so much so that it is showing as the city with the most sessions worldwide... | [
{
"answer_id": 109768,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 2,
"selected": false,
"text": "<p>Take a look at your server logs and see if you can find an IP address (or small range) that are sending ... | 2017/10/02 | [
"https://webmasters.stackexchange.com/questions/109765",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81666/"
] | I work for a UK-based digital-focused company.
We have a few thousand US-based users but it is by no means our primary region.
However, an excessively large amount of US traffic is supposedly coming from Coffeyville, Kansas - so much so that it is showing as the city with the most sessions worldwide.
Is there a spe... | ### It appears that you are a victim of what has been called "[The Kansas Problem](http://p5k6.github.io/blog/2014/08/09/understanding-your-geoip-data/)."
According to the [U.S. Geological Survey](https://pubs.usgs.gov/unnumbered/70039437/report.pdf), the geographical center of the conterminous United States is: `39°5... |
109,806 | <p>How do you use a font-family's symbols, glyphs, ornaments and other features inside? For example how do you use a font's superscript?</p>
| [
{
"answer_id": 109807,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 1,
"selected": false,
"text": "<p>You are after two different things</p>\n\n<p>You insert special characters e.g copyright, accented letters, by... | 2017/10/04 | [
"https://webmasters.stackexchange.com/questions/109806",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82359/"
] | How do you use a font-family's symbols, glyphs, ornaments and other features inside? For example how do you use a font's superscript? | You are after two different things
You insert special characters e.g copyright, accented letters, by using HTML entities e.g. `©` or `©` for ©. Here is a list <https://www.freeformatter.com/html-entities.html>
To achieve superscript, it has nothing to do with entities.
In this case it is the size and plac... |
109,835 | <p>I've got a page, in which I have a preview of a document, as JPG. Also, I've got the content read of that image.</p>
<p>I am doing it like this, but I have no idea if this is a way Google won't hate me:</p>
<pre><code><div class="image-container">
<img src="preview.doc.jpg" />... | [
{
"answer_id": 109807,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 1,
"selected": false,
"text": "<p>You are after two different things</p>\n\n<p>You insert special characters e.g copyright, accented letters, by... | 2017/10/05 | [
"https://webmasters.stackexchange.com/questions/109835",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82405/"
] | I've got a page, in which I have a preview of a document, as JPG. Also, I've got the content read of that image.
I am doing it like this, but I have no idea if this is a way Google won't hate me:
```
<div class="image-container">
<img src="preview.doc.jpg" />
<hidden style="display:none"... | You are after two different things
You insert special characters e.g copyright, accented letters, by using HTML entities e.g. `©` or `©` for ©. Here is a list <https://www.freeformatter.com/html-entities.html>
To achieve superscript, it has nothing to do with entities.
In this case it is the size and plac... |
109,881 | <p>I am trying to remove the sub-folders from my site URL.</p>
<p>Below is the structure of my folders. I am not sure where to place my <code>.htaccess</code> file and what to have written in it:</p>
<ul>
<li>mysiteroot</li>
<ul>
<li>subdir1</li>
<li>subdir2</li>
<u... | [
{
"answer_id": 109858,
"author": "Epic Equine",
"author_id": 82427,
"author_profile": "https://webmasters.stackexchange.com/users/82427",
"pm_score": 2,
"selected": false,
"text": "<p>Imo it's never too late to upgrade seo. There are so many factors that affect seo (estimated 200ish) wit... | 2017/10/07 | [
"https://webmasters.stackexchange.com/questions/109881",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82463/"
] | I am trying to remove the sub-folders from my site URL.
Below is the structure of my folders. I am not sure where to place my `.htaccess` file and what to have written in it:
* mysiteroot
+ subdir1
+ subdir2
- index.php
- page1.php
- page2.php
- page3.php
I have written the following:
```
RewriteEngine On
RewriteRu... | In my experience it is not too late even a year later if the site had a good reputation in Google's eyes. I have seen a site be off-line for months and then reappear after it has been found live again.
The strategy to do a 301 redirect is an important one in SEO and it is based on *relevance*. What the OP says about t... |
109,954 | <p>Let's admit that, for security / privacy reasons, I want to globally set my <a href="https://www.w3.org/TR/referrer-policy/" rel="nofollow noreferrer">referrer policy</a> to be <code>"no-referrer"</code>.</p>
<p>For instance, using Apache's <code>.htaccess</code>'s</p>
<pre><code>Header always set Referrer-Policy ... | [
{
"answer_id": 109973,
"author": "Birarious Knox",
"author_id": 82584,
"author_profile": "https://webmasters.stackexchange.com/users/82584",
"pm_score": -1,
"selected": false,
"text": "<p>You can try in this way, although I am not sure if it's widely supported</p>\n\n<pre><code> <a hr... | 2017/10/11 | [
"https://webmasters.stackexchange.com/questions/109954",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/54133/"
] | Let's admit that, for security / privacy reasons, I want to globally set my [referrer policy](https://www.w3.org/TR/referrer-policy/) to be `"no-referrer"`.
For instance, using Apache's `.htaccess`'s
```
Header always set Referrer-Policy no-referrer
```
IIS' `web.config`'s
```
<configuration>
<system.webServer... | **Method 2**
Following the concept of method 1 (below), I realised this could probably be done with just one technology and without reloading the current page. It's all done client side with plain javascript.
```
<!DOCTYPE html>
<head>
</head>
<body>
<a href="https://validator.w3.org" id="allowReferrer">Link that... |
110,074 | <p>I am trying to create a <a href="/questions/tagged/ppc" class="post-tag" title="show questions tagged 'ppc'" rel="tag">ppc</a> <a href="/questions/tagged/google-adwords" class="post-tag" title="show questions tagged 'google-adwords'" rel="tag">google-adwords</a> campaign targeting specific movies, e.... | [
{
"answer_id": 110100,
"author": "Bronwyn V",
"author_id": 82291,
"author_profile": "https://webmasters.stackexchange.com/users/82291",
"pm_score": 2,
"selected": false,
"text": "<p>You cant mix match types for keywords in Adwords eg phrase match and broad match.<br>\nHowever you could u... | 2017/10/15 | [
"https://webmasters.stackexchange.com/questions/110074",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2982/"
] | I am trying to create a [ppc](/questions/tagged/ppc "show questions tagged 'ppc'") [google-adwords](/questions/tagged/google-adwords "show questions tagged 'google-adwords'") campaign targeting specific movies, e.g. for people searching to buy tickets for Blade Runner 2049 movie.
I am constructing keywords using the f... | You cant mix match types for keywords in Adwords eg phrase match and broad match.
However you could use modified broad match which gives you a little more control than just plain broad match.
>
> Broad match modifiers ensure that your ads will only show when
> someone’s search is an exact match or close variant ... |
110,092 | <p>I'm making a webpage that's partly in Chinese. I use the UTF-8 encoding for all text. The page contains some parts that are in Chinese, mixed with western letters. The font I use for western text doesn't have Chinese characters in it, so I want the Chinese font available on the users computer to be used for renderin... | [
{
"answer_id": 110117,
"author": "nikant25",
"author_id": 29419,
"author_profile": "https://webmasters.stackexchange.com/users/29419",
"pm_score": 0,
"selected": false,
"text": "<ul>\n<li>Create a block for Chinese text using the attributes html, for example p, or em, or strong, or span ... | 2017/10/16 | [
"https://webmasters.stackexchange.com/questions/110092",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26764/"
] | I'm making a webpage that's partly in Chinese. I use the UTF-8 encoding for all text. The page contains some parts that are in Chinese, mixed with western letters. The font I use for western text doesn't have Chinese characters in it, so I want the Chinese font available on the users computer to be used for rendering t... | If the specified font doesn’t contain a glyph for a character, browsers typically [use a fallback font](https://stackoverflow.com/q/29241764/1591669 "Stack Overflow: 'How do web browsers implement font fallback?'") to render this character.
(Browsers don’t *have* do this, of course, and how it exactly works might als... |
110,123 | <p>My WordPress site in cPanel is serving the <code>admin-ajax.php</code> file which is wasting CPU resources. How can I solve this problem? Should I use this in my <em>robots.txt</em> file or not?</p>
<pre><code>User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
</code></pre>
| [
{
"answer_id": 110133,
"author": "Bronwyn V",
"author_id": 82291,
"author_profile": "https://webmasters.stackexchange.com/users/82291",
"pm_score": 3,
"selected": false,
"text": "<p>This file is often used front-end by themes and plugins.\nIt was changed in WordPress robots.txt file a co... | 2017/10/18 | [
"https://webmasters.stackexchange.com/questions/110123",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78307/"
] | My WordPress site in cPanel is serving the `admin-ajax.php` file which is wasting CPU resources. How can I solve this problem? Should I use this in my *robots.txt* file or not?
```
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
``` | This file is often used front-end by themes and plugins.
It was changed in WordPress robots.txt file a couple of years ago to allow crawling for this reason, after an issue with google being unable to crawl it.
The WP Core ticket thread can be found here and offers further information
<https://core.trac.wordpress.org... |
110,177 | <p>I have a page that contains a list of people with a link of each that will open the main page of that person. </p>
<p>Each link should have its own structured data.</p>
<p>I'm using JSON-LD, but the <a href="http://schema.org/docs/gs.html#schemaorg_expected" rel="nofollow noreferrer">example given is in Microdata ... | [
{
"answer_id": 110181,
"author": "nikant25",
"author_id": 29419,
"author_profile": "https://webmasters.stackexchange.com/users/29419",
"pm_score": 0,
"selected": false,
"text": "<p>You can apply a property <strong><a href=\"http://schema.org/BreadcrumbList\" rel=\"nofollow noreferrer\">B... | 2017/10/21 | [
"https://webmasters.stackexchange.com/questions/110177",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/64444/"
] | I have a page that contains a list of people with a link of each that will open the main page of that person.
Each link should have its own structured data.
I'm using JSON-LD, but the [example given is in Microdata format](http://schema.org/docs/gs.html#schemaorg_expected). So to write it in JSON-LD format, should I... | You have several options:
* as top-level items
(only use this if the other two options are not possible)
* as values for a property
(best option, but requires that Schema.org offers a suitable type/property for your case)
* as `ItemList`
(second-best option; requires that it makes sense to group them)
### As... |
110,246 | <pre><code>User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /
</code></pre>
<p>I use this command in my robots.txt file. But i do not think this is right. What should be the right command?
Some article i have found where told not to do this in robots.txt</p>
<pre><code>#Code to not allow any search engines!
Us... | [
{
"answer_id": 110276,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>Googlebot should understand your <code>Allow:</code> directive, but that is not the standard way... | 2017/10/24 | [
"https://webmasters.stackexchange.com/questions/110246",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78307/"
] | ```
User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /
```
I use this command in my robots.txt file. But i do not think this is right. What should be the right command?
Some article i have found where told not to do this in robots.txt
```
#Code to not allow any search engines!
User-agent: *
Disallow: /
```
... | I was quite confused with the question. If I were you, I think it's better to use a single user-agent, let's say assigning \* to denote all bots. Then you can use the disallow function to the directories that aren't supposed to be visited by these bots.
```
User-agent: *
Disallow: /folder1/
Disallow: /folder2/
```
P... |
110,332 | <p>I am a private person, running a personal blog. There's no organisation nor profit behind the blog.</p>
<p>Google Webmaster Tools tells me to add structured data in order to improve ratings and what not. Alright, fair enough. So I use the provided structure data markup help tool. I tick all the boxes, I mark everyt... | [
{
"answer_id": 110348,
"author": "Bhargav Joshi",
"author_id": 81888,
"author_profile": "https://webmasters.stackexchange.com/users/81888",
"pm_score": 3,
"selected": true,
"text": "<p>I have checked your blog using Structure Data Markup Tool and here is the method to fix the issue. </p>... | 2017/10/27 | [
"https://webmasters.stackexchange.com/questions/110332",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/82989/"
] | I am a private person, running a personal blog. There's no organisation nor profit behind the blog.
Google Webmaster Tools tells me to add structured data in order to improve ratings and what not. Alright, fair enough. So I use the provided structure data markup help tool. I tick all the boxes, I mark everything that ... | I have checked your blog using Structure Data Markup Tool and here is the method to fix the issue.
Structured data schema markup basically maps the real world entities in form of coding; so Google understand the "meaning" of content on the page.
That is why schema markup differentiates between an **author** and the... |
110,398 | <p>I have a WordPress install on a subdomain: <code>https://blog.example.com</code></p>
<p>To enforce SSL I have the following redirects in my <code>.htaccess</code>:</p>
<pre><code><IfModule mod_rewrite.c>
RewriteEngine On
# BEGIN FORCE HTTPS
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOS... | [
{
"answer_id": 110404,
"author": "bootsmaat",
"author_id": 83095,
"author_profile": "https://webmasters.stackexchange.com/users/83095",
"pm_score": 1,
"selected": false,
"text": "<p>I was able to resolve it by changing the .htaccess like so:</p>\n\n<pre><code><IfModule mod_rewrite.c&g... | 2017/10/30 | [
"https://webmasters.stackexchange.com/questions/110398",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83095/"
] | I have a WordPress install on a subdomain: `https://blog.example.com`
To enforce SSL I have the following redirects in my `.htaccess`:
```
<IfModule mod_rewrite.c>
RewriteEngine On
# BEGIN FORCE HTTPS
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301]
# END FORCE HTTPS
# BEGIN WordPr... | I was able to resolve it by changing the .htaccess like so:
```
<IfModule mod_rewrite.c>
RewriteEngine On
# BEGIN FORCE HTTPS
RewriteCond %{HTTPS} !=on
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]*
# END FORCE HTTPS
# BEGIN WordPress
RewriteBase /
RewriteRule ^index\.ph... |
110,458 | <p>I'm getting HREF no return errors in search console and I don't understand why.</p>
<p><a href="https://i.stack.imgur.com/jzfEf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jzfEf.png" alt="enter image description here"></a></p>
<p>We have a page that contains buttons for get multiple pages of... | [
{
"answer_id": 110461,
"author": "Daniel Pressley",
"author_id": 83171,
"author_profile": "https://webmasters.stackexchange.com/users/83171",
"pm_score": 1,
"selected": false,
"text": "<p>Hreflang is a bit a nightmare in my limited experience. But I don't think you should ever have just ... | 2017/11/01 | [
"https://webmasters.stackexchange.com/questions/110458",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83169/"
] | I'm getting HREF no return errors in search console and I don't understand why.
[](https://i.stack.imgur.com/jzfEf.png)
We have a page that contains buttons for get multiple pages of results.
URL structure:
```
Base page: `https://example.com/XX/pu... | The problem you have is caused by the combination of `canonical` *and* `hreflang`.
Your setup
----------
Given your example: for the URL `https://example.com/au/publications?count=50&page=4` you specify the following:
```
<link rel="canonical" href="https://example.com/au/publications">
<link rel="alternate" hreflan... |
110,491 | <p>I am adding Schema.org Microdata to one of the website homepage. This website has a logo which is surrounded with <code><a></code> anchor tag. This anchor tag already uses <code>itemprop="url"</code> like this:</p>
<pre class="lang-html prettyprint-override"><code><a href="https://mywebsite.com" itemprop="... | [
{
"answer_id": 110461,
"author": "Daniel Pressley",
"author_id": 83171,
"author_profile": "https://webmasters.stackexchange.com/users/83171",
"pm_score": 1,
"selected": false,
"text": "<p>Hreflang is a bit a nightmare in my limited experience. But I don't think you should ever have just ... | 2017/11/03 | [
"https://webmasters.stackexchange.com/questions/110491",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/48959/"
] | I am adding Schema.org Microdata to one of the website homepage. This website has a logo which is surrounded with `<a>` anchor tag. This anchor tag already uses `itemprop="url"` like this:
```html
<a href="https://mywebsite.com" itemprop="url" title="'My Website'" rel="home" id="logo"><img src="/logo.png" alt="My Webs... | The problem you have is caused by the combination of `canonical` *and* `hreflang`.
Your setup
----------
Given your example: for the URL `https://example.com/au/publications?count=50&page=4` you specify the following:
```
<link rel="canonical" href="https://example.com/au/publications">
<link rel="alternate" hreflan... |
110,579 | <p>Hi I need some help with configuring our IIS (8.0) to allow images to be delivered from the image folder and all its subfolders.</p>
<p>Our web.config is located in the root. We then serve most files from the dist folder. Images are located in ./dist/img/* . There are several image folder.</p>
<p>This is our confi... | [
{
"answer_id": 111655,
"author": "Lena Weber",
"author_id": 79980,
"author_profile": "https://webmasters.stackexchange.com/users/79980",
"pm_score": 1,
"selected": false,
"text": "<p>Items I would recommend verifying:</p>\n\n<ul>\n<li>Check your permissions (user and group) on both your ... | 2017/11/07 | [
"https://webmasters.stackexchange.com/questions/110579",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83304/"
] | Hi I need some help with configuring our IIS (8.0) to allow images to be delivered from the image folder and all its subfolders.
Our web.config is located in the root. We then serve most files from the dist folder. Images are located in ./dist/img/\* . There are several image folder.
This is our configuration I think... | The fastest solution with less headache is to just add the file extension you need but gives 404 to the ***mime types*** as bellow:
1. select website from IIS Manager
[](https://i.stack.imgur.com/IDgeN.png)
2. add file extension to Mime Types
[![enter... |
110,607 | <p>I want to create a mobile version of an existing desktop page. I made copy of my pages and used this code for detecting mobile device :</p>
<pre><code> public void Page_Load(Object sender, EventArgs e)
{
if (Request.Browser["IsMobileDevice"] == "true" )
{
Response.Redirect(@"~/Content/PageXmobile.... | [
{
"answer_id": 110612,
"author": "Luke Rehmann",
"author_id": 43518,
"author_profile": "https://webmasters.stackexchange.com/users/43518",
"pm_score": 1,
"selected": false,
"text": "<p>Be sure to use canonical meta tags or HTTP headers. </p>\n\n<p>Add the following meta tag within both p... | 2017/11/08 | [
"https://webmasters.stackexchange.com/questions/110607",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83350/"
] | I want to create a mobile version of an existing desktop page. I made copy of my pages and used this code for detecting mobile device :
```
public void Page_Load(Object sender, EventArgs e)
{
if (Request.Browser["IsMobileDevice"] == "true" )
{
Response.Redirect(@"~/Content/PageXmobile.aspx");
}
... | Be sure to use canonical meta tags or HTTP headers.
Add the following meta tag within both pages and point it to the desktop or primary version:
```
<link rel="canonical" href="http://www.example.com/article-page" />
```
You can also send the following HTTP Header along with the request as an alternate way of prov... |
110,618 | <p>I know that hyphnes are preferred to underscores, and I could do a 301 redirect. But some say it's not worth the chaos to change them and I pretty much agree. <a href="https://moz.com/community/q/hyphens-vs-underscores" rel="nofollow noreferrer">https://moz.com/community/q/hyphens-vs-underscores</a></p>
<p>So, my u... | [
{
"answer_id": 110620,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<p>It's not a major problem if you have some underscores, Google and Bing have come along way since they f... | 2017/11/09 | [
"https://webmasters.stackexchange.com/questions/110618",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83368/"
] | I know that hyphnes are preferred to underscores, and I could do a 301 redirect. But some say it's not worth the chaos to change them and I pretty much agree. <https://moz.com/community/q/hyphens-vs-underscores>
So, my urls look like this:
```
example.com/post/this-is-post-title_tokenid/
```
For new posts I will ha... | It's not a major problem if you have some underscores, Google and Bing have come along way since they first launched. If you want to be politicly correct then you can rewrite underscores to hyphen by editing the `.htaccess` with something like this:
```
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRu... |
110,693 | <p>In my website I have contents in both English and Dutch. Here are my hreflang links:</p>
<pre><code><link rel="alternate" href="https://www.example.com/en/" hreflang="en-us" />
<link rel="alternate" href="https://www.example.com/nl/" hreflang="nl-us" />
<link rel="alternate" href="https://www... | [
{
"answer_id": 110699,
"author": "Milica Ristic SEO",
"author_id": 83482,
"author_profile": "https://webmasters.stackexchange.com/users/83482",
"pm_score": 1,
"selected": false,
"text": "<p><strong>Hraflangs</strong> are only there to indicate Search Engines that there is alternative lan... | 2017/11/13 | [
"https://webmasters.stackexchange.com/questions/110693",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83471/"
] | In my website I have contents in both English and Dutch. Here are my hreflang links:
```
<link rel="alternate" href="https://www.example.com/en/" hreflang="en-us" />
<link rel="alternate" href="https://www.example.com/nl/" hreflang="nl-us" />
<link rel="alternate" href="https://www.example.com/nl/" hreflang="e... | **Hraflangs** are only there to indicate Search Engines that there is alternative language version of that particular page.
In this way, you are suggesting Search Engines to show pages on SERP based on language of users browser.
On the other hand, it seems like you are having redirect issues (**.nl >>> .com instead ... |
110,736 | <p>I want to integrate Facebook comments to my blog.
According to my research, the page is treated as an object. So all the comments are tied to this object. This object itself is the page URL.
Now I have following questions.</p>
<ol>
<li><p>If my page address is </p>
<pre><code>www.example.com/questions/1
</code></p... | [
{
"answer_id": 111780,
"author": "Vimala Ellappan",
"author_id": 72224,
"author_profile": "https://webmasters.stackexchange.com/users/72224",
"pm_score": 0,
"selected": false,
"text": "<p>Use facebook comment plugin which automatically update the comments in the fb to your blog</p>\n"
... | 2017/11/15 | [
"https://webmasters.stackexchange.com/questions/110736",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83540/"
] | I want to integrate Facebook comments to my blog.
According to my research, the page is treated as an object. So all the comments are tied to this object. This object itself is the page URL.
Now I have following questions.
1. If my page address is
```
www.example.com/questions/1
```
then I change my domain to
``... | I think that you will lose all of your social activities if you change your domain or switch from HTTP to HTTPS. So, only point 3 above will not lose your activities count. |
110,824 | <p>I plan to have 2 separate domain names pointing to the same Apache installation with WordPress multi-site. </p>
<p>I can set virtual hosts correctly for each domain, no problems. I can have both domains point to the same host, no worries.</p>
<p>Currently I have a redirect for all traffic hitting the web server IP... | [
{
"answer_id": 110826,
"author": "Mike",
"author_id": 83657,
"author_profile": "https://webmasters.stackexchange.com/users/83657",
"pm_score": 4,
"selected": true,
"text": "<p>The answer is in the comment:</p>\n\n<p>Hosting companies that offer shared accounts typically have a number of ... | 2017/11/19 | [
"https://webmasters.stackexchange.com/questions/110824",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83657/"
] | I plan to have 2 separate domain names pointing to the same Apache installation with WordPress multi-site.
I can set virtual hosts correctly for each domain, no problems. I can have both domains point to the same host, no worries.
Currently I have a redirect for all traffic hitting the web server IP address to my in... | The answer is in the comment:
Hosting companies that offer shared accounts typically have a number of sites hosted all on the same IP address using virtual hosts as you've done.. *They point the IP address either to a default server page, default site, or an error page. In either case, that does not affect any other s... |
110,845 | <p>One of our Korean clients (who would like to remain unamed) has a problem with their section of their website (subfolder). They are part of an international organization. Let's call them "Foobar" for our purposes.</p>
<h2>The setup</h2>
<p><code>www.foobar.com</code> (redirects to country site ie. <code>www.foobar... | [
{
"answer_id": 110950,
"author": "nikant25",
"author_id": 29419,
"author_profile": "https://webmasters.stackexchange.com/users/29419",
"pm_score": 2,
"selected": false,
"text": "<p>It is quite difficult to determine the cause without examining the source code. </p>\n\n<ul>\n<li><p>I assu... | 2017/11/20 | [
"https://webmasters.stackexchange.com/questions/110845",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/59798/"
] | One of our Korean clients (who would like to remain unamed) has a problem with their section of their website (subfolder). They are part of an international organization. Let's call them "Foobar" for our purposes.
The setup
---------
`www.foobar.com` (redirects to country site ie. `www.foobar.com/usa/` if IP is detec... | We checked today on November 29th and the title in the SERP no longer has the `- Foobar USA` appended to the end. It is now just `Foobar Korea` (not `Foobar Korea - Foobar USA`).
### Here is what we did
* October 27th (Day 0) - Added the following **structured data**:
```
<script type="application/ld+json">
{
"@cont... |
110,852 | <p>Google is indexing ajax pages with hastags since 2015:
<a href="https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html" rel="nofollow noreferrer">https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html</a></p>
<p>However, is there a possibility to <em>exclude... | [
{
"answer_id": 110886,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 1,
"selected": false,
"text": "<p>The best thing you can do is setting the canonical meta tag for all pages with filtered views (sort by, a... | 2017/11/20 | [
"https://webmasters.stackexchange.com/questions/110852",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83691/"
] | Google is indexing ajax pages with hastags since 2015:
<https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html>
However, is there a possibility to *exclude* specific URLs with a specific hash tag (because of duplicate content, i.e. sorting parameters)?
---
Example:
* **example.com/#!exp... | The best thing you can do is setting the canonical meta tag for all pages with filtered views (sort by, ascendant, descendant, price range, etc), to let bots know which is the original page and which one should be indexed.
So when URL is:
```
example.com/#!explore/world:sortby=date
```
Canonical meta tag should be ... |
110,874 | <p>I have the following 4 URLs.
Are all these the same URL or different URLs from Google's SEO perspective?
(Having a different query string makes it another URL?)</p>
<ul>
<li><code>https://www.example.com/buy-web-products?task=domaincheck&Itemid=435</code></li>
<li><code>https://www.example.com/buy-web-products... | [
{
"answer_id": 110875,
"author": "DocRoot",
"author_id": 52912,
"author_profile": "https://webmasters.stackexchange.com/users/52912",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, those are all different URLs and are therefore different from Google's SEO perspective.</p>\n\n<p>Howeve... | 2017/11/21 | [
"https://webmasters.stackexchange.com/questions/110874",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/49436/"
] | I have the following 4 URLs.
Are all these the same URL or different URLs from Google's SEO perspective?
(Having a different query string makes it another URL?)
* `https://www.example.com/buy-web-products?task=domaincheck&Itemid=435`
* `https://www.example.com/buy-web-products`
* `https://www.example.com/buy-web-prod... | Yes, those are all different URLs and are therefore different from Google's SEO perspective.
However, if these URLs return the same content (perhaps just displayed/sorted differently) then you need to canonicalise the URL by setting a `rel="canonical"` `link` element in the `head` section of the relevant HTML document... |
110,907 | <p>I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain to the new domain in a way that will maintain the search engine rankings of the old site if at all possible. Once the new site is ready, my plan is to have the old domain name moved t... | [
{
"answer_id": 110919,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 3,
"selected": true,
"text": "<p>1) By applying 301 redirects you will basically tell search engines that you have moved that page or group... | 2017/11/22 | [
"https://webmasters.stackexchange.com/questions/110907",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83760/"
] | I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain to the new domain in a way that will maintain the search engine rankings of the old site if at all possible. Once the new site is ready, my plan is to have the old domain name moved to a... | 1) By applying 301 redirects you will basically tell search engines that you have moved that page or group of pages to another location permanently. No problems here, all good.
Google has declared several times that 301 won’t have an impact in transferring the ranking power from those links pointing to your old URLs. ... |
110,932 | <p>I'm trying to do a simple invisible redirection with <code>.htaccess</code> which almost work. I'd like my main domain name <code>example.com</code> to access the content of the folder <code>example.com/V8/</code> but keeping only the domain name in the URL.</p>
<p>A weird thing happens when I use the following cod... | [
{
"answer_id": 110919,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 3,
"selected": true,
"text": "<p>1) By applying 301 redirects you will basically tell search engines that you have moved that page or group... | 2017/11/23 | [
"https://webmasters.stackexchange.com/questions/110932",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83800/"
] | I'm trying to do a simple invisible redirection with `.htaccess` which almost work. I'd like my main domain name `example.com` to access the content of the folder `example.com/V8/` but keeping only the domain name in the URL.
A weird thing happens when I use the following code:
```
DirectoryIndex index.php
Options +F... | 1) By applying 301 redirects you will basically tell search engines that you have moved that page or group of pages to another location permanently. No problems here, all good.
Google has declared several times that 301 won’t have an impact in transferring the ranking power from those links pointing to your old URLs. ... |
111,067 | <p>This is an updated version of <a href="https://webmasters.stackexchange.com/questions/58968/2-x-domains-for-same-site-in-google-make-canonical-or-not">2 x domains for same site in Google make canonical or not</a> and I am posting it again as A) there is a <strong>new SSL aspect</strong> to the question and B) it's n... | [
{
"answer_id": 111073,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": 0,
"selected": false,
"text": "<blockquote>\n <p>Should I redirect, using a 301 in htaccess</p>\n</blockquote>\n\n<p>Yes</p>\n\n<blockquo... | 2017/11/29 | [
"https://webmasters.stackexchange.com/questions/111067",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36619/"
] | This is an updated version of [2 x domains for same site in Google make canonical or not](https://webmasters.stackexchange.com/questions/58968/2-x-domains-for-same-site-in-google-make-canonical-or-not) and I am posting it again as A) there is a **new SSL aspect** to the question and B) it's nearly 4 years old and thing... | Multiple changes at the same time can mess up things sometimes. At the other hand: changing everything to fix everything at once can be the best approach for you as well.
In the end, to my humble opinion, the best situation would be to redirect (301) all properties (non-www, non-ssl, and similar domains) to the prefe... |
111,140 | <p>I have a page full of thumbnails, when clicked it opens the Full size image in new tab.</p>
<p>The problem is that Google is indexing the Thumbnail photos only, and leaves the Large images that it links to.</p>
<p>I need the <strong>alt</strong> attribute text of the Thumbnail to lead to the Original image when se... | [
{
"answer_id": 111144,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": false,
"text": "<p>The issue is that Google only sees one ALT tag therefore the other image is without description and wil... | 2017/12/02 | [
"https://webmasters.stackexchange.com/questions/111140",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80705/"
] | I have a page full of thumbnails, when clicked it opens the Full size image in new tab.
The problem is that Google is indexing the Thumbnail photos only, and leaves the Large images that it links to.
I need the **alt** attribute text of the Thumbnail to lead to the Original image when searched in Google Images.
My c... | The issue is that Google only sees one ALT tag therefore the other image is without description and will not rank in image search results.
*If using a lightbox then preferably you should code or use one that supports [HTML5 data-](http://html5doctor.com/html5-custom-data-attributes/)* e.g:\*
```
<div class="thumb">
... |
111,187 | <p>I'm working on a affiliate site that has a bunch of products on it. User clicks the product, and goes to the site the product is located on.</p>
<p>Here's my dilemma. All products on my site are each under a different WordPress post. I have about 1700 products.</p>
<p>When Google indexed "some" of my site so far, ... | [
{
"answer_id": 111198,
"author": "Adriana Slattery",
"author_id": 84234,
"author_profile": "https://webmasters.stackexchange.com/users/84234",
"pm_score": 2,
"selected": false,
"text": "<p>I think it is quite necessary to have individual pages for each product to have a successful e comm... | 2017/12/04 | [
"https://webmasters.stackexchange.com/questions/111187",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/60910/"
] | I'm working on a affiliate site that has a bunch of products on it. User clicks the product, and goes to the site the product is located on.
Here's my dilemma. All products on my site are each under a different WordPress post. I have about 1700 products.
When Google indexed "some" of my site so far, just submitted, I... | Redirecting to the home page is an error to Google. Google won't increase the value of your home page when other pages redirect to it. Google will report those redirects as "soft 404" errors in Google Search Console.
Here is Google's documentation about soft 404 errors: <https://support.google.com/webmasters/answer/18... |
111,205 | <p>I have my Url with multiple parameters:</p>
<pre><code>mydomain.com/?vote.php?ranking=parameter1&lang=parameter2&period=parameter3&provider=parameter4
</code></pre>
<p>but I would like to change my urls to SEO friendly.
My idea was to link my pages to: </p>
<pre><code>mydomain.com/parameter1
</code></... | [
{
"answer_id": 111206,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>I commented that I have many concerns about your plan. It doesn't look great for SEO to me at a... | 2017/12/05 | [
"https://webmasters.stackexchange.com/questions/111205",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84241/"
] | I have my Url with multiple parameters:
```
mydomain.com/?vote.php?ranking=parameter1&lang=parameter2&period=parameter3&provider=parameter4
```
but I would like to change my urls to SEO friendly.
My idea was to link my pages to:
```
mydomain.com/parameter1
```
..and I use this RewriteRule in .htaccess, to valida... | I commented that I have many concerns about your plan. It doesn't look great for SEO to me at all. However, you can do the redirects.
I would take the approach of adding a `redirect=no` parameter to your rewrite rule:
```
RewriteRule .* /vote.php?ranking=%2&lang=%1&period=%3&provider=%4&redirect=no [L,NC]
```
T... |
111,216 | <p>I am writing a tool to help manage Google Adwords campaigns.</p>
<p>I would like to be able to deep-link to the page for an adgroup in the Adwords web UI from my tool.</p>
<p>For example, the following is the URL of the Overview page for an Adgroup in the Adwords web UI:</p>
<pre><code>https://adwords.google.com/aw/... | [
{
"answer_id": 111241,
"author": "user82781",
"author_id": 82781,
"author_profile": "https://webmasters.stackexchange.com/users/82781",
"pm_score": -1,
"selected": false,
"text": "<p><a href=\"https://adwords.google.com/aw/overview?campaignId\" rel=\"nofollow noreferrer\">https://adwords... | 2017/12/05 | [
"https://webmasters.stackexchange.com/questions/111216",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83342/"
] | I am writing a tool to help manage Google Adwords campaigns.
I would like to be able to deep-link to the page for an adgroup in the Adwords web UI from my tool.
For example, the following is the URL of the Overview page for an Adgroup in the Adwords web UI:
```
https://adwords.google.com/aw/overview?campaignId=123&a... | You can debug the ajax request when you search for a client in your mcc (post call to <https://adwords.google.com/aw/_/rpc/ClientCustomerService/List?authuser=0&rpcTrackingId=ClientCustomerService.List%3A27>)
It is possible to search for account IDs.You get an answer with the ocid. Maybe this is helps you. |
111,238 | <p>I'm having problem with robots.txt.
I put the robots.txt file in the website main directory (and also in <code>/var/www/html</code> - to make it work on all the server) but robots still keep crawling my websites.</p>
<p>this is my robots.txt: </p>
<pre><code>User-agent: YandexBot
Disallow: /
User-agent: SemrushBot... | [
{
"answer_id": 111254,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>After you create your robots.txt file it will take a day or more for the crawlers that honor it ... | 2017/12/06 | [
"https://webmasters.stackexchange.com/questions/111238",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84281/"
] | I'm having problem with robots.txt.
I put the robots.txt file in the website main directory (and also in `/var/www/html` - to make it work on all the server) but robots still keep crawling my websites.
this is my robots.txt:
```
User-agent: YandexBot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: AhrefsB... | Note that your robots.txt is invalid (but that doesn’t necessarily mean that this is the reason for the issue you are having; bots might ignore such errors).
If a bot parses your robots.txt file strictly according to the robots.txt spec, this bot would only see one record, and this record would only apply to bots with... |
111,366 | <p>I've always used <strong>name.dev</strong> for local development, but since <a href="https://chromium-review.googlesource.com/c/chromium/src/+/669923/2/net/http/transport_security_state_static.json" rel="nofollow noreferrer">Google Chrome 63 update</a>, out December 2017, domains with <strong>.dev</strong> are in th... | [
{
"answer_id": 111372,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 2,
"selected": false,
"text": "<p>Yes. Depending.</p>\n\n<h2>Client Side:</h2>\n\n<p>Most OSs allow for the editing of the hosts or hosts.tx... | 2017/12/12 | [
"https://webmasters.stackexchange.com/questions/111366",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/52120/"
] | I've always used **name.dev** for local development, but since [Google Chrome 63 update](https://chromium-review.googlesource.com/c/chromium/src/+/669923/2/net/http/transport_security_state_static.json), out December 2017, domains with **.dev** are in the [preloaded HSTS list](https://ma.ttias.be/chrome-force-dev-domai... | Yes. Depending.
Client Side:
------------
Most OSs allow for the editing of the hosts or hosts.txt file to associate a network name or domain name with an IP address. This is a client side option. You would do this on your desktop computer so that it knows how to address the request packet. Here is more detailed info... |
111,371 | <p>If a redirect happens with the following code:</p>
<pre><code><?php
$delay = 5; //seconds
sleep($delay);
header('HTTP/1.1 301 Moved Permanently');
header("Location: http://www.example.com");
?>
</code></pre>
<p>is the link juice flow impacted?</p>
<p><strong>Update:</strong> </p>
<p>The goal behind th... | [
{
"answer_id": 111374,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 1,
"selected": false,
"text": "<p>Although John Muller <a href=\"https://searchengineland.com/google-no-pagerank-dilution-using-301-302-30x... | 2017/12/12 | [
"https://webmasters.stackexchange.com/questions/111371",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/43910/"
] | If a redirect happens with the following code:
```
<?php
$delay = 5; //seconds
sleep($delay);
header('HTTP/1.1 301 Moved Permanently');
header("Location: http://www.example.com");
?>
```
is the link juice flow impacted?
**Update:**
The goal behind this is: a site will be moved to another domain. The time del... | Although John Muller [has confirmed](https://searchengineland.com/google-no-pagerank-dilution-using-301-302-30x-redirects-anymore-254608) that no PageRank(RIP) is lost, Moz has claimed that there is some studies that confirmed the contrary. Either way, in my opinion, it is safer to assume that some “link juice” is lost... |
111,406 | <p>I have <strong>many</strong> sites with this old code which is intended to direct IE6 users to get a newer browser or to get Google Chrome Frame.</p>
<pre class="lang-html prettyprint-override"><code><!--[if lt IE 7]>
You are using an outdated browser. Please
<a href="http://browsehappy.com... | [
{
"answer_id": 111374,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 1,
"selected": false,
"text": "<p>Although John Muller <a href=\"https://searchengineland.com/google-no-pagerank-dilution-using-301-302-30x... | 2017/12/14 | [
"https://webmasters.stackexchange.com/questions/111406",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/195/"
] | I have **many** sites with this old code which is intended to direct IE6 users to get a newer browser or to get Google Chrome Frame.
```html
<!--[if lt IE 7]>
You are using an outdated browser. Please
<a href="http://browsehappy.com/">upgrade your browser</a>
or
<a href="http://www.goog... | Although John Muller [has confirmed](https://searchengineland.com/google-no-pagerank-dilution-using-301-302-30x-redirects-anymore-254608) that no PageRank(RIP) is lost, Moz has claimed that there is some studies that confirmed the contrary. Either way, in my opinion, it is safer to assume that some “link juice” is lost... |
111,416 | <p>I am optimising a website based on PageSpeed Insights guidelines. And one of the points is to Leverage Browser Caching.</p>
<p><a href="https://i.stack.imgur.com/1Le3I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Le3I.png" alt="Leverage browser caching notice in PageSpeed Insights" /></a></p>
... | [
{
"answer_id": 111418,
"author": "Tim Fountain",
"author_id": 1426,
"author_profile": "https://webmasters.stackexchange.com/users/1426",
"pm_score": 2,
"selected": false,
"text": "<p>Your htaccess rules will only affect assets served from <em>your server</em>. There is nothing you can do... | 2017/12/15 | [
"https://webmasters.stackexchange.com/questions/111416",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75237/"
] | I am optimising a website based on PageSpeed Insights guidelines. And one of the points is to Leverage Browser Caching.
[](https://i.stack.imgur.com/1Le3I.png)
And in this case - for the third party resources - like Google An... | As @TimFountain says, you have "no control" over resources served from a third party. The request goes to the third party server, not *your* server - so any code you place on *your* server is simply never processed when the third party resource is requested.
Google Analytics and Tag Manager are served from Google's se... |
111,443 | <p>I’m trying to choose schema.org format that best suits multi-day travel event, like tour. </p>
<p>It has the following attributes: </p>
<ul>
<li>Start time, e.g. May 29, 2018</li>
<li>End time, e.g. June 7, 2018</li>
<li>Duration, e.g. 7 days</li>
<li>Start place (location that can be a different city / country)</... | [
{
"answer_id": 111444,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 1,
"selected": false,
"text": "<p><em>Look, up in the sky! It's a bird! It's a plane! It's an event!</em></p>\n\n<p>Generally a product i... | 2017/12/17 | [
"https://webmasters.stackexchange.com/questions/111443",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84563/"
] | I’m trying to choose schema.org format that best suits multi-day travel event, like tour.
It has the following attributes:
* Start time, e.g. May 29, 2018
* End time, e.g. June 7, 2018
* Duration, e.g. 7 days
* Start place (location that can be a different city / country)
* End place (location)
* Price, e.g. $99
* ... | Apply markup for type **[TravelAction](http://schema.org/TravelAction)**. For example:
```
<main vocab=https://schema.org/ typeof=TravelAction>
<h1 property=name>Your travel tour to Z</h1>
<p property=description>zzzzzz</p>
<p><time property=startTime datetime=2018-05-29></time></p>
<p><time property=endTime datetime=... |
111,459 | <p>I have a domain name that is expiring in a few weeks. I want to delete the domain name right now, but the Registrar company will only let me delete it by letting it expire. I have purchased a WHOIS protection that hides my contact information on the domain name. </p>
<p>If I let my domain name (along with the WHOIS... | [
{
"answer_id": 111444,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 1,
"selected": false,
"text": "<p><em>Look, up in the sky! It's a bird! It's a plane! It's an event!</em></p>\n\n<p>Generally a product i... | 2017/12/18 | [
"https://webmasters.stackexchange.com/questions/111459",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84579/"
] | I have a domain name that is expiring in a few weeks. I want to delete the domain name right now, but the Registrar company will only let me delete it by letting it expire. I have purchased a WHOIS protection that hides my contact information on the domain name.
If I let my domain name (along with the WHOIS protectio... | Apply markup for type **[TravelAction](http://schema.org/TravelAction)**. For example:
```
<main vocab=https://schema.org/ typeof=TravelAction>
<h1 property=name>Your travel tour to Z</h1>
<p property=description>zzzzzz</p>
<p><time property=startTime datetime=2018-05-29></time></p>
<p><time property=endTime datetime=... |
111,465 | <p>We are in the process of publishing FAQ's on our website. For this I am creating the templates and ask myself the following question:</p>
<p>What tag should I use for the questions? I've chosen <code><strong></code> for the moment, but I'm not sure if <code><h3></code> would fit better here.</p>
<pre><... | [
{
"answer_id": 111490,
"author": "Rob",
"author_id": 8466,
"author_profile": "https://webmasters.stackexchange.com/users/8466",
"pm_score": 2,
"selected": false,
"text": "<p>When in doubt, always follow <a href=\"https://html.spec.whatwg.org/dev/\" rel=\"nofollow noreferrer\">the WHATWG ... | 2017/12/18 | [
"https://webmasters.stackexchange.com/questions/111465",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83270/"
] | We are in the process of publishing FAQ's on our website. For this I am creating the templates and ask myself the following question:
What tag should I use for the questions? I've chosen `<strong>` for the moment, but I'm not sure if `<h3>` would fit better here.
```
<div class = "accordion-heading">
<strong>
H... | When in doubt, always follow [the WHATWG web standards](https://html.spec.whatwg.org/dev/) and you will always be correct. Search engines can change. Web standards change rarely or slowly and search engines look to web standards just like their browsers do (which they also author).
`<h3>` is a heading for a section in... |
111,514 | <p>I am currently adding some Schema.org properties on a website and in order to validate my work, I am parsing all pages in Google’s Structured Data Testing Tool. Everything is fine except for one thing, it displays for every page a message saying <strong><em>Unspecified Type</em></strong> even though it mentions <em>... | [
{
"answer_id": 111522,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 2,
"selected": true,
"text": "\n\n<p>Usually a vocabulary has classes/types (like <code>Person</code>) and properties (like <code>name</code>), b... | 2017/12/20 | [
"https://webmasters.stackexchange.com/questions/111514",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74081/"
] | I am currently adding some Schema.org properties on a website and in order to validate my work, I am parsing all pages in Google’s Structured Data Testing Tool. Everything is fine except for one thing, it displays for every page a message saying ***Unspecified Type*** even though it mentions *0 errors* and *0 warnings*... | Usually a vocabulary has classes/types (like `Person`) and properties (like `name`), but OGP only has properties, which is somewhat unusual.
While OGP defines a `type` property, its value is just a string (like "website"), not an actual RDF class.
A consumer specifically expecting the use of the OGP vocabulary will c... |
111,560 | <p>Can <code>hreflang</code> be placed on the <code>body</code> of the HTML? Or has it to be in the <code>head</code>? </p>
<p>I can't find clear information about this.</p>
| [
{
"answer_id": 111564,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": true,
"text": "<p>Google supports:</p>\n\n<ul>\n<li><a href=\"https://www.w3.org/wiki/Html/Elements/link\" rel=\"nofollow ... | 2017/12/22 | [
"https://webmasters.stackexchange.com/questions/111560",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/81057/"
] | Can `hreflang` be placed on the `body` of the HTML? Or has it to be in the `head`?
I can't find clear information about this. | Google supports:
* [Link Hreflang](https://www.w3.org/wiki/Html/Elements/link)
* [HTTP Header Hreflang](https://www.askapache.com/htaccess/#Charset_Language_headers)
* [Sitemap Hreflang](https://support.google.com/webmasters/answer/2620865?hl=en)
Using `<link rel="alternate" href="#" hreflang="en-ie" />` within the `... |
111,602 | <p>I have a website with millions of pages. </p>
<pre>
Page 1: http://example.com/commercial-product-name1
Page 2: http://example.com/commercial-product-name2
page 3: http://example.com/Scientific-name
</pre>
<p>Now </p>
<ol>
<li>Page 1 and 2 are for two different manufacturer but for the same scientific name.</li>... | [
{
"answer_id": 111614,
"author": "p3sn",
"author_id": 84014,
"author_profile": "https://webmasters.stackexchange.com/users/84014",
"pm_score": 2,
"selected": false,
"text": "<p>The change of address tool works only if you verified both domains as owner. It's not a problem if it doesn't w... | 2017/12/24 | [
"https://webmasters.stackexchange.com/questions/111602",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8873/"
] | I have a website with millions of pages.
```
Page 1: http://example.com/commercial-product-name1
Page 2: http://example.com/commercial-product-name2
page 3: http://example.com/Scientific-name
```
Now
1. Page 1 and 2 are for two different manufacturer but for the same scientific name.
2. Page 1 and 2 are more sea... | The change of address tool works only if you verified both domains as owner. It's not a problem if it doesn't work for some reason, there are more important things than the 'change of address tool', which are:
* set up canonicals, alternate hreflangs, titles, descriptions, robots.txt and so on at the new domain
* fetc... |
111,641 | <p>I have changed the URL of some important pages within my website.</p>
<p>In order to maintain backward compatibility and to avoid breaking links which refer to those pagest, the original addresses are still live.
So there are two addresses to exactly same pages.</p>
<p>How should this situation be defined in a sit... | [
{
"answer_id": 111642,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>Rather than keep two URLs live, you should redirect the old URLs to the new URLs. Redirects are... | 2017/12/27 | [
"https://webmasters.stackexchange.com/questions/111641",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78858/"
] | I have changed the URL of some important pages within my website.
In order to maintain backward compatibility and to avoid breaking links which refer to those pagest, the original addresses are still live.
So there are two addresses to exactly same pages.
How should this situation be defined in a sitemap?
```
<urlse... | Having two URLs for same webpage is not a good practice. You must have shared the old URL somewhere on the internet, may be on social media, emails, comments and so on...
So when someone tries to access that URL, that is navigates through that URL they will see a error 404 page which is not a good sign in terms of SEO... |
111,661 | <p>I was recently (for about half year) creating REST API based web pages for my client. Mostly using:</p>
<ul>
<li>node.js, </li>
<li>express.js, </li>
<li>react,</li>
<li>mongodb,</li>
<li>etc.,</li>
</ul>
<p>but suddenly client decided that he don't want REST API based websites any more because all of them are n... | [
{
"answer_id": 111663,
"author": "grg",
"author_id": 43638,
"author_profile": "https://webmasters.stackexchange.com/users/43638",
"pm_score": 0,
"selected": false,
"text": "<p>The backend implementation of a website has no bearing on SEO. Crawlers visit websites like any user. Don't worr... | 2017/12/28 | [
"https://webmasters.stackexchange.com/questions/111661",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84810/"
] | I was recently (for about half year) creating REST API based web pages for my client. Mostly using:
* node.js,
* express.js,
* react,
* mongodb,
* etc.,
but suddenly client decided that he don't want REST API based websites any more because all of them are not so much optimized for web search engines and he cannot fi... | Hmm
Api have nothing to do with SEO .
Api is used to pull data from server and display on website.
Only thing that may have some(minor) impact on SEO , can be a longer site loading time (waiting for api response ) - but not in all cases (depends of how you are loading data from API ( synchronous/asynchronous ) .
Bu... |
111,785 | <pre><code>VPS
RAM: 6GB
SSD Web Space: 150 GB
Bandwidth: 6000 GB
Cores: 8
</code></pre>
<p>We had a really awful experience with our hosting provider recently...We have been with Hostforweb for over 14 years and things were good (most of the time). They migrated everybody to servers in New York recently and there was ... | [
{
"answer_id": 111792,
"author": "jrtapsell",
"author_id": 81795,
"author_profile": "https://webmasters.stackexchange.com/users/81795",
"pm_score": 2,
"selected": false,
"text": "<p>There are multiple ways to do this:</p>\n<h1>1) Hosting it yourself</h1>\n<h2>What would be the cost invol... | 2018/01/05 | [
"https://webmasters.stackexchange.com/questions/111785",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85178/"
] | ```
VPS
RAM: 6GB
SSD Web Space: 150 GB
Bandwidth: 6000 GB
Cores: 8
```
We had a really awful experience with our hosting provider recently...We have been with Hostforweb for over 14 years and things were good (most of the time). They migrated everybody to servers in New York recently and there was an outage because o... | There are multiple ways to do this:
1) Hosting it yourself
======================
What would be the cost involved
-------------------------------
You would need a second server, which would cost about the same as your current server
How would I setup the DNS
-------------------------
You can specify multiple A rec... |
111,797 | <p>Running a LEMP stack on Ubuntu 16.04. Found plenty of great documentation for backing up WordPress:</p>
<ol>
<li><p>Export your database:</p>
<pre class="lang-none prettyprint-override"><code>mysqldump --add-drop-table -h mysql_hostserver -u mysql_username -p mysql_databasename
</code></pre></li>
<li><p>Copy the... | [
{
"answer_id": 111792,
"author": "jrtapsell",
"author_id": 81795,
"author_profile": "https://webmasters.stackexchange.com/users/81795",
"pm_score": 2,
"selected": false,
"text": "<p>There are multiple ways to do this:</p>\n<h1>1) Hosting it yourself</h1>\n<h2>What would be the cost invol... | 2018/01/05 | [
"https://webmasters.stackexchange.com/questions/111797",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85191/"
] | Running a LEMP stack on Ubuntu 16.04. Found plenty of great documentation for backing up WordPress:
1. Export your database:
```none
mysqldump --add-drop-table -h mysql_hostserver -u mysql_username -p mysql_databasename
```
2. Copy the webroot where WordPress is located:
```none
cp -a /var/www/nginx/example.com/. /... | There are multiple ways to do this:
1) Hosting it yourself
======================
What would be the cost involved
-------------------------------
You would need a second server, which would cost about the same as your current server
How would I setup the DNS
-------------------------
You can specify multiple A rec... |
111,839 | <p>If I use the anchor tag as:</p>
<pre><code><a href="/page1" onclick="return false;">page 1</a>
</code></pre>
<ul>
<li>Will the Search engines see it?</li>
<li>Will pass the link juice to it? </li>
<li>Is it OK for SEO?</li>
</ul>
<p>I'm using angular4 to build my site, if a use an anchor tag the href ... | [
{
"answer_id": 111868,
"author": "Raul Reyes",
"author_id": 50569,
"author_profile": "https://webmasters.stackexchange.com/users/50569",
"pm_score": 2,
"selected": false,
"text": "<p>You need to reconsider the way you are handling the clicks events. For the most parts users won’t be both... | 2018/01/08 | [
"https://webmasters.stackexchange.com/questions/111839",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85280/"
] | If I use the anchor tag as:
```
<a href="/page1" onclick="return false;">page 1</a>
```
* Will the Search engines see it?
* Will pass the link juice to it?
* Is it OK for SEO?
I'm using angular4 to build my site, if a use an anchor tag the href reloads the app or page, if I use the routerLink attribute as angular4,... | You need to reconsider the way you are handling the clicks events. For the most parts users won’t be bothered if they need to reload the page.
Another observation would be that inline event handlers are obsolete. The methods are not compatible with the modern approach of behaviour and structure separation. You should... |
111,842 | <p>I'm putting a logo (comprising of an image and company name) on my website. I'm not sure whether to save the company name text as part of an image file, or to have it as actual text in the html and styled using css.</p>
<p>Obviously if I save it all as an image then I don't have to worry about the user having the r... | [
{
"answer_id": 111845,
"author": "Pete",
"author_id": 49753,
"author_profile": "https://webmasters.stackexchange.com/users/49753",
"pm_score": 4,
"selected": false,
"text": "<p>As the text is part of the logo, I would keep it in the image (saves on trying to match any non-standard fonts ... | 2018/01/08 | [
"https://webmasters.stackexchange.com/questions/111842",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85283/"
] | I'm putting a logo (comprising of an image and company name) on my website. I'm not sure whether to save the company name text as part of an image file, or to have it as actual text in the html and styled using css.
Obviously if I save it all as an image then I don't have to worry about the user having the right fonts... | ***Google likes company alt attribute***
Both Google and Bing understand that a logo will often be repeated throughout in PNG, GIF and JPEG. Simply markup the logo using the alt description to inform search engines that it is LOGO for your business.
*A basic example:*
`<img src="logo.png" alt="Company Name Logo">`
... |
111,866 | <p>We have hashbang urls with extended utf-8 characters. For example: </p>
<pre><code>https://example.com/#!каталог
</code></pre>
<p>Bing bot fetches the html snapshot <a href="https://example.com?_escaped_fragment_=%D0%BA%D0%B0%D1%82%D0%B0%D0%BB%D0%BE%D0%B3" rel="nofollow noreferrer">https://example.com?_escaped_fr... | [
{
"answer_id": 115214,
"author": "iv12345",
"author_id": 89253,
"author_profile": "https://webmasters.stackexchange.com/users/89253",
"pm_score": 0,
"selected": false,
"text": "<p>You probably need to <code>urlencode</code> images <code>src</code> attribute in <code><img></code> ht... | 2018/01/09 | [
"https://webmasters.stackexchange.com/questions/111866",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/83739/"
] | We have hashbang urls with extended utf-8 characters. For example:
```
https://example.com/#!каталог
```
Bing bot fetches the html snapshot [https://example.com?\_escaped\_fragment\_=каталог](https://example.com?_escaped_fragment_=%D0%BA%D0%B0%D1%82%D0%B0%D0%BB%D0%BE%D0%B3) encoded URL as `\xD0\xB0...`. Our server ... | You should encode the image name before giving it to crawl for any bots, i.e. the image name should be as `%2F%D0%B7%D1%83%D1%80%D0%B0%D0%B3.jpg` in your page source code.
All modern browser decode it and for users will show the UTF-8 characters in a human-friendly way.
So, do server-side encoding and encode all these... |
111,877 | <p>My website is mostly in English but my articles regularly contain words and phrases in French.</p>
<p>Here is an example: <a href="https://frenchtogether.com/quand-meme/" rel="nofollow noreferrer">https://frenchtogether.com/quand-meme/</a></p>
<p>Should I use the <code>lang</code> attribute for each of these words... | [
{
"answer_id": 115214,
"author": "iv12345",
"author_id": 89253,
"author_profile": "https://webmasters.stackexchange.com/users/89253",
"pm_score": 0,
"selected": false,
"text": "<p>You probably need to <code>urlencode</code> images <code>src</code> attribute in <code><img></code> ht... | 2018/01/09 | [
"https://webmasters.stackexchange.com/questions/111877",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/84296/"
] | My website is mostly in English but my articles regularly contain words and phrases in French.
Here is an example: <https://frenchtogether.com/quand-meme/>
Should I use the `lang` attribute for each of these words and phrases? I have never done so and I wonder if it could be hurting me in term of SEO. | You should encode the image name before giving it to crawl for any bots, i.e. the image name should be as `%2F%D0%B7%D1%83%D1%80%D0%B0%D0%B3.jpg` in your page source code.
All modern browser decode it and for users will show the UTF-8 characters in a human-friendly way.
So, do server-side encoding and encode all these... |
111,938 | <p>I opened Google Analytics website->Demographics->Overview and got following data of my android app:
<a href="https://i.stack.imgur.com/bgCM5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bgCM5.jpg" alt="enter image description here"></a></p>
<p>There is a line at top right corner</p>
<pre><cod... | [
{
"answer_id": 111943,
"author": "Aiyanna K",
"author_id": 85414,
"author_profile": "https://webmasters.stackexchange.com/users/85414",
"pm_score": 0,
"selected": false,
"text": "<p>It means Google was able to identify the age of the visitor during 71.12% of your site visits</p>\n"
},
... | 2018/01/11 | [
"https://webmasters.stackexchange.com/questions/111938",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I opened Google Analytics website->Demographics->Overview and got following data of my android app:
[](https://i.stack.imgur.com/bgCM5.jpg)
There is a line at top right corner
```
71.12% of Total sessions
```
What does above line means to the data?... | It's sampling. Google Analytics analyzes a sample set of data to extrapolate an estimate of 100% for certain non-default reports. This is common with most analytics tools as it saves huge amounts of space / CPU.
The thresholds for Google Analytics are thus:
*Default reports are not subject to sampling.*
*Ad-hoc que... |
111,984 | <p>I hope you can assist me with this! I've recently changed the preferred domain for my site <code>https://example.com</code>. Unfortunately, after doing so, it appears that views/visits are no longer being recorded by Google Analytics. I've edited the URL in GA's Admin settings to indicate that it is now <code>https:... | [
{
"answer_id": 112001,
"author": "Evgeniy",
"author_id": 43910,
"author_profile": "https://webmasters.stackexchange.com/users/43910",
"pm_score": 0,
"selected": false,
"text": "<p>That should not happen. When you use a redirect like that it doesn't trigger any JavaScript, not any site lo... | 2018/01/13 | [
"https://webmasters.stackexchange.com/questions/111984",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85493/"
] | I hope you can assist me with this! I've recently changed the preferred domain for my site `https://example.com`. Unfortunately, after doing so, it appears that views/visits are no longer being recorded by Google Analytics. I've edited the URL in GA's Admin settings to indicate that it is now `https://example.com` - pe... | Yes, you do need to add the 's'.
Specifically to this line:
`RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]`
You can't redirect all visitors to HTTPS when you explicitly redirect them to HTTP!
At a minimum, you need `RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]`
I suggest you look over lines 262 to 413 o... |
111,990 | <p>When coding pages by hand, I sometimes want to skip having to write all those <code><p></code> tags and use:</p>
<pre><code><pre>
<h2>Heading written as usual is no problem within a pre</h2>
<i>First paragraph</i> is here.
This is the second paragraph, but since I use the... | [
{
"answer_id": 112001,
"author": "Evgeniy",
"author_id": 43910,
"author_profile": "https://webmasters.stackexchange.com/users/43910",
"pm_score": 0,
"selected": false,
"text": "<p>That should not happen. When you use a redirect like that it doesn't trigger any JavaScript, not any site lo... | 2018/01/14 | [
"https://webmasters.stackexchange.com/questions/111990",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26764/"
] | When coding pages by hand, I sometimes want to skip having to write all those `<p>` tags and use:
```
<pre>
<h2>Heading written as usual is no problem within a pre</h2>
<i>First paragraph</i> is here.
This is the second paragraph, but since I use the pre-tag I don't need to use the p tag to get a space in betw... | Yes, you do need to add the 's'.
Specifically to this line:
`RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]`
You can't redirect all visitors to HTTPS when you explicitly redirect them to HTTP!
At a minimum, you need `RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]`
I suggest you look over lines 262 to 413 o... |
112,013 | <p>I've implemented my website to be like</p>
<pre><code>domain/objects?id=xxx
</code></pre>
<p>like</p>
<pre><code>domain/objects?id=bikeId
</code></pre>
<p>What I am worrying is the way that search engines will react to it.</p>
<p>I've already implemented the meta tags so each item will have it's own name printe... | [
{
"answer_id": 112030,
"author": "chester",
"author_id": 85560,
"author_profile": "https://webmasters.stackexchange.com/users/85560",
"pm_score": 0,
"selected": false,
"text": "<p>If they use the link with the utm parameters, then you track whatever they did through the information in th... | 2018/01/15 | [
"https://webmasters.stackexchange.com/questions/112013",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/85533/"
] | I've implemented my website to be like
```
domain/objects?id=xxx
```
like
```
domain/objects?id=bikeId
```
What I am worrying is the way that search engines will react to it.
I've already implemented the meta tags so each item will have it's own name printed into the **title** and **meta tags** but will they sho... | Use Event tracking and UTM codes. Inject event tracking on all link clicks, and even AJAX clicks if you need. UTM code will help when a user bookmarks the page (so long as they don't remove the code from the url.)
If the user needs to log in to browse the site, your job will be a lot easier. Use the login id or a un... |