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
95,543
<p>I am an HTML beginner and I'm making a website using HTML Editey. I know how to do things like make bold text or make an underline under the letter or number, but I don't know how to make a clickable link.</p> <p>I want to make a clickable link or some text which is you click on it, it will make you go to another w...
[ { "answer_id": 95546, "author": "C. D. Miksche", "author_id": 66264, "author_profile": "https://webmasters.stackexchange.com/users/66264", "pm_score": 1, "selected": false, "text": "<p>Make a .html File with the following content:</p>\n\n<pre><code> &lt;a href=\"http://website.com\"&gt; ...
2016/06/22
[ "https://webmasters.stackexchange.com/questions/95543", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am an HTML beginner and I'm making a website using HTML Editey. I know how to do things like make bold text or make an underline under the letter or number, but I don't know how to make a clickable link. I want to make a clickable link or some text which is you click on it, it will make you go to another website. I ...
Make a .html File with the following content: ``` <a href="http://website.com"> The Text </a> ``` It's simple, isn't it? More information: <http://www.w3schools.com/html/html_links.asp>
95,549
<p><a href="https://www.optimizely.com/" rel="nofollow">Optimizley landing page banner has 2 <code>h1</code> elements</a>: </p> <blockquote> <pre><code>&lt;div class="header-container tooltip-container"&gt; &lt;h1 class="mkt-hero__header optly-header-one"&gt;Hello!&lt;/h1&gt; &lt;h1 class="mkt-hero__header"&gt;Let...
[ { "answer_id": 95551, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 2, "selected": true, "text": "<p>You're right. Two h1 elements in the same section is not a good idea, semantically or structurally, but it's not a H...
2016/06/22
[ "https://webmasters.stackexchange.com/questions/95549", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/63377/" ]
[Optimizley landing page banner has 2 `h1` elements](https://www.optimizely.com/): > > > ``` > <div class="header-container tooltip-container"> > <h1 class="mkt-hero__header optly-header-one">Hello!</h1> > <h1 class="mkt-hero__header">Let&apos;s optimize digital experiences for your customers.</h1> > <span cl...
You're right. Two h1 elements in the same section is not a good idea, semantically or structurally, but it's not a HTML error. It's most likely a copy/paste error on their part but who knows why some people do what they do. Don't always look at any one company and think they write code perfectly in every way, all the...
95,581
<p>I have a client I installed a WordPress site. I went to try to log in and install a new security plugin, and the site is being displayed in an iframe. When I navigate to sub pages, the page URL no longer displays in the URL bar of the browser. I've tried Chrome and Firefox (I'm on a Mac), and none of my other WordPr...
[ { "answer_id": 95584, "author": "Andrew Lott", "author_id": 23812, "author_profile": "https://webmasters.stackexchange.com/users/23812", "pm_score": 1, "selected": false, "text": "<p>Your page code consists entirely of:</p>\n\n<pre><code>&lt;html&gt;\n&lt;head&gt;&lt;title&gt;DOMAIN.COM&...
2016/06/23
[ "https://webmasters.stackexchange.com/questions/95581", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66433/" ]
I have a client I installed a WordPress site. I went to try to log in and install a new security plugin, and the site is being displayed in an iframe. When I navigate to sub pages, the page URL no longer displays in the URL bar of the browser. I've tried Chrome and Firefox (I'm on a Mac), and none of my other WordPress...
Your page code consists entirely of: ``` <html> <head><title>DOMAIN.COM</title><meta name="keywords" content=""</head> <frameset rows="100%", *" border="0" frameborder="0"><frame src="http://domain.com" name="DOMAIN.COM"></frameset> </html> ``` This is loading the non-www version of the site as an iframe within the ...
95,601
<p>I have posted previously about wordpress tags and archives and whether it can lead to duplicate content problems, <em>the overwhelming response was NO google is smart enough to realise the difference.</em></p> <p>However when I do a search <code>site:www.example.com</code> I get results like this:</p> <pre><code>E...
[ { "answer_id": 95604, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 2, "selected": false, "text": "<p>This isn't a duplicate content <em>problem</em> per se. You are not being penalized, right?</p>\n\n<p>What's ha...
2016/06/24
[ "https://webmasters.stackexchange.com/questions/95601", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/54171/" ]
I have posted previously about wordpress tags and archives and whether it can lead to duplicate content problems, *the overwhelming response was NO google is smart enough to realise the difference.* However when I do a search `site:www.example.com` I get results like this: ``` Example Archive - Website Name url examp...
This isn't a duplicate content *problem* per se. You are not being penalized, right? What's happening is the algorithm is functioning as expected. Two different pages are ranking for some search, but because these are archives you aren't being assessed the duplicate content penalty. I'm willing to bet no one said Goog...
95,617
<p>There are over 40k pages of duplicate content that was flagged during an audit. It seems that most are due to the parameters in the URLs. The format is below:</p> <pre><code>http://example.org/site/UserLogin http://example.org/site/UserLogin?NEXTURL=http://www.domain.org/folder1/page1 http://example.org/site/User...
[ { "answer_id": 95620, "author": "Switchfire", "author_id": 28990, "author_profile": "https://webmasters.stackexchange.com/users/28990", "pm_score": 2, "selected": false, "text": "<p>I would canoncilise the original page without the parameters to itself, which explains to google this is t...
2016/06/24
[ "https://webmasters.stackexchange.com/questions/95617", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38954/" ]
There are over 40k pages of duplicate content that was flagged during an audit. It seems that most are due to the parameters in the URLs. The format is below: ``` http://example.org/site/UserLogin http://example.org/site/UserLogin?NEXTURL=http://www.domain.org/folder1/page1 http://example.org/site/UserLogin?NEXTURL=...
I would canoncilise the original page without the parameters to itself, which explains to google this is the original and you can ignore the rest. ``` <link rel="canonical" href="http://domain.org/site/UserLogin" /> ``` We had to do this to a client website recently, took a few days to kick in but got rid of the dup...
95,675
<p>I'm aware that HTTP/2 is using only <code>https</code> protocol.</p> <p>My existing implementation on the website are all HTTP/1.1 with <code>http</code> protocol with thousands of existing urls.</p> <p>To add HTTP/2 support, without changing the html source code on a massive scale, I plan to redirect all <code>ht...
[ { "answer_id": 95678, "author": "symcbean", "author_id": 774, "author_profile": "https://webmasters.stackexchange.com/users/774", "pm_score": 0, "selected": false, "text": "<p>If you have to ask the question then you should not be using a 301 redirect. There is no way out once you add a ...
2016/06/26
[ "https://webmasters.stackexchange.com/questions/95675", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66503/" ]
I'm aware that HTTP/2 is using only `https` protocol. My existing implementation on the website are all HTTP/1.1 with `http` protocol with thousands of existing urls. To add HTTP/2 support, without changing the html source code on a massive scale, I plan to redirect all `http` requests to `https` on the nginx server ...
1) No because it's the same content and only the protocol has changed. You may notice a temporary dip as Google discovers the change and updates its indexes but it will go back to what it was before. 2) Not with a redirect. Service resources will increase somewhat because you would be encrypting your data. Otherwise, ...
95,734
<p>My website uses both <code>www.example.com</code> and <code>example.com</code>.</p> <p>I recently tested for duplicate titles on the website and it seems that any title on a page at <code>www.example.com</code> and <code>example.com</code> is perceived as duplicate by search engines.</p> <p>Does anyone know how I ...
[ { "answer_id": 95744, "author": "Nadeem Haddadeen", "author_id": 61322, "author_profile": "https://webmasters.stackexchange.com/users/61322", "pm_score": 2, "selected": false, "text": "<p>You have many ways to make it, if you want the users to access both versions with WWW and without, y...
2016/06/28
[ "https://webmasters.stackexchange.com/questions/95734", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66552/" ]
My website uses both `www.example.com` and `example.com`. I recently tested for duplicate titles on the website and it seems that any title on a page at `www.example.com` and `example.com` is perceived as duplicate by search engines. Does anyone know how I can use both the `www.example.com` and `example.com` without ...
Regarding the comment on your question, you only have one site which is served to your users with the two versions of the site (with `www` and without `www`). Therefore, you need to 301 redirect one version to the others (as you wish). For this, you can use a *.htaccess* file if you use Apache as a web server (at the ...
95,750
<p>I know this might not be the correct section or the correct topic but I'm totally out of other options. I've hosted a website for a client for the last year now. I paid the company that hosts my domain (EthernetHost.com) about a week and a half ago(June 18th) right before my domain was supposed to expire(June 24th)....
[ { "answer_id": 95744, "author": "Nadeem Haddadeen", "author_id": 61322, "author_profile": "https://webmasters.stackexchange.com/users/61322", "pm_score": 2, "selected": false, "text": "<p>You have many ways to make it, if you want the users to access both versions with WWW and without, y...
2016/06/28
[ "https://webmasters.stackexchange.com/questions/95750", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66566/" ]
I know this might not be the correct section or the correct topic but I'm totally out of other options. I've hosted a website for a client for the last year now. I paid the company that hosts my domain (EthernetHost.com) about a week and a half ago(June 18th) right before my domain was supposed to expire(June 24th). No...
Regarding the comment on your question, you only have one site which is served to your users with the two versions of the site (with `www` and without `www`). Therefore, you need to 301 redirect one version to the others (as you wish). For this, you can use a *.htaccess* file if you use Apache as a web server (at the ...
95,767
<p>A large number of auto-generated pages from the search of my site has been indexed by Google due to an error.</p> <p>I'm trying to clean this in order to be sure that only the most high quality content is on Google index.</p> <p>So I have added a line to disallow this directory in robots.txt so googlebot doesn't w...
[ { "answer_id": 95770, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 2, "selected": false, "text": "<p>Google won't crawl the disallowed path specified in <code>robots.txt</code> <strong>but</strong> you can't c...
2016/06/28
[ "https://webmasters.stackexchange.com/questions/95767", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/53722/" ]
A large number of auto-generated pages from the search of my site has been indexed by Google due to an error. I'm trying to clean this in order to be sure that only the most high quality content is on Google index. So I have added a line to disallow this directory in robots.txt so googlebot doesn't waste time crawlin...
What I would suggest is to create a brand new set of URLs for search result pages and then for anyone requesting the old URLs, produce an error page with an HTTP 410 status code. Also, make your search pages only accessible via the POST request method. Google won't crawl pages that are requested via POST if it is req...
95,791
<p>I've seen this question: <a href="https://webmasters.stackexchange.com/questions/61761/lazy-loading-images-and-effects-on-seo">Lazy loading images and effects on SEO</a> </p> <p>My question is very similar, except that I am using data-uri images like so:</p> <pre><code>&lt;img width="1100" height="340" class="img-...
[ { "answer_id": 95769, "author": "dasickle", "author_id": 38954, "author_profile": "https://webmasters.stackexchange.com/users/38954", "pm_score": 0, "selected": false, "text": "<p>I suggest you add meta title and meta description for every page. It will give you more control over what is...
2016/06/29
[ "https://webmasters.stackexchange.com/questions/95791", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66600/" ]
I've seen this question: [Lazy loading images and effects on SEO](https://webmasters.stackexchange.com/questions/61761/lazy-loading-images-and-effects-on-seo) My question is very similar, except that I am using data-uri images like so: ``` <img width="1100" height="340" class="img-responsive lazy lazy-hidden" s...
If your site shows Google what is basically advertising content that is unrelated to the actual site, you've been hacked. If you have enough knowledge of WordPress and also server security to detect and clean the hack, go for it. If you are at all uncertain about how to do this, hire a professional security service to ...
95,792
<p>I'd like to display the published date of the posting that I made in the Google search results?</p> <p>Example:</p> <p><a href="https://i.stack.imgur.com/DG0tx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DG0tx.png" alt="published date"></a></p> <p>I optimized the structured data of my blog ...
[ { "answer_id": 95798, "author": "veritaS", "author_id": 49030, "author_profile": "https://webmasters.stackexchange.com/users/49030", "pm_score": 1, "selected": false, "text": "<p>You have to use the Rich snipped property \"datePublished\" in the HTML template of your articles</p>\n\n<p>...
2016/06/29
[ "https://webmasters.stackexchange.com/questions/95792", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66601/" ]
I'd like to display the published date of the posting that I made in the Google search results? Example: [![published date](https://i.stack.imgur.com/DG0tx.png)](https://i.stack.imgur.com/DG0tx.png) I optimized the structured data of my blog last month, the `datePublished` and `dateModified` seems no error, here is ...
You have to use the Rich snipped property "datePublished" in the HTML template of your articles *Example:* ``` <meta itemprop="datePublished" content="2015-02-05T08:00:00+08:00"/> <meta itemprop="dateModified" content="2015-02-05T09:20:00+08:00"/> ``` Please find the folling Documentation <https://developers.goo...
95,804
<p>My website uses a querystring parameter to track where on the site a user came from to access the current page. For example:</p> <pre><code>http://example.com/my-page?source=header http://example.com/my-page?source=footer http://example.com/my-page?source=sidebar </code></pre> <p>As we all know, this causes Google...
[ { "answer_id": 95798, "author": "veritaS", "author_id": 49030, "author_profile": "https://webmasters.stackexchange.com/users/49030", "pm_score": 1, "selected": false, "text": "<p>You have to use the Rich snipped property \"datePublished\" in the HTML template of your articles</p>\n\n<p>...
2016/06/29
[ "https://webmasters.stackexchange.com/questions/95804", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/47325/" ]
My website uses a querystring parameter to track where on the site a user came from to access the current page. For example: ``` http://example.com/my-page?source=header http://example.com/my-page?source=footer http://example.com/my-page?source=sidebar ``` As we all know, this causes Google Analytics to treat each o...
You have to use the Rich snipped property "datePublished" in the HTML template of your articles *Example:* ``` <meta itemprop="datePublished" content="2015-02-05T08:00:00+08:00"/> <meta itemprop="dateModified" content="2015-02-05T09:20:00+08:00"/> ``` Please find the folling Documentation <https://developers.goo...
95,809
<p>I'm making a new layout for our website, and I want to make a list using the unordered list tag (<code>ul</code>) to show our offers. But because of our design I would like to use the <code>h3</code> tag into an <code>a</code> element.</p> <p>How would my idea impact SEO?</p> <p>Here's an example in code of what I...
[ { "answer_id": 95810, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 0, "selected": false, "text": "<p>Wrapping an anchor around blocks is acceptable in HTML5, not in previous versions like <a href=\"https://www...
2016/06/29
[ "https://webmasters.stackexchange.com/questions/95809", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36262/" ]
I'm making a new layout for our website, and I want to make a list using the unordered list tag (`ul`) to show our offers. But because of our design I would like to use the `h3` tag into an `a` element. How would my idea impact SEO? Here's an example in code of what I'm trying to achieve: ``` <a><h3>Header</h3><p>Te...
The rules are simple regarding to this: **You are not allowed to wrap an *inline* element around a *block* element. The exception: If you use HTML5, you may wrap in anchor around a block element.** From a **SEO perspective** it doesn't have influence, it's valid html so they wont discredit for that. It **doesn't...
95,848
<p>We have a site which sells items online only for US customers. The site checks the location based on IP and decides if the price should appear on not. Customers from other locations can buy the products offline (for a different price). Searching Google for " price" shows the price in the US in the result's descrip...
[ { "answer_id": 95863, "author": "Agata - Business Ahead UK", "author_id": 66312, "author_profile": "https://webmasters.stackexchange.com/users/66312", "pm_score": 1, "selected": false, "text": "<p>There are two ways you could handle it - unfortunately both are not ideal solutions...</p>\...
2016/06/30
[ "https://webmasters.stackexchange.com/questions/95848", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/50393/" ]
We have a site which sells items online only for US customers. The site checks the location based on IP and decides if the price should appear on not. Customers from other locations can buy the products offline (for a different price). Searching Google for " price" shows the price in the US in the result's description....
What I finally did was to always block the price to bots. Used a code similar to this: ``` function _bot_detected() { if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/bot|crawl|slurp|spider/i', $_SERVER['HTTP_USER_AGENT'])) { return TRUE; } else { return FALSE; } } ``` More info at: <https:/...
95,849
<p>Is it possible to get a chart in Google Analytics that will show the organic visitors on a given day by the hour?</p> <p>I know you can do this for all traffic, but couldn't see how to do it for organic traffic only.</p>
[ { "answer_id": 95863, "author": "Agata - Business Ahead UK", "author_id": 66312, "author_profile": "https://webmasters.stackexchange.com/users/66312", "pm_score": 1, "selected": false, "text": "<p>There are two ways you could handle it - unfortunately both are not ideal solutions...</p>\...
2016/06/30
[ "https://webmasters.stackexchange.com/questions/95849", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14905/" ]
Is it possible to get a chart in Google Analytics that will show the organic visitors on a given day by the hour? I know you can do this for all traffic, but couldn't see how to do it for organic traffic only.
What I finally did was to always block the price to bots. Used a code similar to this: ``` function _bot_detected() { if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/bot|crawl|slurp|spider/i', $_SERVER['HTTP_USER_AGENT'])) { return TRUE; } else { return FALSE; } } ``` More info at: <https:/...
95,887
<p>I have build a websites with multiple languages. The URLs look like:</p> <ul> <li><code>http://www.example.com/en/</code></li> <li><code>http://www.example.com/de/</code></li> </ul> <p>If the user access the main domain <code>http://www.example.com/</code> the web server detects the user's language (Accept-Languag...
[ { "answer_id": 95891, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 2, "selected": false, "text": "<p>The problem with automatic redirection based on the user's language is that it <strong>could prevent users a...
2016/07/01
[ "https://webmasters.stackexchange.com/questions/95887", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/62406/" ]
I have build a websites with multiple languages. The URLs look like: * `http://www.example.com/en/` * `http://www.example.com/de/` If the user access the main domain `http://www.example.com/` the web server detects the user's language (Accept-Language header) and redirects him to one of the above URLs. Until now we ...
The problem with automatic redirection based on the user's language is that it **could prevent users and search engines from viewing all the versions of your site.** The best approach is to cross link each language version of a page, so the user can reach the desired language with a language selector easily, and sear...
95,922
<p>On my site, I feel to increase rankings, I'm going to include categories including one that 80+% visitors seems to want. As a result, I will need to include that category in the important HTML tags.</p> <p>For example, on an image page representing bloke party venue (which is a local nightclub), my title tag is cur...
[ { "answer_id": 96225, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 1, "selected": false, "text": "<p>I can't place my hands on any official documents confirming this but in my experience Google doesn't...
2016/07/03
[ "https://webmasters.stackexchange.com/questions/95922", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
On my site, I feel to increase rankings, I'm going to include categories including one that 80+% visitors seems to want. As a result, I will need to include that category in the important HTML tags. For example, on an image page representing bloke party venue (which is a local nightclub), my title tag is currently som...
I have seen curly brackets break titles in sitelinks, but not elsewhere. For example, as of today (20190905), if one googles ["cal poly student affairs"](https://www.google.com/search?q=cal+poly+student+affairs), one may see the sitelink titled "The He{a}" for a page that is actually titled "The He{a}rd At Cal Poly - ...
95,946
<p>Say for example, I have a URL in this format:</p> <pre><code>http://example.com/(mobile-or-desktop-flag)/(major-venue-category)/(smaller-venue-category)/(venue-name)/(month)-(day)-(year)/(picture-number)/(user-action-on-picture)/(request-ajax-or-not) </code></pre> <p>where the text in parenthesis represent the par...
[ { "answer_id": 95933, "author": "FFrewin", "author_id": 32163, "author_profile": "https://webmasters.stackexchange.com/users/32163", "pm_score": 3, "selected": false, "text": "<p>Any used framework under the hood has no effect on the SEO. What it matters SEO wise is the front-end (on Sit...
2016/07/04
[ "https://webmasters.stackexchange.com/questions/95946", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
Say for example, I have a URL in this format: ``` http://example.com/(mobile-or-desktop-flag)/(major-venue-category)/(smaller-venue-category)/(venue-name)/(month)-(day)-(year)/(picture-number)/(user-action-on-picture)/(request-ajax-or-not) ``` where the text in parenthesis represent the parameter data. and some exa...
Any used framework under the hood has no effect on the SEO. What it matters SEO wise is the front-end (on Site SEO), and the off-site SEO. Generally any structural, mark-up, content changes have their own effect on SEO. Such changes can be done even with no underlying technology change. For sure changing framework ca...
95,953
<p>I've seen a number of posts on this but none really answer the question of why Google Bots specifically are trying to access the following on ALL of my sites, every single one of them...</p> <pre><code>/.well-known/apple-app-site-association /apple-app-site-association /.well-known/assetlinks.json </code></pre> <p...
[ { "answer_id": 96008, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 3, "selected": false, "text": "<p>The file which is being requested is a json file used by some websites to map certain sections of th...
2016/07/05
[ "https://webmasters.stackexchange.com/questions/95953", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/63124/" ]
I've seen a number of posts on this but none really answer the question of why Google Bots specifically are trying to access the following on ALL of my sites, every single one of them... ``` /.well-known/apple-app-site-association /apple-app-site-association /.well-known/assetlinks.json ``` In each case on my server...
The file which is being requested is a json file used by some websites to map certain sections of the site and certain pages to a native app so that going into those sections or pages will automatically open the native app and use the app instead of the browser for iOS devices. It appears as though Google is trying to ...
95,957
<p>I am trying to use the <a href="https://schema.org/Article" rel="nofollow noreferrer">Article</a> type from schema.org:</p> <pre><code>&lt;article itemscope itemtype="https://schema.org/Article"&gt; &lt;!-- ... --&gt; &lt;meta itemprop="publisher" content="MyCorp" /&gt; &lt;/article&gt; </code></pre> <p>When valid...
[ { "answer_id": 95977, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 2, "selected": false, "text": "<p>Schema.org expects an <code>Organization</code> item as value for the <a href=\"http://schema.org/publisher\" re...
2016/07/05
[ "https://webmasters.stackexchange.com/questions/95957", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66786/" ]
I am trying to use the [Article](https://schema.org/Article) type from schema.org: ``` <article itemscope itemtype="https://schema.org/Article"> <!-- ... --> <meta itemprop="publisher" content="MyCorp" /> </article> ``` When validating this piece of HTML with the [Google validator](https://search.google.com/structur...
Something like this, though of course other properties are required for this to meet [Google's requirements](https://developers.google.com/search/docs/data-types/articles) for article features in search results. ``` <div itemscope itemtype="http://schema.org/Article"> <!-- blah blah --> <div itemprop="publisher" ite...
95,996
<p>I run a forum like website and I would like to make certain pages in it appear less prominently in Google search results. Is there a way to inform Google that I consider some pages to be less important than some other ones?</p> <p>Specifically, there are some situations I have 2 different pages containing similar i...
[ { "answer_id": 96000, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 1, "selected": false, "text": "<p>You can not enforce a page to appear over another one in Google, you can only suggest to <em>Search Engines<...
2016/07/05
[ "https://webmasters.stackexchange.com/questions/95996", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66806/" ]
I run a forum like website and I would like to make certain pages in it appear less prominently in Google search results. Is there a way to inform Google that I consider some pages to be less important than some other ones? Specifically, there are some situations I have 2 different pages containing similar information...
You can not enforce a page to appear over another one in Google, you can only suggest to *Search Engines* that you think **one page is more important that another one**. Using the [sitemap protocol](http://www.sitemaps.org/protocol.html). The **priority** tag definition states: > > The priority of this URL relative ...
96,004
<p>So for months on this site I've had paths to my CSS files that look like:</p> <pre class="lang-none prettyprint-override"><code>/css/syles.css </code></pre> <p>and they've worked fine.</p> <p>Today I updated the file and saw my changes weren't being reflected in the browser. In fact, in the Chrome's Inspector's N...
[ { "answer_id": 114314, "author": "Grant Miller", "author_id": 87371, "author_profile": "https://webmasters.stackexchange.com/users/87371", "pm_score": 2, "selected": false, "text": "<p>In Google Chrome, I would <a href=\"https://developer.chrome.com/devtools#dom-and-styles\" rel=\"nofoll...
2016/07/05
[ "https://webmasters.stackexchange.com/questions/96004", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21289/" ]
So for months on this site I've had paths to my CSS files that look like: ```none /css/syles.css ``` and they've worked fine. Today I updated the file and saw my changes weren't being reflected in the browser. In fact, in the Chrome's Inspector's Network tab the CSS file wasn't even loading. The only way I could g...
In Google Chrome, I would [Inspect the DOM](https://developer.chrome.com/devtools#dom-and-styles) of the web page where the stylesheet is not loading: `Ctrl`+`Shift`+`I` Locate, and right-click the stylesheet element: ``` <link rel="stylesheet" href="/css/syles.css" /> ``` Click `Open in new tab`. If you receive ...
96,017
<p>I have a site, which is basically a search engine. So, whenever a user inputs something, a dynamic page gets created and as soon as the user closes it, it is no longer a page. For example, the link of my pages are like:</p> <pre><code>www.example.com/?q=SEARCH+TERM </code></pre> <p>So, how should I manage SEO for ...
[ { "answer_id": 96020, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 3, "selected": true, "text": "<p>This is going to be incredibly difficult for you to achieve. Firstly Google awards valuable original ...
2016/07/06
[ "https://webmasters.stackexchange.com/questions/96017", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66815/" ]
I have a site, which is basically a search engine. So, whenever a user inputs something, a dynamic page gets created and as soon as the user closes it, it is no longer a page. For example, the link of my pages are like: ``` www.example.com/?q=SEARCH+TERM ``` So, how should I manage SEO for my site so that the search...
This is going to be incredibly difficult for you to achieve. Firstly Google awards valuable original content and penalizes sites which simply contain duplicate content from other sites. Secondly Google has started cracking down on search results pages being listed in the Google index as these results pages don't presen...
96,018
<p>I build my site with Joomla and host with Linode. </p> <p>I was trying to understand .htaccess file. I learned some directives and added them on my htaccess.txt file but things weren't going as I expected. To test whether I put the contents on right file, I rename the htaccess.txt file to .bak. But I am surprised t...
[ { "answer_id": 96020, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 3, "selected": true, "text": "<p>This is going to be incredibly difficult for you to achieve. Firstly Google awards valuable original ...
2016/07/06
[ "https://webmasters.stackexchange.com/questions/96018", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46631/" ]
I build my site with Joomla and host with Linode. I was trying to understand .htaccess file. I learned some directives and added them on my htaccess.txt file but things weren't going as I expected. To test whether I put the contents on right file, I rename the htaccess.txt file to .bak. But I am surprised to see that...
This is going to be incredibly difficult for you to achieve. Firstly Google awards valuable original content and penalizes sites which simply contain duplicate content from other sites. Secondly Google has started cracking down on search results pages being listed in the Google index as these results pages don't presen...
96,088
<p>I am learning .htaccess directives.</p> <p>To test, I create a new .htaccess file under my Joomla website and a test.html file. Then I put</p> <pre><code>DirectoryIndex test.html </code></pre> <p>in the .htaccess file. However, I am getting a 403 forbidden error. Why is this?</p>
[ { "answer_id": 96090, "author": "DKing", "author_id": 66153, "author_profile": "https://webmasters.stackexchange.com/users/66153", "pm_score": 3, "selected": true, "text": "<p>The only way to be sure why you are receiving a 403 error is to check the logs. They will tell you the reason wh...
2016/07/06
[ "https://webmasters.stackexchange.com/questions/96088", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46631/" ]
I am learning .htaccess directives. To test, I create a new .htaccess file under my Joomla website and a test.html file. Then I put ``` DirectoryIndex test.html ``` in the .htaccess file. However, I am getting a 403 forbidden error. Why is this?
The only way to be sure why you are receiving a 403 error is to check the logs. They will tell you the reason why it is forbidden. The `DirectoryIndex` itself doesn't create any new rule that would provide a 403 error. However, if the error began after you made that change, you likely have `Options -Indexes`, or a sim...
96,505
<p>A trend often found on popular websites is to have an article spread over multiple pages, along with a "read whole article" link to see all the sections in a single page.</p> <p>Now, I was wondering, what is the purpose of that? </p> <p>As far as I know, internal linking is a major concept in SEO. This method woul...
[ { "answer_id": 96522, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 3, "selected": true, "text": "<p>I don’t think that it’s a good practice to paginate articles (unless they are so long that it would affect the pe...
2016/07/15
[ "https://webmasters.stackexchange.com/questions/96505", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/45764/" ]
A trend often found on popular websites is to have an article spread over multiple pages, along with a "read whole article" link to see all the sections in a single page. Now, I was wondering, what is the purpose of that? As far as I know, internal linking is a major concept in SEO. This method would seem great for ...
I don’t think that it’s a good practice to paginate articles (unless they are so long that it would affect the performance in the browser), because having exactly one canonical URL is preferable for so many reasons. I think there are two reasons why paginating articles was/is done: * It increases the **pages views**....
96,507
<p>I need to shift a page to another URL, so I can use the current URL of that page for another content. Can this be done without problems for Google?</p> <p>Let's explain the situation.</p> <p>Current situation:</p> <pre><code>Page A (it's already indexeed) URL: example.com/formula-1 Content: ContentPageA </code></...
[ { "answer_id": 96528, "author": "Piyush Parmar", "author_id": 67149, "author_profile": "https://webmasters.stackexchange.com/users/67149", "pm_score": 1, "selected": false, "text": "<p>Yes of course, you can do this.</p>\n\n<p>Just away from duplicate content &amp; URL, because duplicate...
2016/07/15
[ "https://webmasters.stackexchange.com/questions/96507", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38359/" ]
I need to shift a page to another URL, so I can use the current URL of that page for another content. Can this be done without problems for Google? Let's explain the situation. Current situation: ``` Page A (it's already indexeed) URL: example.com/formula-1 Content: ContentPageA ``` Desired situation: ``` Page A ...
Yes of course, you can do this. Just away from duplicate content & URL, because duplicate content & URL can spam your website, google ranking down if your website on spam. As per your note i am sure without duplicate content your website will not an any issue.
96,518
<p>I have a CPanel reseller account, and I want to suspend a site because it was hacked, but I want to know if will be available to site owner to restore it.</p>
[ { "answer_id": 96521, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": true, "text": "<p>When suspending a cPanel account, it will fully lock down the account... it prevents login into cPanel, S...
2016/07/15
[ "https://webmasters.stackexchange.com/questions/96518", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46401/" ]
I have a CPanel reseller account, and I want to suspend a site because it was hacked, but I want to know if will be available to site owner to restore it.
When suspending a cPanel account, it will fully lock down the account... it prevents login into cPanel, SQL, Mail and all other services, crons and processes. The account can then only be restored via the Reseller administrator. > > [CKB What happens when you suspend an account?](https://documentation.cpanel.net/disp...
96,563
<p>I'll give you two examples to clarify what I'm trying to say.</p> <p>Example 1:</p> <pre><code>p { font-family: Arial; } #id1 { font-family: Arial; } .class1 { font-family: Arial; } #id2 { font-family: Arial; } .class2 { font-family: Arial; } </code></pre> <p>Example 2:</p> <pre><code>p, #id1, .class1, #...
[ { "answer_id": 96564, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 0, "selected": false, "text": "<p>It's really irrelevant, because you should minify any <code>.css</code> file that goes up.</p>\n\n<p>Your ...
2016/07/18
[ "https://webmasters.stackexchange.com/questions/96563", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66854/" ]
I'll give you two examples to clarify what I'm trying to say. Example 1: ``` p { font-family: Arial; } #id1 { font-family: Arial; } .class1 { font-family: Arial; } #id2 { font-family: Arial; } .class2 { font-family: Arial; } ``` Example 2: ``` p, #id1, .class1, #id2, .class2 { font-family: Arial; } ``` ...
The only part of that, where the browser would work harder, is having to parse the extra few characters for each selector. Insignificantly so because the majority of the work is done on creating a CSS Object Model, finding the elements, and applying the property values for each element. For something as small as appl...
96,635
<p>So I've created simple .htaccess file as following to make my webiste more SEO:</p> <pre><code># PROTECT FILES &lt;FilesMatch "\.(htaccess|htpasswd|ini|fla|psd|log|sh)$"&gt; Order Allow,Deny Deny from all &lt;/FilesMatch&gt; #TURNED REWRITE ON RewriteEngine on #REWRITE CONDITIONS RewriteRule start index.html Rewr...
[ { "answer_id": 96663, "author": "kolboc", "author_id": 66104, "author_profile": "https://webmasters.stackexchange.com/users/66104", "pm_score": 0, "selected": false, "text": "<p>I changed name of my folders to not conflict RewriteRule 's\nEx. Have <code>reportageImages---&gt; my .jpg her...
2016/07/20
[ "https://webmasters.stackexchange.com/questions/96635", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66104/" ]
So I've created simple .htaccess file as following to make my webiste more SEO: ``` # PROTECT FILES <FilesMatch "\.(htaccess|htpasswd|ini|fla|psd|log|sh)$"> Order Allow,Deny Deny from all </FilesMatch> #TURNED REWRITE ON RewriteEngine on #REWRITE CONDITIONS RewriteRule start index.html RewriteRule aboutMe about.html...
> > `RewriteRule portfolio portfolio.php` > > `RewriteRule reportage reportage.php` > > > Sorry, just realised what's going on... you need to be more *specific* in your rewrites. The above rules will rewrite the URL if "portfolio" (or "reportage") appear *anywhere* in the requested URL - this will catch your im...
96,653
<p>I want to block this URL: <code>/services/online.html?dir=asc&amp;limit=12&amp;order=price</code> but I want to allow this one: <code>/services/online.html</code>.</p> <p>I have added this on the <em>robots.txt</em>:</p> <pre><code>Allow: /services/online.html Disallow: /*?dir= </code></pre> <p>When I try to chec...
[ { "answer_id": 96655, "author": "danielwill786", "author_id": 67293, "author_profile": "https://webmasters.stackexchange.com/users/67293", "pm_score": 0, "selected": false, "text": "<p>It appears that you are looking forward to block URL with appearing with sorting parameters. The best t...
2016/07/21
[ "https://webmasters.stackexchange.com/questions/96653", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/62603/" ]
I want to block this URL: `/services/online.html?dir=asc&limit=12&order=price` but I want to allow this one: `/services/online.html`. I have added this on the *robots.txt*: ``` Allow: /services/online.html Disallow: /*?dir= ``` When I try to check on the Robot Tester it is still allowed. What could be the right cod...
You should know that URL ``` /services/online.html?dir=asc&limit=12&order=price ``` serving the same content as ``` /services/online.html?limit=12&dir=asc&order=price ``` as ``` /services/online.html?order=price&dir=asc&limit=12 ``` and so on, and so on. Position of params in query string doesn't mean anything...
96,674
<p>does anyone know why google is reporting incorrect values in this image?</p> <p><a href="https://i.stack.imgur.com/oqNeb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oqNeb.jpg" alt="enter image description here"></a></p>
[ { "answer_id": 96681, "author": "Pradeep Dhawan", "author_id": 61644, "author_profile": "https://webmasters.stackexchange.com/users/61644", "pm_score": 1, "selected": false, "text": "<p>it should be</p>\n\n<pre><code>&lt;meta itemprop=\"ratingValue\" content=\"5\"&gt;\n&lt;meta itemprop=...
2016/07/21
[ "https://webmasters.stackexchange.com/questions/96674", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/67314/" ]
does anyone know why google is reporting incorrect values in this image? [![enter image description here](https://i.stack.imgur.com/oqNeb.jpg)](https://i.stack.imgur.com/oqNeb.jpg)
As you are using `http://data-vocabulary.org/Review-aggregate` this is the correct format: ``` <div itemscope itemtype="http://data-vocabulary.org/Review-aggregate"> <span itemprop="itemreviewed">My item</span> <span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating"> <span itemprop="aver...
96,777
<p>I am looking for the best way to have run two websites versions side-by-side. The original "Old Site" and the updated "New Site". </p> <p>When arriving on a page the user should get an option of either browsing the "Old Site" or go to the "New Site". This option can be in the form of a modal windows pop-up etc. The...
[ { "answer_id": 96778, "author": "Martijn", "author_id": 37448, "author_profile": "https://webmasters.stackexchange.com/users/37448", "pm_score": 1, "selected": false, "text": "<p>As this can change per site, depending on how your site is build now, I can't give an exact answer. I can pro...
2016/07/25
[ "https://webmasters.stackexchange.com/questions/96777", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36133/" ]
I am looking for the best way to have run two websites versions side-by-side. The original "Old Site" and the updated "New Site". When arriving on a page the user should get an option of either browsing the "Old Site" or go to the "New Site". This option can be in the form of a modal windows pop-up etc. The structure...
As this can change per site, depending on how your site is build now, I can't give an exact answer. I can provide an example: ``` // Check if your visitor has made a choice, if not, give them the choice: if( !isset($_SESSION['versionchoice']) ){ echo $pageWithChoiceThatSetsSession; exit; } else{ // If they...
96,804
<p>What I am looking to do is to redirect all traffic from <code>www.example.com</code> to <code>www1.example.com(subdomain of example.com)</code> via DNS.</p> <p>I am attempting to move from a local server (<code>example.com</code>) to a GoDaddy server (<code>www1.example.com</code>) which is a VPS, with the intentio...
[ { "answer_id": 96806, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 1, "selected": false, "text": "<p>If <em>must</em> control DNS yourself, set up an A record for the subdomain pointing to the IP address of the g...
2016/07/25
[ "https://webmasters.stackexchange.com/questions/96804", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/67457/" ]
What I am looking to do is to redirect all traffic from `www.example.com` to `www1.example.com(subdomain of example.com)` via DNS. I am attempting to move from a local server (`example.com`) to a GoDaddy server (`www1.example.com`) which is a VPS, with the intention of completely shutting down the local server after t...
You cannot redirect via DNS. That is not what DNS does. You would have to define `www.example.com` on your new server and potentially point the site directory to `www1.example.com` to make what you are doing work. **BUT STOP! Don't do it!** In order for a web server to handle requests, the site **must** exist on th...
96,812
<p>I built a site over a year ago and it's been verified with Google my business, Google plus, analytics, webmaster tools, etc for that long. I've also included all the relevant structured data to have certain things show up in Google search results that entire time, but social profile links have never worked. </p> <p...
[ { "answer_id": 96945, "author": "Michael Moriarty", "author_id": 60136, "author_profile": "https://webmasters.stackexchange.com/users/60136", "pm_score": 2, "selected": false, "text": "<p>I must be getting blocked in your browser. It works fine for me on both Firefox and Chrome. It may b...
2016/07/26
[ "https://webmasters.stackexchange.com/questions/96812", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/53688/" ]
I built a site over a year ago and it's been verified with Google my business, Google plus, analytics, webmaster tools, etc for that long. I've also included all the relevant structured data to have certain things show up in Google search results that entire time, but social profile links have never worked. **I have ...
Ok so I got to the bottom of it. Aparently this did have to do with the site being set up as a local business. Google did not have support for social icons for the "local knowledge graph" until the 28th/29th of this month (July 2016). Up until that time it only supported large/well recognized brands and companies and ...
96,846
<p>I have a website that runs an onlineshop (the software is Shopware) at <code>example.com</code>. The blog is maintained with WordPress and is reachable at <code>example.com/blog</code>.</p> <p>I have a robots.txt that lists the sitemap for <code>example.com/sitemap.xml</code>. Surely this sitemap does not contain t...
[ { "answer_id": 96851, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 1, "selected": false, "text": "<p>You should add and verify both sites in search console. On this way you would be able to add and host cross-d...
2016/07/27
[ "https://webmasters.stackexchange.com/questions/96846", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/61905/" ]
I have a website that runs an onlineshop (the software is Shopware) at `example.com`. The blog is maintained with WordPress and is reachable at `example.com/blog`. I have a robots.txt that lists the sitemap for `example.com/sitemap.xml`. Surely this sitemap does not contain the links of the `example.com/blog` WordPres...
Personally I think cross domain sitemap and things like that are not for you. Google allowed to add subdirectories, and you can manage it seperatly with separate dashboard. That means you can add these kind of property in search console. ``` example.com example.com/blog/ example.com/store/ ``` 1) Yes, you can add b...
96,854
<p>Is there a simple way to do this without using "X-Robots-Tag: noarchive" and robots.txt ? Because in some shared hosting packages it is not possible to modify this kind of values. </p> <p>I have came across with an alternative solution:</p> <pre><code>&lt;meta name="robots" content="noindex"&gt; </code></pre> <p>...
[ { "answer_id": 96855, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p>If you do not have access to <a href=\"https://stackoverflow.com/questions/13356266/x-robots-noindex-spe...
2016/07/27
[ "https://webmasters.stackexchange.com/questions/96854", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13088/" ]
Is there a simple way to do this without using "X-Robots-Tag: noarchive" and robots.txt ? Because in some shared hosting packages it is not possible to modify this kind of values. I have came across with an alternative solution: ``` <meta name="robots" content="noindex"> ``` This one also seems like not valid for ...
Your problem is **not** that SVG images are getting indexed. The items in your screenshot are image *directories*. If you visit those URLs you will likely see a list of files that are in the directories. Since they are image directories, the generated index page uses the word "svg". This is a feature of web servers ca...
96,969
<p>I am starting a music blog at <code>www.domain1.com</code>. That URL is an alias shared with <code>www.domain2.com</code> which is just a domain I happen to have hosting with but is unused. In the future I may want to develop a site at <code>www.domain2.com</code> as a portfolio site but for now I have <code>www.dom...
[ { "answer_id": 96976, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 0, "selected": false, "text": "<p>the only fully seo compliant way is to let google index domain2 and get rid of domain1 out of the schema. </p...
2016/07/31
[ "https://webmasters.stackexchange.com/questions/96969", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/67632/" ]
I am starting a music blog at `www.domain1.com`. That URL is an alias shared with `www.domain2.com` which is just a domain I happen to have hosting with but is unused. In the future I may want to develop a site at `www.domain2.com` as a portfolio site but for now I have `www.domain1.com` that I want to use with my host...
> > In the future I may want to develop a site at `www.domain2.com` > > > This is the concern with regards to a 301 redirect. A 301 redirect is considered *permanent*. Browsers and everything in between will cache the 301, so that if you did want to develop a site on `domain2` later it could be problematic. There...
96,981
<p>On my website I put <code>noindex</code> on my category pages but not the pages under it. Even though two weeks passed, the only indexed page is my home page which is not under any category. </p> <p>When I look at yandex webmasters, under indexing>statistics>excluded pages I see both <code>www.example.com/category<...
[ { "answer_id": 96976, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 0, "selected": false, "text": "<p>the only fully seo compliant way is to let google index domain2 and get rid of domain1 out of the schema. </p...
2016/08/01
[ "https://webmasters.stackexchange.com/questions/96981", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66167/" ]
On my website I put `noindex` on my category pages but not the pages under it. Even though two weeks passed, the only indexed page is my home page which is not under any category. When I look at yandex webmasters, under indexing>statistics>excluded pages I see both `www.example.com/category` and `www.example.com/cate...
> > In the future I may want to develop a site at `www.domain2.com` > > > This is the concern with regards to a 301 redirect. A 301 redirect is considered *permanent*. Browsers and everything in between will cache the 301, so that if you did want to develop a site on `domain2` later it could be problematic. There...
97,005
<p>Ive been advised that I need to set the <code>RequestHeader X-Forwarded-Proto</code> for a <code>node.js</code> application (NodeBB) to resolve an issue with sessions / csrf tokens. </p> <p>Here's the relevant excerpt from my apache2 config:</p> <pre><code>ProxyRequests off &lt;Proxy *&gt; Order allow,deny ...
[ { "answer_id": 107445, "author": "spaceone", "author_id": 79423, "author_profile": "https://webmasters.stackexchange.com/users/79423", "pm_score": 4, "selected": false, "text": "<p>It's correct to set this directive like</p>\n\n<pre><code>RequestHeader set \"X-Forwarded-Proto\" expr=%{RE...
2016/08/02
[ "https://webmasters.stackexchange.com/questions/97005", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2940/" ]
Ive been advised that I need to set the `RequestHeader X-Forwarded-Proto` for a `node.js` application (NodeBB) to resolve an issue with sessions / csrf tokens. Here's the relevant excerpt from my apache2 config: ``` ProxyRequests off <Proxy *> Order allow,deny Allow from all </Proxy> RewriteEngine On ...
It's correct to set this directive like ``` RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS} ``` If it doesn't work, you may need to install and enable the module `mod_headers`.
98,109
<p>This seemed like the best site to ask this question based on the tour so here goes. I have a WordPress blog site that I've developed a custom theme for and when someone lands on the 404.php file from a bad request it will send an email with the request, remote address, remote identity and user agent (user agent is ...
[ { "answer_id": 98111, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>These look like vulnerability profiling. Basically, they are looking for vulnerabilities to exploit.</p>\n\...
2016/08/05
[ "https://webmasters.stackexchange.com/questions/98109", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21000/" ]
This seemed like the best site to ask this question based on the tour so here goes. I have a WordPress blog site that I've developed a custom theme for and when someone lands on the 404.php file from a bad request it will send an email with the request, remote address, remote identity and user agent (user agent is neve...
A while back, I noticed many hits to my websites (Drupal) involving Wordpress paths which obviously can be ignored (nothing happens other than a huge waste of time generating 404 pages that the hacker is going to throw away immediately...) For those websites, I would run a tool that I wrote (still have it, obviously) ...
98,326
<p>My blog runs on the comicPress theme powered by Wordpress, on Altervista hosting service. I purchased the second level domain and therefore I aim customizing everything I need to.</p> <p>I normally upload images through the menu <code>Comics -&gt; add comic -&gt; upload media</code> and then upload from my pc.</p> ...
[ { "answer_id": 98379, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 0, "selected": false, "text": "<p>There's a <code>.htaccess</code> also.</p>\n\n<p>You can copy/paste this into your .htaccess file so you c...
2016/08/14
[ "https://webmasters.stackexchange.com/questions/98326", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60814/" ]
My blog runs on the comicPress theme powered by Wordpress, on Altervista hosting service. I purchased the second level domain and therefore I aim customizing everything I need to. I normally upload images through the menu `Comics -> add comic -> upload media` and then upload from my pc. I want to change the size of i...
Josip has given a great explanation. Here's other way you can do it. Locate `wp-config.php` file in your file manager. There you can search using (Command + F), for this function: ``` define('WP_MEMORY_LIMIT','32M'); ``` you can simply change it to `64M`. ``` define('WP_MEMORY_LIMIT','64M'); ```
98,338
<p>I'm reading that links with UTM tracking code are considered as separate links from Google's point of view and can be recognized as duplicated content.</p> <p>(1) I know NOINDEX, FOLLOW can solve the duplicated content issue, but my concern is that will it cause the actual link (without UTM tracking parameters) to ...
[ { "answer_id": 98397, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 2, "selected": true, "text": "<p>use something like this, for Apache, to set all urls with certain parameter to noindex:</p>\n\n<pre><code>&lt;...
2016/08/15
[ "https://webmasters.stackexchange.com/questions/98338", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66503/" ]
I'm reading that links with UTM tracking code are considered as separate links from Google's point of view and can be recognized as duplicated content. (1) I know NOINDEX, FOLLOW can solve the duplicated content issue, but my concern is that will it cause the actual link (without UTM tracking parameters) to not being ...
use something like this, for Apache, to set all urls with certain parameter to noindex: ``` <IfModule mod_rewrite.c> RewriteCond %{QUERY_STRING} ^utm_source*)$ RewriteRule .* - [E=NOINDEX_HEADER:1] </IfModule> <IfModule mod_headers.c> Header set X-Robots-Tag "noindex, follow" env=NOINDEX_HEADER </IfModule> ``` for...
98,344
<p>I have a blog under wordpress.com and I inserted a fake image tag for analyzing visitors in widget like this: </p> <pre><code>&lt;img src="http://www.my-cgi.com/cgi-bin/acclog.cgi?url=http://myblog.wordpress.com/"&gt; </code></pre> <p>But from June, 2016, seems like wordpress.com uses some cache and they convert t...
[ { "answer_id": 98367, "author": "Ryan Brown", "author_id": 69106, "author_profile": "https://webmasters.stackexchange.com/users/69106", "pm_score": 0, "selected": false, "text": "<pre><code>&lt;img src=\"&lt;?php bloginfo('template_directory') ?&gt;/image/location.png\"&gt;\n</code></pre...
2016/08/15
[ "https://webmasters.stackexchange.com/questions/98344", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69081/" ]
I have a blog under wordpress.com and I inserted a fake image tag for analyzing visitors in widget like this: ``` <img src="http://www.my-cgi.com/cgi-bin/acclog.cgi?url=http://myblog.wordpress.com/"> ``` But from June, 2016, seems like wordpress.com uses some cache and they convert the tag to like this: ``` <img ...
It turned out that wordpress.com doesn't allow HTTP link. That's why it convert it to the cached contents with HTTPS. I moved my CGI to HTTPS enabled host and it works now.
98,372
<p>My blog is powered by Altervista on the ComicPress theme. </p> <p>I may customize my website for I purchased the second level domain (.com).</p> <p>I'm trying to post bigger images by following the tutorial below-></p> <p><a href="http://code.tutsplus.com/tutorials/using-custom-image-sizes-in-your-theme-and-resiz...
[ { "answer_id": 98378, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 2, "selected": false, "text": "<p><strong>Yes, you can do whatever you like with theme that you have. You've purchased it (or it's free).</s...
2016/08/16
[ "https://webmasters.stackexchange.com/questions/98372", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60814/" ]
My blog is powered by Altervista on the ComicPress theme. I may customize my website for I purchased the second level domain (.com). I'm trying to post bigger images by following the tutorial below-> [on how using custom images in a theme](http://code.tutsplus.com/tutorials/using-custom-image-sizes-in-your-theme-an...
**Yes, you can do whatever you like with theme that you have. You've purchased it (or it's free).** As long as you purchased it or if it's free, you can do whatever. Just make sure that you make a child theme out of your theme. (there are tutorials for this on wordpress community) That's because if you (in your exam...
98,404
<p>I have a resource which ranks #1 on the web for conference listing. I've discovered and been advised to add Microdata markup since it does no harm and if anything it helps search engines understand how my data is presented...</p> <p>The code below shows the tags correctly inserted as per the Google Wizard tool here...
[ { "answer_id": 98405, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 2, "selected": false, "text": "<p>The important thing is to understand that when writing a tag like the one in the example <code>&lt;li itemsc...
2016/08/17
[ "https://webmasters.stackexchange.com/questions/98404", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69140/" ]
I have a resource which ranks #1 on the web for conference listing. I've discovered and been advised to add Microdata markup since it does no harm and if anything it helps search engines understand how my data is presented... The code below shows the tags correctly inserted as per the Google Wizard tool here: <https:/...
The important thing is to understand that when writing a tag like the one in the example `<li itemscope itemtype="http://schema.org/Event">` that URL is not being *called*, you are providing meta information to help search engines to understand your content better. All your events should be declared that way, so each ...
98,410
<p>I have merged my site from Joomla to WordPress.</p> <p>Old domain:</p> <ol> <li><code>www.example.com/about-us.html</code></li> <li><code>www.example.com/services-skills.html</code></li> <li><code>www.example.com/services-skills2.html</code></li> </ol> <p>New domain:</p> <ol> <li><code>www.example.com/about-us</...
[ { "answer_id": 98411, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 0, "selected": false, "text": "<p>Are you sure that the URL in the wordpress dashboard > settings is correct? That is the most common cause of a...
2016/08/17
[ "https://webmasters.stackexchange.com/questions/98410", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/68993/" ]
I have merged my site from Joomla to WordPress. Old domain: 1. `www.example.com/about-us.html` 2. `www.example.com/services-skills.html` 3. `www.example.com/services-skills2.html` New domain: 1. `www.example.com/about-us` 2. `www.example.com/services-skills` 3. `www.example.com/services-skills2` *.htaccess* config...
To figure out why your redirect is looping you need to see the redirects happening. One way of doing so is using a command line tool such as curl. Fetch the head of the page: ``` curl --head http://www.example.com/about-us.html ``` and look for the `Location:` line to see where the redirect goes. Fetch that URL as w...
98,424
<p>The following runs through the <a href="https://search.google.com/structured-data/testing-tool" rel="noreferrer">Google Structured Data Testing Tool</a> as expected:</p> <pre class="lang-html prettyprint-override"><code>&lt;div&gt; &lt;div itemprop="publisher" itemscope id="organization-example" itemtype="https...
[ { "answer_id": 98452, "author": "Arth", "author_id": 66112, "author_profile": "https://webmasters.stackexchange.com/users/66112", "pm_score": 5, "selected": true, "text": "<p>Turns out, because <code>BlogPosting</code> is one of the types supported by Google as a possible Rich Snippet, t...
2016/08/17
[ "https://webmasters.stackexchange.com/questions/98424", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/66112/" ]
The following runs through the [Google Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool) as expected: ```html <div> <div itemprop="publisher" itemscope id="organization-example" itemtype="https://schema.org/Organization"> <a itemprop="url" href="https://example.com"> ...
Turns out, because `BlogPosting` is one of the types supported by Google as a possible Rich Snippet, they apply more validation: [Google Search Documentation Guidelines for Articles](https://developers.google.com/search/docs/data-types/articles) This requires an Article's Publisher's `logo` to be of type `ImageObject...
98,432
<h1>Background</h1> <p>In term of SEO, <a href="https://www.w3.org/QA/Tips/Use_h1_for_Title" rel="nofollow"><code>&lt;h1&gt;</code> should be used as page specific content only</a> and we should avoid to use it for site logotype. So, a current homepage structure should be something like:</p> <pre><code>&lt;body&gt; &...
[ { "answer_id": 98439, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 3, "selected": true, "text": "<p>In <code>html5</code> the <a href=\"https://www.w3.org/TR/html5/sections.html#the-nav-element\" rel=\"nofollo...
2016/08/17
[ "https://webmasters.stackexchange.com/questions/98432", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69155/" ]
Background ========== In term of SEO, [`<h1>` should be used as page specific content only](https://www.w3.org/QA/Tips/Use_h1_for_Title) and we should avoid to use it for site logotype. So, a current homepage structure should be something like: ``` <body> <header> <p><img id="logo"> <nav> <ul></ul> </nav> <...
In `html5` the [nav](https://www.w3.org/TR/html5/sections.html#the-nav-element) element should be used to represent a section of a page that links to * other pages or * to parts within the page So depending what kind of links you are specifying in the footer section you might avoid inserting them within a `nav` eleme...
98,444
<p>I am confused about what would be the proper markup for a paginated series, even after reading quite a lot of advice, from google included.</p> <p>The common wisdom seems to be this:</p> <ul> <li><p>Use <code>rel="next"</code> to point to each subsequent page in a series, <code>rel="prev"</code> to go backwards.</...
[ { "answer_id": 98457, "author": "L Martin", "author_id": 61597, "author_profile": "https://webmasters.stackexchange.com/users/61597", "pm_score": 0, "selected": false, "text": "<blockquote>\n <p>But how about blogging/publishing?</p>\n</blockquote>\n\n<p>You seem to misunderstand what <...
2016/08/18
[ "https://webmasters.stackexchange.com/questions/98444", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/51906/" ]
I am confused about what would be the proper markup for a paginated series, even after reading quite a lot of advice, from google included. The common wisdom seems to be this: * Use `rel="next"` to point to each subsequent page in a series, `rel="prev"` to go backwards. * Either `rel="canonical"` each paginated page ...
Ok, so what I did in the end was to take the long way round. For this one I'll be using the date-based archives for pagination and linking the series to the homepage as the starting point. So my code that goes in the header looks like this: ``` <? if(is_home()) { ?> <link rel="prev" type="text/html" href="/<? echo dat...
98,464
<p>My code base is shared between several environments (live, staging, dev) &amp; sub-domains (<code>staging.example</code>, <code>dev.example</code>, etc.) and only two should be allowed to be crawled (ie. <code>www.example</code> and <code>example</code>). Normally I'd modify <code>/robots.txt</code> and add <code>Di...
[ { "answer_id": 98467, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 5, "selected": true, "text": "<p>You can serve a different <code>robots.txt</code> file based on the subdomain through which the site has been ac...
2016/08/18
[ "https://webmasters.stackexchange.com/questions/98464", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7508/" ]
My code base is shared between several environments (live, staging, dev) & sub-domains (`staging.example`, `dev.example`, etc.) and only two should be allowed to be crawled (ie. `www.example` and `example`). Normally I'd modify `/robots.txt` and add `Disallow: /`, but due to shared code base I cannot modify `/robots.tx...
You can serve a different `robots.txt` file based on the subdomain through which the site has been accessed. One way of doing this on Apache is by internally rewriting the URL using mod\_rewrite in .htaccess. Something like: ``` RewriteEngine On RewriteCond %{HTTP_HOST} !^(www\.)?example\.com$ [NC] RewriteRule ^robots...
98,471
<p>So I have a weird issue, and I'm not sure if its caused due to my error or what, but when I upload a robots.txt like below:</p> <pre><code>User-Agent: * Disallow: /dev/ Disallow:/wp-admin/ Disallow:/wp-includes/ Disallow:/wp-login.php </code></pre> <p>It shows up in Google Webmaster like below, and also if I redow...
[ { "answer_id": 98467, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 5, "selected": true, "text": "<p>You can serve a different <code>robots.txt</code> file based on the subdomain through which the site has been ac...
2016/08/18
[ "https://webmasters.stackexchange.com/questions/98471", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69187/" ]
So I have a weird issue, and I'm not sure if its caused due to my error or what, but when I upload a robots.txt like below: ``` User-Agent: * Disallow: /dev/ Disallow:/wp-admin/ Disallow:/wp-includes/ Disallow:/wp-login.php ``` It shows up in Google Webmaster like below, and also if I redownload said file, it will a...
You can serve a different `robots.txt` file based on the subdomain through which the site has been accessed. One way of doing this on Apache is by internally rewriting the URL using mod\_rewrite in .htaccess. Something like: ``` RewriteEngine On RewriteCond %{HTTP_HOST} !^(www\.)?example\.com$ [NC] RewriteRule ^robots...
98,483
<p>I'm running an online music compilation archive. Visitors can download and stream the audio. When streaming, visitors are able to keep browsing the site, but sometimes the page is just kept open in a browser tab. Each compilation is between 20 minutes and 3 hours long.</p> <p>I suspect Google Analytics becomes untr...
[ { "answer_id": 98467, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 5, "selected": true, "text": "<p>You can serve a different <code>robots.txt</code> file based on the subdomain through which the site has been ac...
2016/08/19
[ "https://webmasters.stackexchange.com/questions/98483", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/24431/" ]
I'm running an online music compilation archive. Visitors can download and stream the audio. When streaming, visitors are able to keep browsing the site, but sometimes the page is just kept open in a browser tab. Each compilation is between 20 minutes and 3 hours long. I suspect Google Analytics becomes untrustworthy ...
You can serve a different `robots.txt` file based on the subdomain through which the site has been accessed. One way of doing this on Apache is by internally rewriting the URL using mod\_rewrite in .htaccess. Something like: ``` RewriteEngine On RewriteCond %{HTTP_HOST} !^(www\.)?example\.com$ [NC] RewriteRule ^robots...
98,569
<p>I am really confused what is <code>@id</code> used for in json-ld syntax. Sample from apple.com. What does <code>@id</code> actually represent. Any help would be great?</p> <pre><code>&lt;script type="application/ld+json"&gt; { "@context": "http://schema.org", "@id": "http://www.apple.com/#organization", ...
[ { "answer_id": 98572, "author": "benetj", "author_id": 18865, "author_profile": "https://webmasters.stackexchange.com/users/18865", "pm_score": 3, "selected": false, "text": "<p>Reading the following link from Google Developers - <a href=\"https://developers.google.com/search/docs/data-t...
2016/08/22
[ "https://webmasters.stackexchange.com/questions/98569", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69295/" ]
I am really confused what is `@id` used for in json-ld syntax. Sample from apple.com. What does `@id` actually represent. Any help would be great? ``` <script type="application/ld+json"> { "@context": "http://schema.org", "@id": "http://www.apple.com/#organization", "@type": "Organization", "url": "htt...
The `@id` keyword allows you to give a node a URI. This URI identifies the node. See [Node Identifiers](https://www.w3.org/TR/2014/REC-json-ld-20140116/#node-identifiers) in the JSON-LD spec. (The equivalent in Microdata is the `itemid` attribute, and the equivalent in RDFa Lite is the `resource` attribute.) ### Why...
98,616
<p>How to embed items of a different data type? Schema.org explains it here: <a href="https://schema.org/docs/gs.html" rel="nofollow">https://schema.org/docs/gs.html</a></p> <p>I use Google’s markup helper (www.google.com/webmasters/markup-helper/) that creates automatically the code. I have this code simplified and I...
[ { "answer_id": 98617, "author": "L Martin", "author_id": 61597, "author_profile": "https://webmasters.stackexchange.com/users/61597", "pm_score": 0, "selected": false, "text": "<p>If you're familiar with XML it's very similar:</p>\n\n<p>Each element or 'Item' has a list of possible attri...
2016/08/23
[ "https://webmasters.stackexchange.com/questions/98616", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31473/" ]
How to embed items of a different data type? Schema.org explains it here: <https://schema.org/docs/gs.html> I use Google’s markup helper (www.google.com/webmasters/markup-helper/) that creates automatically the code. I have this code simplified and I choose data type `Article`: ``` <div class="post"> <img src="1.png"...
The HTML is not correct, because a `span` can’t have a `p` as child. It should probably be a `div`, i.e.: ```html <div itemscope itemtype="http://schema.org/Article"> <div itemprop="author" itemscope itemtype="http://schema.org/Person"> <p itemprop="name">Author of the post</p> </div> </div> ``` The proble...
98,628
<p>I recently launched a new site on an existing domain, using new hosting. The previous site utilized HTTPS, the new site does not (just HTTP).</p> <p>The problem I ran into is that Google currently has the site indexed as HTTPS. The site is in WordPress, I've tried to 301 redirect HTTPS URLs to HTTP with <code>.hta...
[ { "answer_id": 98629, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 4, "selected": false, "text": "<p>Why not get a free SSL certificate from Lets Encrypt, then your <code>https</code> will work. Ride the horse i...
2016/08/24
[ "https://webmasters.stackexchange.com/questions/98628", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/24571/" ]
I recently launched a new site on an existing domain, using new hosting. The previous site utilized HTTPS, the new site does not (just HTTP). The problem I ran into is that Google currently has the site indexed as HTTPS. The site is in WordPress, I've tried to 301 redirect HTTPS URLs to HTTP with `.htaccess` (placing ...
Why not get a free SSL certificate from Lets Encrypt, then your `https` will work. Ride the horse in the direction it is going...
98,643
<p>We have top level categories on our site that have a bunch of child categories within them. So for example we have a category called "Aquarium Supplies" with like 50 categories within it (i.e. Lighting, Filters, etc.). </p> <p>A little while back, the person who had my job changed the category titles to be more de...
[ { "answer_id": 98644, "author": "FranticJ3", "author_id": 69372, "author_profile": "https://webmasters.stackexchange.com/users/69372", "pm_score": 1, "selected": false, "text": "<p>Some research would reveal that setting font-size to 0 would probably be frowned upon in this instance, con...
2016/08/24
[ "https://webmasters.stackexchange.com/questions/98643", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69372/" ]
We have top level categories on our site that have a bunch of child categories within them. So for example we have a category called "Aquarium Supplies" with like 50 categories within it (i.e. Lighting, Filters, etc.). A little while back, the person who had my job changed the category titles to be more descriptive, ...
Link text on links within your own site does not appear to be a major ranking signal right now. Using keywords on links to other pages on your site does not seem to help those pages rank better for those keywords. Choose anchor text link for interior links that are easy to use for your readers. Using the same word to ...
98,699
<p>I'm a total noob when it comes to being a web dev so please forgive me if the following sounds idiotic.</p> <p>I noticed that when you search my website one of the result's URL looks like an advertisement:</p> <pre><code>https://example.com/?s=earn-make-money.com%252F2011%252F09%252Fhow-to-make-money-on-ebay-with-...
[ { "answer_id": 98702, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 2, "selected": false, "text": "<p>Your site has likely been hacked and a malicious script inserted to add spam-advertising. The script may show o...
2016/08/25
[ "https://webmasters.stackexchange.com/questions/98699", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69444/" ]
I'm a total noob when it comes to being a web dev so please forgive me if the following sounds idiotic. I noticed that when you search my website one of the result's URL looks like an advertisement: ``` https://example.com/?s=earn-make-money.com%252F2011%252F09%252Fhow-to-make-money-on-ebay-with-old-magazines+Launchi...
Your site has likely been hacked and a malicious script inserted to add spam-advertising. The script may show one result to the Google bot and other results to humans. You should contact your hosting provider right away to get them to look at the site and see if they can assist in cleaning it. If not, there are securit...
98,718
<p>I am going to be putting some products structured data onto my site, however I cannot access the HTML of an individual page due to the CMS I am using. </p> <p>So my question is this; Where can I place this product structured data on my page without adding it into the back-end HTML or the <code>head</code> of a page...
[ { "answer_id": 98721, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 0, "selected": false, "text": "<p>I find not being in control of the HTML of your own site due to its CMS entirely bizarre. Get a different CMS. Even...
2016/08/26
[ "https://webmasters.stackexchange.com/questions/98718", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/64021/" ]
I am going to be putting some products structured data onto my site, however I cannot access the HTML of an individual page due to the CMS I am using. So my question is this; Where can I place this product structured data on my page without adding it into the back-end HTML or the `head` of a page? The only other op...
As you can add HTML as content, you can provide structured data. It would be possible with all three supported syntaxes (JSON-LD, Microdata, RDFa), but when you can’t mark up your existing HTML elements, using Microdata/RDFa doesn’t really make sense (you would have to add hidden/empty elements). So JSON-LD seems to b...
98,766
<p>What I have done is:</p> <ol> <li>Created adsense account</li> <li>Created an ad unit</li> <li>Placed that ad unit code on my website</li> <li>After few days I removed that adsense code from my website</li> <li><p>Now when I open my adsense account the following page is displayed: <a href="https://i.stack.imgur.co...
[ { "answer_id": 98769, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 1, "selected": false, "text": "<p>The webpages where you included the Adsense code did not comply Adsense's policy. If you create another acco...
2016/08/28
[ "https://webmasters.stackexchange.com/questions/98766", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69514/" ]
What I have done is: 1. Created adsense account 2. Created an ad unit 3. Placed that ad unit code on my website 4. After few days I removed that adsense code from my website 5. Now when I open my adsense account the following page is displayed: [![](https://i.stack.imgur.com/KjBnC.png)](https://i.stack.imgur.com/KjBn...
The webpages where you included the Adsense code did not comply Adsense's policy. If you create another account to get a code to use in the same pages, then the same will happen. You need to modify your website in order to make it possible to use Adsense. Make sure the website is not [is not violating AdSense policies...
98,783
<p>In e-commerce sites it is common to have multiple parameters to filter, narrow, sort data. Hence Google provides the URL parameters section in Webmasters.</p> <p>In our sample site we have the following 2 URLs generated which link to the same content:</p> <pre><code>/dresses/women/prada-size32-kneelength.html </co...
[ { "answer_id": 98789, "author": "Milo Tischler", "author_id": 69413, "author_profile": "https://webmasters.stackexchange.com/users/69413", "pm_score": 1, "selected": false, "text": "<p>The Google Bot tries to craw everything mentioned or linked on your site / the whole www. I set up a te...
2016/08/29
[ "https://webmasters.stackexchange.com/questions/98783", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/64012/" ]
In e-commerce sites it is common to have multiple parameters to filter, narrow, sort data. Hence Google provides the URL parameters section in Webmasters. In our sample site we have the following 2 URLs generated which link to the same content: ``` /dresses/women/prada-size32-kneelength.html ``` and link with URL p...
The Google Bot tries to craw everything mentioned or linked on your site / the whole www. I set up a test case and the bot even crawled urls like this: ``` <script> // Even a url in a JS comment is crawled by google: stackoverflow.com console.log("test.."); </script> ``` And i think it's more about "let google decid...
98,792
<p>I have in the log file a following line:</p> <pre><code>xxx.xxx.xxx.xxx;[05/Aug/2016:00:00:48 +0200];GET /extensions/css/example.css?rev=example HTTP/1.1;200;66931;http://www.example.com/page.html </code></pre> <p>Please explain me, what means the part between the date and the server answer? I'm a bit perplexed ab...
[ { "answer_id": 98813, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 0, "selected": false, "text": "<p>Assuming you are talking about <code>GET /extensions/css/example.css?rev=example</code> </p>\n\n<p>The log is t...
2016/08/29
[ "https://webmasters.stackexchange.com/questions/98792", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/43910/" ]
I have in the log file a following line: ``` xxx.xxx.xxx.xxx;[05/Aug/2016:00:00:48 +0200];GET /extensions/css/example.css?rev=example HTTP/1.1;200;66931;http://www.example.com/page.html ``` Please explain me, what means the part between the date and the server answer? I'm a bit perplexed about it - it isn't a redire...
The first URL should be the file that is access, while the second one is the referrer, aka the file/page that made the browser access the first URL. You can configure what shows up in your log files. Typically by modifying the 'LogFormat' lines in your /etc/apache2/apache2.conf More information about what information...
98,802
<p>The following comment fragment appears to be popping up at the top of every page of the local government page I'm administrating:</p> <p><a href="https://i.stack.imgur.com/G5pdo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G5pdo.png" alt="Fragment in action"></a></p> <p>The site runs of the J...
[ { "answer_id": 98803, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>For some reason PHP code is being sent to the browser. It may be that PHP is not enabled n that server but t...
2016/08/29
[ "https://webmasters.stackexchange.com/questions/98802", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69564/" ]
The following comment fragment appears to be popping up at the top of every page of the local government page I'm administrating: [![Fragment in action](https://i.stack.imgur.com/G5pdo.png)](https://i.stack.imgur.com/G5pdo.png) The site runs of the Joomla! framework, and I've gone through the header sections of each ...
For some reason PHP code is being sent to the browser. It may be that PHP is not enabled n that server but that page contains some. It could be short tags are used but the server has not enabled it. It could be poorly written code. But you need to get to the source code to find the ultimate root cause.
98,846
<p>I am trying to make a multi-language website with fully translated content. And the thing is I am not sure about the URL for the homepage. </p> <p>So the structure I am planning to prepare right now is using just the URL (like <code>example.com/</code>) for the English version and <code>/de</code>, <code>/jp</code>...
[ { "answer_id": 98853, "author": "Milo Tischler", "author_id": 69413, "author_profile": "https://webmasters.stackexchange.com/users/69413", "pm_score": 1, "selected": false, "text": "<p>There is good guide by Google: <a href=\"https://support.google.com/webmasters/answer/182192?hl=en\" re...
2016/08/30
[ "https://webmasters.stackexchange.com/questions/98846", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69600/" ]
I am trying to make a multi-language website with fully translated content. And the thing is I am not sure about the URL for the homepage. So the structure I am planning to prepare right now is using just the URL (like `example.com/`) for the English version and `/de`, `/jp` or `/tr` subfolders for the other language...
There is good guide by Google: <https://support.google.com/webmasters/answer/182192?hl=en> I like the setting: **URLs:** ``` example.net/en/ as hreflang for "en" and "x-default" example.net/en-GB/ as hreflang for "en-GB" ... ``` **Redirection:** There is a 301 redirect based on user IP, default to /en/ if some w...
98,888
<p>I have a requirement to build multi regional site. Some regions will have more than one language, so this makes the site both mulitregional and multi lingual.</p> <p>Client want to have one domain for all the region and to use region code in url. For example, in case of switzerland url will be xxx.com/ch/index. and...
[ { "answer_id": 98853, "author": "Milo Tischler", "author_id": 69413, "author_profile": "https://webmasters.stackexchange.com/users/69413", "pm_score": 1, "selected": false, "text": "<p>There is good guide by Google: <a href=\"https://support.google.com/webmasters/answer/182192?hl=en\" re...
2016/09/01
[ "https://webmasters.stackexchange.com/questions/98888", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69662/" ]
I have a requirement to build multi regional site. Some regions will have more than one language, so this makes the site both mulitregional and multi lingual. Client want to have one domain for all the region and to use region code in url. For example, in case of switzerland url will be xxx.com/ch/index. and when it c...
There is good guide by Google: <https://support.google.com/webmasters/answer/182192?hl=en> I like the setting: **URLs:** ``` example.net/en/ as hreflang for "en" and "x-default" example.net/en-GB/ as hreflang for "en-GB" ... ``` **Redirection:** There is a 301 redirect based on user IP, default to /en/ if some w...
98,891
<p>As we know, keywords in the URL are helpful with your SEO, for example, <code>/keyword1-keyword2</code>, or <code>keyword1_keyword2</code>. We know that Google is able to identify the two keywords. </p> <p>However, what if it was more like, <code>/url=keyword1,keyword2</code> ?</p> <p>Would they also be read by Go...
[ { "answer_id": 98898, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 3, "selected": true, "text": "<p>Browser will encode input, according to the character-set used in your page.</p>\n\n<p>I personally avoid <...
2016/09/01
[ "https://webmasters.stackexchange.com/questions/98891", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30474/" ]
As we know, keywords in the URL are helpful with your SEO, for example, `/keyword1-keyword2`, or `keyword1_keyword2`. We know that Google is able to identify the two keywords. However, what if it was more like, `/url=keyword1,keyword2` ? Would they also be read by Google?
Browser will encode input, according to the character-set used in your page. I personally avoid `,` in url structure, because of encoding. It's `%2C`. So your url would be like `/url=keyword1%2Ckeyword2`. Commas are allowed in the filename part of a URL, but are reserved characters in the domain. \* From the [URI ...
98,893
<p>I'm using Google's template to mark up my blog and it seems that if I were to change the value of the <code>width</code>/<code>height</code>, it instantly tells me:</p> <blockquote> <p>The attribute image.width has an invalid value.</p> </blockquote> <p>The following is a template that Google has provided:</p> ...
[ { "answer_id": 98895, "author": "Milo Tischler", "author_id": 69413, "author_profile": "https://webmasters.stackexchange.com/users/69413", "pm_score": 4, "selected": true, "text": "<p>See Google documentation: <a href=\"https://developers.google.com/search/docs/data-types/articles\" rel=...
2016/09/01
[ "https://webmasters.stackexchange.com/questions/98893", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69643/" ]
I'm using Google's template to mark up my blog and it seems that if I were to change the value of the `width`/`height`, it instantly tells me: > > The attribute image.width has an invalid value. > > > The following is a template that Google has provided: ``` <script type="application/ld+json"> { "@context": "h...
See Google documentation: <https://developers.google.com/search/docs/data-types/articles> > > Images should be at least 696 pixels wide. > > > So this one works for me: ``` <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "NewsArticle", "mainEntityOfPage": { "@type": "Web...
98,929
<p>I have a Django website with activated translation middleware for several languages.</p> <p>If a user tries to open </p> <pre><code>example.com/abc </code></pre> <p>this happens:</p> <ol> <li><p>the middleware detects the user language (from cookie, from browser, then fallback) and redirect to i.e.</p> <pre><co...
[ { "answer_id": 98963, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Language redirects and dynamic language determination are bad for SEO in general. For SEO, lan...
2016/09/02
[ "https://webmasters.stackexchange.com/questions/98929", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69699/" ]
I have a Django website with activated translation middleware for several languages. If a user tries to open ``` example.com/abc ``` this happens: 1. the middleware detects the user language (from cookie, from browser, then fallback) and redirect to i.e. ``` example.com/en/abc ``` 2. the middleware detects that...
Language redirects and dynamic language determination are bad for SEO in general. For SEO, language should be chosen *solely* based on the URL. You should not redirect based on browser language settings (`accept-language` header) or IP address geo location. Cookie redirects are fine for users that have affirmatively st...
99,028
<p>I have setup a server block with a proxy in nginx which works when I hit the service with an a directory.</p> <p>For example I can access gs.geolytix.net/geoserver with this conf.</p> <pre><code>server { listen 80; server_name gs.geolytix.net; location /geoserver { proxy_set_header X-Forwarded-Host $host...
[ { "answer_id": 99014, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 1, "selected": true, "text": "<p>You need a server that can handle the 1% not the 99%.</p>\n\n<p>Likely you should be looking at a dedicated serv...
2016/09/06
[ "https://webmasters.stackexchange.com/questions/99028", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69825/" ]
I have setup a server block with a proxy in nginx which works when I hit the service with an a directory. For example I can access gs.geolytix.net/geoserver with this conf. ``` server { listen 80; server_name gs.geolytix.net; location /geoserver { proxy_set_header X-Forwarded-Host $host; proxy_set_heade...
You need a server that can handle the 1% not the 99%. Likely you should be looking at a dedicated server with minimum 16Gb RAM, but you should take to the hosting service you are considering. Tell them what you have, explain the problem and they should be able to advise.
99,029
<p>I am quite new to these SEO and all SEO aspects of social media. I just haved changed title text, description and image URL for websites homepage, but when I try to share it on Facebook, I still get old image, title and description. Is there a delay time or am I missing something?</p> <p>These are meta tags I have:...
[ { "answer_id": 99014, "author": "Steve", "author_id": 16250, "author_profile": "https://webmasters.stackexchange.com/users/16250", "pm_score": 1, "selected": true, "text": "<p>You need a server that can handle the 1% not the 99%.</p>\n\n<p>Likely you should be looking at a dedicated serv...
2016/09/06
[ "https://webmasters.stackexchange.com/questions/99029", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/53913/" ]
I am quite new to these SEO and all SEO aspects of social media. I just haved changed title text, description and image URL for websites homepage, but when I try to share it on Facebook, I still get old image, title and description. Is there a delay time or am I missing something? These are meta tags I have: ``` <tit...
You need a server that can handle the 1% not the 99%. Likely you should be looking at a dedicated server with minimum 16Gb RAM, but you should take to the hosting service you are considering. Tell them what you have, explain the problem and they should be able to advise.
99,038
<p>I found a similar question with a great answer for removing a single URL parameter. However, what if I have 20+ URL parameters that I don't want indexed? </p> <p>Also, in the example solution below, it is assuming that you want to specify a parameter range (ex: <code>?id=0</code> to <code>?id=9</code>)... In my sit...
[ { "answer_id": 99045, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<p>You only really need to set the <code>rel=\"canonical\"</code> header. This should be sufficient in ensuring onl...
2016/09/06
[ "https://webmasters.stackexchange.com/questions/99038", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69835/" ]
I found a similar question with a great answer for removing a single URL parameter. However, what if I have 20+ URL parameters that I don't want indexed? Also, in the example solution below, it is assuming that you want to specify a parameter range (ex: `?id=0` to `?id=9`)... In my situation I would simply want to no...
You only really need to set the `rel="canonical"` header. This should be sufficient in ensuring only the canonical URL (ie. the one with no URL params) appears in the SERPs. Setting a `noindex` robots meta tag for such URLs would seem to be overkill (and a tad risky) IMO. Presumably you are unable to set a `rel="canon...
99,041
<p>I have a Godaddy hosting plan with a domain (let's use examplegodaddy.com). I use that as my main domain with a Wordpress site. I created a subdomain inside the cpanel (let's call it example.com/subdomain) and installed wordpress on it. Tested it and it works okay.</p> <p>Few years back, I purchased a domain from N...
[ { "answer_id": 99042, "author": "ledzee", "author_id": 54819, "author_profile": "https://webmasters.stackexchange.com/users/54819", "pm_score": 0, "selected": false, "text": "<p>No the address is going to show the real address the webpage belongs to.</p>\n\n<p>Your option is to copy the ...
2016/09/06
[ "https://webmasters.stackexchange.com/questions/99041", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69838/" ]
I have a Godaddy hosting plan with a domain (let's use examplegodaddy.com). I use that as my main domain with a Wordpress site. I created a subdomain inside the cpanel (let's call it example.com/subdomain) and installed wordpress on it. Tested it and it works okay. Few years back, I purchased a domain from Name.com wh...
If they are available on the Godaddy hosting plan, use cPanel addon domains. This will allow emails and other goodies too. Navigate to addon domains. Fill in the first field (without the www), and it should generate a subdomain utility url/alias on top of the main server domain. For the document root, pick whatever fo...
99,068
<p>I have a desktop version of my site using yourwebsite.com and a mobile version using m.yourwebsite.com. </p> <p>Should I treat them as one site and only submit the desktop version along with its sitemap and preferred URL (www.yourwebsite.com / yourwebsite.com) to search engines, and what what is the right way to us...
[ { "answer_id": 99163, "author": "norcal johnny", "author_id": 69901, "author_profile": "https://webmasters.stackexchange.com/users/69901", "pm_score": 1, "selected": false, "text": "<blockquote>\n <p>Should I treat them as one site and only submit the desktop version</p>\n</blockquote>\...
2016/09/07
[ "https://webmasters.stackexchange.com/questions/99068", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69873/" ]
I have a desktop version of my site using yourwebsite.com and a mobile version using m.yourwebsite.com. Should I treat them as one site and only submit the desktop version along with its sitemap and preferred URL (www.yourwebsite.com / yourwebsite.com) to search engines, and what what is the right way to use the robo...
> > Should I treat them as one site and only submit the desktop version > > > They are essentially 2 different sites. Both should have their own robots.txt, sitemaps and URLS (m.yoursite.com and yoursite.com) crawled and submitted for index to Google. As for Yahoo and Bing. Submitting to one essentials submits to ...
99,075
<p>I converted a genealogical gedcom file to xhtml to post to my website. The file displays properly when loaded into Firefox or Chrome from my computer using file:///home/user/file.xhtml but when uploaded to my website and accessed as</p> <pre><code>http://website.com/file.xhtml </code></pre> <p>both browsers merel...
[ { "answer_id": 99072, "author": "will mercer", "author_id": 69882, "author_profile": "https://webmasters.stackexchange.com/users/69882", "pm_score": -1, "selected": false, "text": "<p>It depends on how long your website has been up for.</p>\n\n<p>If you want to be indexed by Google, Bing...
2016/09/07
[ "https://webmasters.stackexchange.com/questions/99075", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69886/" ]
I converted a genealogical gedcom file to xhtml to post to my website. The file displays properly when loaded into Firefox or Chrome from my computer using file:///home/user/file.xhtml but when uploaded to my website and accessed as ``` http://website.com/file.xhtml ``` both browsers merely list the contents as a t...
You need to go sign up with Google's Webmaster Tools. [Google Webmaster Tools](https://www.google.com/webmasters/tools/home?hl=en) Once signed up, click add property. You will need to confirm ownership in 1 of 2 ways. File upload to root folder of website, or hosting login via Webmaster Tools. Once confirmed. Add pro...
99,169
<p>The business provides custom hand carved limestone products, that are delivered and installed by us. The problem is this, the cities we target are in patches and spread over a 200 mile distance. Google listings won't cover that properly, even if I were to enter all zip codes manually.</p> <p>I prefer content over a...
[ { "answer_id": 99178, "author": "Andrew", "author_id": 69272, "author_profile": "https://webmasters.stackexchange.com/users/69272", "pm_score": 2, "selected": false, "text": "<p>I believe Schema.org is perfect for this.</p>\n\n<pre><code>&lt;script type=\"application/ld+json\"&gt;\n{\n ...
2016/09/10
[ "https://webmasters.stackexchange.com/questions/99169", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/69901/" ]
The business provides custom hand carved limestone products, that are delivered and installed by us. The problem is this, the cities we target are in patches and spread over a 200 mile distance. Google listings won't cover that properly, even if I were to enter all zip codes manually. I prefer content over a general l...
I believe Schema.org is perfect for this. ``` <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "LocalBusiness", "address": { "@type": "PostalAddress", "addressLocality": "Mexico Beach", "addressRegion": "FL", "streetAddress": "3102 Highway 98" }, "description": ...
99,219
<p>I've done googling this but didn't found any answers and would love to try this out on my website. </p> <p>As it's a good ranking website, I want to ask you before risking it. </p> <pre><code> font-size: 50px; text-shadow: 0px 1px 1px #ddd, 0px 2px 1px #d6d6d6, 0px 3px 1px...
[ { "answer_id": 99220, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 1, "selected": false, "text": "<p>HTML code and CSS code errors if written poorly or outdated <strong>don't</strong> really matter for actua...
2016/09/12
[ "https://webmasters.stackexchange.com/questions/99219", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70020/" ]
I've done googling this but didn't found any answers and would love to try this out on my website. As it's a good ranking website, I want to ask you before risking it. ``` font-size: 50px; text-shadow: 0px 1px 1px #ddd, 0px 2px 1px #d6d6d6, 0px 3px 1px #ccc, ...
Google penalizes for text that is not visible to the users. White text on a white background can be used for keyword stuffing. In that case the keywords are put in the page source where Googlebot indexes them, but the font color makes it so that users don't see it. Shadow text is not cloaking because the user can see ...
99,248
<p>After installing the configuration began, however I kept getting this message saying:</p> <pre><code> An error occurred while installing the database: │ │ ERROR 2002 (HY000): Can't connect to local M...
[ { "answer_id": 99249, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 0, "selected": false, "text": "<p>That's an error in configuration. You need to put localhost or your IP in it.</p>\n\n<p>Follow this steps:...
2016/09/13
[ "https://webmasters.stackexchange.com/questions/99248", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/43237/" ]
After installing the configuration began, however I kept getting this message saying: ``` An error occurred while installing the database: │ │ ERROR 2002 (HY000): Can't connect to local MySQL server th...
Sounds like a typical permission problem, you need to ensure that your permissions can correctly read and write the database sock file. > > **[Source](https://stackoverflow.com/a/8084959/1892635)** > > > If your file my.cnf (usually in the */etc/mysql/* folder) is correctly > configured with: > > > > ``` > soc...
99,288
<p>I'm trying to redirect the contents of a directory that is placed at the top level of my website, to a subdirectory one level deep. I also need to exclude two files and a folder.<br> Nothing I've tried so far seems to work for me, the last one being:</p> <pre><code>RewriteEngine on #RewriteCond %{REQUEST_URI} !^ex...
[ { "answer_id": 99296, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<blockquote>\n<pre><code>RewriteRule ^/folder(.*)$ /folder/subfolder/$1 [R=301,NC,L]\n</code></pre>\n</blockquote>\...
2016/09/14
[ "https://webmasters.stackexchange.com/questions/99288", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm trying to redirect the contents of a directory that is placed at the top level of my website, to a subdirectory one level deep. I also need to exclude two files and a folder. Nothing I've tried so far seems to work for me, the last one being: ``` RewriteEngine on #RewriteCond %{REQUEST_URI} !^exludedfile\.html...
> > > ``` > RewriteRule ^/folder(.*)$ /folder/subfolder/$1 [R=301,NC,L] > > ``` > > As [just mentioned in this other answer](https://webmasters.stackexchange.com/a/99293/1243)... in per-directory .htaccess files the `RewriteRule` *pattern* matches the URL-path less the directory-prefix, so the URL-path that is ma...
99,383
<pre><code>&lt;a href="http://example.com" title="my keyword"&gt;&lt;/a&gt; </code></pre> <p>Can I build back links like this?</p> <p>Is this black hat or white hat?</p>
[ { "answer_id": 99343, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>You can't use domain forwarding at GoDaddy in this case. Domain forwarding only works to forwar...
2016/09/18
[ "https://webmasters.stackexchange.com/questions/99383", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70183/" ]
``` <a href="http://example.com" title="my keyword"></a> ``` Can I build back links like this? Is this black hat or white hat?
You can't use anything like code changes or godaddy settings but I would like you to recommend that you may use a redirection service which redirects requests to help you what you want indirectly . Take a bitly url or goo.gl url that redirects to example.com/home , let it be j . Now set up redirection of your domain to...
99,410
<p>I've researched and tried a lot of solutions online, but none seems to solve my problem, it seems something is missing.</p> <p>I have domain registered at Godaddy, let's call it domain "X" I have 2 servers with 2 different hosting companies (Server A and B)</p> <p>Domain X nameservers point to Cloudflare's DNS whi...
[ { "answer_id": 99411, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>There are three entities involved in getting a site online for a domain name:</p>\n\n<ol>\n<li>The...
2016/09/19
[ "https://webmasters.stackexchange.com/questions/99410", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70220/" ]
I've researched and tried a lot of solutions online, but none seems to solve my problem, it seems something is missing. I have domain registered at Godaddy, let's call it domain "X" I have 2 servers with 2 different hosting companies (Server A and B) Domain X nameservers point to Cloudflare's DNS which I have set up ...
There are three entities involved in getting a site online for a domain name: 1. The domain registrar 2. The DNS host 3. The web host For a domain and a subdomain you can have two web hosts, but you can still only have one DNS host. It sounds like your web hosting accounts are *each* able to be your DNS host. You ca...
99,537
<p>I'm writing the Schema.org JSON-LD for a website now. For a <code>url</code> within my site, what will work / best practice?</p> <pre><code>"url": "http://myawesomesite.com/content.html" </code></pre> <p>or</p> <pre><code>"url": "/content.html" </code></pre>
[ { "answer_id": 99540, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 2, "selected": false, "text": "<p>For Schema.org, JSON-LD, and conforming consumers, <strong>it doesn’t matter</strong>.</p>\n\n<p>The relative fo...
2016/09/23
[ "https://webmasters.stackexchange.com/questions/99537", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70358/" ]
I'm writing the Schema.org JSON-LD for a website now. For a `url` within my site, what will work / best practice? ``` "url": "http://myawesomesite.com/content.html" ``` or ``` "url": "/content.html" ```
For Schema.org, JSON-LD, and conforming consumers, **it doesn’t matter**. The relative form is shorter and doesn’t require changes if you change the domain. But if a consumer happens to access your document under a different URL, the URL values will be different, too. The absolute form is what you’d use anyway for ex...
99,539
<p>I have directory that contains 400,000+ files. Potentially the directory could easily contain ~30,000,000 files.</p> <ol> <li><p>Is that a good idea or should I rather chop it up in smaller directories like this:</p> <pre><code>/images/1/ /images/2/ /images/3/ /images/4/ etc. </code></pre></li> <li><p>What size sh...
[ { "answer_id": 99542, "author": "norcal johnny", "author_id": 69901, "author_profile": "https://webmasters.stackexchange.com/users/69901", "pm_score": 5, "selected": true, "text": "<p>I am going to give this a shot.</p>\n\n<p><strong>From a filesystem point of view:</strong></p>\n\n<bloc...
2016/09/23
[ "https://webmasters.stackexchange.com/questions/99539", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70363/" ]
I have directory that contains 400,000+ files. Potentially the directory could easily contain ~30,000,000 files. 1. Is that a good idea or should I rather chop it up in smaller directories like this: ``` /images/1/ /images/2/ /images/3/ /images/4/ etc. ``` 2. What size should I make the smaller directories? Would 10...
I am going to give this a shot. **From a filesystem point of view:** > > [FAT32](http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32): > ================================================================== > > > * Maximum number of files: 268,173,300 > * Maximum number of files per directory: 216 - 1 (65,535) >...
99,555
<p>We have a website and a few months ago I added the structured data code to its home page (as Google documentations guided me) but I still not get any changes in google search result.</p> <p>This is what I have there:</p> <pre><code>&lt;script type="application/ld+json"&gt; { "@context": "http://schema.org", "@...
[ { "answer_id": 99557, "author": "Andrew", "author_id": 69272, "author_profile": "https://webmasters.stackexchange.com/users/69272", "pm_score": 3, "selected": true, "text": "<p>You dont just get a box because you markup your website, you get one when and if Google think you are worthy. T...
2016/09/24
[ "https://webmasters.stackexchange.com/questions/99555", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70375/" ]
We have a website and a few months ago I added the structured data code to its home page (as Google documentations guided me) but I still not get any changes in google search result. This is what I have there: ``` <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": ...
You dont just get a box because you markup your website, you get one when and if Google think you are worthy. That means you will need lots of traffic. I Googled beatsense and you already have several links under beatsnse.com so you are well on your way :) No searchbar yet tough
99,560
<p>I want to create an automatic 301 redirect of all deleted webpages (that doesn't have a specific redirection) to root, in .htaccess . </p> <p>Instead of using the following pattern for each of my ~ 150 deleted urls, I want all to redirect to the Homepage:</p> <pre><code>Redirect [status] URL-path URL </code></pre>...
[ { "answer_id": 99562, "author": "norcal johnny", "author_id": 69901, "author_profile": "https://webmasters.stackexchange.com/users/69901", "pm_score": 2, "selected": false, "text": "<p><strong>FINAL ANSWER UPDATE</strong></p>\n\n<p>So I just learned the reason the OP wants to use 301 red...
2016/09/24
[ "https://webmasters.stackexchange.com/questions/99560", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I want to create an automatic 301 redirect of all deleted webpages (that doesn't have a specific redirection) to root, in .htaccess . Instead of using the following pattern for each of my ~ 150 deleted urls, I want all to redirect to the Homepage: ``` Redirect [status] URL-path URL ``` Yet, 2 things are important ...
**FINAL ANSWER UPDATE** So I just learned the reason the OP wants to use 301 redirect is get rid of the annoyance of recurring errors even though new site maps have been submitted and marked as fixed. **Use a 410 redirect to completely remove the URL's from index and recurring 404 error notices.** **To remove a dir...
99,615
<p>on my Wordpress site, I need to </p> <pre><code>http://example.com/page1/ </code></pre> <p>redirect to</p> <pre><code>http://site.example.com/page1/ </code></pre> <p>I have tried this:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^example\.com$ [OR] Rewr...
[ { "answer_id": 99622, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": true, "text": "<blockquote>\n<p><code>http://example.com/page1/</code></p>\n<pre><code>RewriteRule ^page1$ ....\n</code></pre>\n</...
2016/09/27
[ "https://webmasters.stackexchange.com/questions/99615", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70443/" ]
on my Wordpress site, I need to ``` http://example.com/page1/ ``` redirect to ``` http://site.example.com/page1/ ``` I have tried this: ``` <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^example\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^page1$ "http...
> > `http://example.com/page1/` > > > > ``` > RewriteRule ^page1$ .... > > ``` > > You are missing a trailing slash on the end of the `RewriteRule` *pattern*. Try the following in the `.htaccess` file at `example.com`'s document root. This will need to go *before* any existing WordPress rewrites. ``` RewriteEn...
99,621
<p>I bought a new VPS from Softlayer and I'm having some issues configuring it. I haven't pointed the name servers to it yet.</p> <p>The problem I'm having is, through WHM, I added a new account and it was setup properly. But when I access it with the IP address I get a 404 error. I uploaded a <code>test.html</code> f...
[ { "answer_id": 99626, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p><em>To access a cPanel powered website by its IP address:</em></p>\n\n<ol>\n<li>You must <a href=\"https...
2016/09/27
[ "https://webmasters.stackexchange.com/questions/99621", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70447/" ]
I bought a new VPS from Softlayer and I'm having some issues configuring it. I haven't pointed the name servers to it yet. The problem I'm having is, through WHM, I added a new account and it was setup properly. But when I access it with the IP address I get a 404 error. I uploaded a `test.html` file through cPanel to...
*To access a cPanel powered website by its IP address:* 1. You must [enable mod\_userdir](https://serverfault.com/a/534813/149388). 2. You must either issue a [dedicated IP address](https://confluence2.cpanel.net/display/56Docs/Create+a+New+Account+-+Settings) or you need to edit the [virtual host file](https://httpd....
99,630
<p>In a digital archaeology project I have found a web server directory with files dated from 2001 that had a peculiar collection of <code>index.html</code> files with names ending with two letter codes of different languages and language charsets, i.e.</p> <pre><code>index.html.ca index.html.ja.jis index.html...
[ { "answer_id": 99688, "author": "René Pflamm", "author_id": 70547, "author_profile": "https://webmasters.stackexchange.com/users/70547", "pm_score": 2, "selected": true, "text": "<p>This is an question how you want to make it, there is nothing you must to have.</p>\n\n<p>I recommend to h...
2016/09/27
[ "https://webmasters.stackexchange.com/questions/99630", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/50737/" ]
In a digital archaeology project I have found a web server directory with files dated from 2001 that had a peculiar collection of `index.html` files with names ending with two letter codes of different languages and language charsets, i.e. ``` index.html.ca index.html.ja.jis index.html.ru.iso-ru index.html.cz ...
This is an question how you want to make it, there is nothing you must to have. I recommend to have your template files outside of `/fileadmin` I use often `/template` for this. As next step you should create folders for an structure you understand. Many customers try to place the files like the navigation structure,...
99,660
<p>I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges.</p> <p>Also any product has a seller that must be inside <code>Offer</code>. Right? So I must use the <code>Offer</code> type and I can not using <code>PriceSpecification</code>. Am I wron...
[ { "answer_id": 99663, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 3, "selected": true, "text": "<p>You can have a <code>PriceSpecification</code> for the <code>Offer</code>, by using the <a href=\"http://schema.o...
2016/09/28
[ "https://webmasters.stackexchange.com/questions/99660", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/51555/" ]
I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges. Also any product has a seller that must be inside `Offer`. Right? So I must use the `Offer` type and I can not using `PriceSpecification`. Am I wrong? How can I use Microdata with this condi...
You can have a `PriceSpecification` for the `Offer`, by using the [`priceSpecification`](http://schema.org/priceSpecification) property: ```html <article itemscope itemtype="http://schema.org/Product"> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <div itemprop="priceSpecification" items...
99,683
<p>On our website we noticed that the Applebot is not crawling our sitemap.xml, so it is unaware of most of our internal webpages.</p> <p>We have no robots.txt restrictions for that bot, on the contrary we tried to whitelist it, and there is a Sitemap field containing the sitemap URL as you can see below.</p> <p>Are ...
[ { "answer_id": 103760, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 1, "selected": false, "text": "<p>A single typo looks to be causing this issue.</p>\n\n<p>Your <code>disallow: /</code> statement is ...
2016/09/29
[ "https://webmasters.stackexchange.com/questions/99683", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70537/" ]
On our website we noticed that the Applebot is not crawling our sitemap.xml, so it is unaware of most of our internal webpages. We have no robots.txt restrictions for that bot, on the contrary we tried to whitelist it, and there is a Sitemap field containing the sitemap URL as you can see below. Are we doing anything...
A single typo looks to be causing this issue. Your `disallow: /` statement is blocking all robots. It should show up as `disallow:` Here is a rewritten version of your robots.txt file to allow robots to access your sitemap... ``` User-Agent: * Disallow: Disallow: /dir1 Disallow: /dir2 Disallow: /status Disallow: /h...
99,731
<p>I have a client who is creating many (over 70 so far) blank webpages and redirecting them all to another, single page. They're doing this as a method to turn tracking URLs with custom campaign parameters into shortened URLs for printed materials. </p> <p>Unfortunately, I can't provide links due to privacy but it go...
[ { "answer_id": 99720, "author": "Tony DiNitto", "author_id": 63511, "author_profile": "https://webmasters.stackexchange.com/users/63511", "pm_score": 4, "selected": true, "text": "<p>Hash bang URLs are most definitely deprecated. Wix (a popular web site builder) is probably one of the bi...
2016/09/30
[ "https://webmasters.stackexchange.com/questions/99731", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70595/" ]
I have a client who is creating many (over 70 so far) blank webpages and redirecting them all to another, single page. They're doing this as a method to turn tracking URLs with custom campaign parameters into shortened URLs for printed materials. Unfortunately, I can't provide links due to privacy but it goes like th...
Hash bang URLs are most definitely deprecated. Wix (a popular web site builder) is probably one of the biggest facilitators of getting people stuck in them. The problem comes into play when you can never give a 301 Redirect for a hash bang URL from your end. Meaning that once you dig into using those types of URLs, c...
99,768
<p>I've been reading up on how to filter out spam from Google Analytics. In this case, I'm trying to filter out the spam that shows up under referrals.</p> <p>In the <code>Filter Pattern</code> field of Analytics, I have the following:</p> <pre><code>semalt\.com|buttons-for-website\.com|rank-checker\.online|monetizat...
[ { "answer_id": 99807, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Google has a page about <a href=\"https://support.google.com/analytics/answer/1008083\" rel=\"nof...
2016/10/02
[ "https://webmasters.stackexchange.com/questions/99768", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I've been reading up on how to filter out spam from Google Analytics. In this case, I'm trying to filter out the spam that shows up under referrals. In the `Filter Pattern` field of Analytics, I have the following: ``` semalt\.com|buttons-for-website\.com|rank-checker\.online|monetizationking\.net|site-auditor\.onlin...
Google has a page about [testing your Google Analytics Setup](https://support.google.com/analytics/answer/1008083). It suggests: * Waiting 24 hours for data to show up in most reports * Viewing the real time reporting to see data as it comes in * Using the Google Tag Assistant to check for problems
99,791
<p>We are about the release a new version of a website for one of our clients.</p> <p>His current website is on www.domain.be, the new domain with a complete different structure is located on www.newdomain.be</p> <p>So now we need to redirect traffic for the old one to the new one.</p> <p>Is it best practise to redi...
[ { "answer_id": 99795, "author": "M-n-I SEO Guy", "author_id": 70134, "author_profile": "https://webmasters.stackexchange.com/users/70134", "pm_score": 3, "selected": true, "text": "<p>You will want to implement the following in the old domain's .htaccess file:</p>\n\n<pre><code>RewriteEn...
2016/10/03
[ "https://webmasters.stackexchange.com/questions/99791", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/43987/" ]
We are about the release a new version of a website for one of our clients. His current website is on www.domain.be, the new domain with a complete different structure is located on www.newdomain.be So now we need to redirect traffic for the old one to the new one. Is it best practise to redirect everything to the h...
You will want to implement the following in the old domain's .htaccess file: ``` RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.newdomain\.be RewriteRule (.*) http://www.newdomain.be/$1 [R=301,L] ``` And, since your file structure is changing on the new domain you will definitely want to permanently 301 redirect ...
99,793
<p>Given the following code:</p> <pre><code>&lt;section id="about-us"&gt; &lt;div class="Employee"&gt; &lt;h2&gt;Lorem&lt;/h2&gt; &lt;/div&gt; &lt;div class="Employee"&gt; &lt;h2&gt;Lorem&lt;/h2&gt; &lt;/div&gt; &lt;/section&gt; &lt;section id="contact"&gt; &lt;form&gt; &lt...
[ { "answer_id": 99795, "author": "M-n-I SEO Guy", "author_id": 70134, "author_profile": "https://webmasters.stackexchange.com/users/70134", "pm_score": 3, "selected": true, "text": "<p>You will want to implement the following in the old domain's .htaccess file:</p>\n\n<pre><code>RewriteEn...
2016/10/03
[ "https://webmasters.stackexchange.com/questions/99793", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70648/" ]
Given the following code: ``` <section id="about-us"> <div class="Employee"> <h2>Lorem</h2> </div> <div class="Employee"> <h2>Lorem</h2> </div> </section> <section id="contact"> <form> <input> </form> </section> ``` With the following navigation ``` <nav> <ul> ...
You will want to implement the following in the old domain's .htaccess file: ``` RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.newdomain\.be RewriteRule (.*) http://www.newdomain.be/$1 [R=301,L] ``` And, since your file structure is changing on the new domain you will definitely want to permanently 301 redirect ...
99,824
<p>I am getting "Missing: <code>author</code>, Missing: <code>entry-title</code>, Missing: <code>updated</code>" microformat error in Google's structured data testing tool.</p> <p>I am showing the title in different way on my page that I cannot simple use <code>&lt;h1 class="entry-title"&gt;title...&lt;/h1&gt;</code>....
[ { "answer_id": 99863, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Google only wants you to mark up data that is visible to the user. See their <a href=\"https://...
2016/10/04
[ "https://webmasters.stackexchange.com/questions/99824", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70443/" ]
I am getting "Missing: `author`, Missing: `entry-title`, Missing: `updated`" microformat error in Google's structured data testing tool. I am showing the title in different way on my page that I cannot simple use `<h1 class="entry-title">title...</h1>`. Is it possible to use this with in `meta` so that it (title) do...
Google only wants you to mark up data that is visible to the user. See their [Microformat quality guidelines](https://developers.google.com/search/docs/guides/intro-structured-data#quality-guidelines): > > Markup should not be used to hide content not visible to users in any form, since it might create a misleading o...
99,867
<p>The use case is a document which has multiple versions which are all simultaneously available. For example, documentation on a product for each version of that software:</p> <ul> <li><code>/v1/install-guide</code></li> <li><code>/v2/install-guide</code></li> <li><code>/v3/install-guide</code></li> </ul> <p>These a...
[ { "answer_id": 99892, "author": "norcal johnny", "author_id": 69901, "author_profile": "https://webmasters.stackexchange.com/users/69901", "pm_score": -1, "selected": false, "text": "<p><strong>You can use Page Dates for sorting.</strong></p>\n\n<p>Google estimates a page date based on f...
2016/10/05
[ "https://webmasters.stackexchange.com/questions/99867", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70740/" ]
The use case is a document which has multiple versions which are all simultaneously available. For example, documentation on a product for each version of that software: * `/v1/install-guide` * `/v2/install-guide` * `/v3/install-guide` These are not the same content in the sense that it would be incorrect to specify ...
given your question I have to make the following assumptions: 1. your website is offering a section for install-guides for a product 2. guides differ from product version but stay relevant for customers using older product versions 3. your customers are aware of that and know exactly which version they may need First...
99,891
<p>I've looked over various threads here but nothing that seems to be the same issue. We're currently facing two problems at the moment. If I can address the first problem then it would definitely help diagnose the second issue.</p> <p>Also, I've posted this to google's webmaster forum but no replies yet.</p> <p><str...
[ { "answer_id": 99893, "author": "norcal johnny", "author_id": 69901, "author_profile": "https://webmasters.stackexchange.com/users/69901", "pm_score": 1, "selected": false, "text": "<p>It seems you have a lot going on. </p>\n\n<p>Your robots.txt needs to be looked at. I will leave it at ...
2016/10/05
[ "https://webmasters.stackexchange.com/questions/99891", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70763/" ]
I've looked over various threads here but nothing that seems to be the same issue. We're currently facing two problems at the moment. If I can address the first problem then it would definitely help diagnose the second issue. Also, I've posted this to google's webmaster forum but no replies yet. **Our stack:** Angul...
It seems you have a lot going on. Your robots.txt needs to be looked at. I will leave it at that. Then... * Your text sitemap needs to be html for the site and xml for the search engine, not plain text. * Submit that sitemap to search engines (you can create your sitemap without the #! and it will work.) * Create a ...
99,912
<p>I just noticed that my website, www.dupure.com, just shows a blank screen when I look at the cached information on both Bing and Google. Here's two links:</p> <ul> <li><p><a href="http://webcache.googleusercontent.com/search?q=cache:NbRB3_vqfTYJ:www.dupure.com/+&amp;cd=1&amp;hl=en&amp;ct=clnk&amp;gl=us" rel="nofol...
[ { "answer_id": 99917, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p>I speculate that this is a markup issue within your HTML and HEAD, since \nGoogle's and Bing's cache are...
2016/10/06
[ "https://webmasters.stackexchange.com/questions/99912", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70794/" ]
I just noticed that my website, www.dupure.com, just shows a blank screen when I look at the cached information on both Bing and Google. Here's two links: * [Google cache](http://webcache.googleusercontent.com/search?q=cache:NbRB3_vqfTYJ:www.dupure.com/+&cd=1&hl=en&ct=clnk&gl=us) * [Bing cache](http://cc.bingj.com/cac...
I narrowed it down to a simple test case: ``` <div style="position:relative;"> <script src="http://www.dupure.com/scripts/plugins/modernizr.min.js"></script> HELLO WORLD ``` The div with the relative position is inserted by Google cache and ends up enclosing both the modernizr script and the page contents. The moder...
99,985
<h1>Issue</h1> <p>Many CSP validators like <code>cspvalidator.org</code> tell me that:</p> <blockquote> <p>A draft of the next version of CSP deprecates report-uri in favour of a new report-to directive.</p> </blockquote> <p>I found more information about this on <a href="http://wicg.github.io/reporting/#header"...
[ { "answer_id": 100474, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>It appears that <code>report-to</code> header has been replaced by a <code>report-uri</code> fie...
2016/10/09
[ "https://webmasters.stackexchange.com/questions/99985", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/70856/" ]
Issue ===== Many CSP validators like `cspvalidator.org` tell me that: > > A draft of the next version of CSP deprecates report-uri in favour of > a new report-to directive. > > > I found more information about this on [wicg.github.io](http://wicg.github.io/reporting/#header), but I didn't find an example / a so...
There are examples in [the draft](https://wicg.github.io/reporting/#examples) of the Reporting-Endpoints directive: ``` Reporting-Endpoints = endpoint-1="https://example.com/reports" ``` Your rule is correctly created, as in it returns a valid JSON object, but since the Reporting API is still a draft, most UA haven'...
99,986
<p>I deleted my old site entirely and made a new site 8 months ago. </p> <p>But still in the crawl errors section of Google Search Console, a lot of 404 and not found errors appear. All the URLs are for the old site. </p> <p>How long does it take for Google to stop giving these errors? What can I do in the meantime? ...
[ { "answer_id": 100474, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>It appears that <code>report-to</code> header has been replaced by a <code>report-uri</code> fie...
2016/10/09
[ "https://webmasters.stackexchange.com/questions/99986", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/68844/" ]
I deleted my old site entirely and made a new site 8 months ago. But still in the crawl errors section of Google Search Console, a lot of 404 and not found errors appear. All the URLs are for the old site. How long does it take for Google to stop giving these errors? What can I do in the meantime?
There are examples in [the draft](https://wicg.github.io/reporting/#examples) of the Reporting-Endpoints directive: ``` Reporting-Endpoints = endpoint-1="https://example.com/reports" ``` Your rule is correctly created, as in it returns a valid JSON object, but since the Reporting API is still a draft, most UA haven'...
99,988
<p>I have a lot user profiles links indexed on Google, e.g.:</p> <pre><code>example.com/username </code></pre> <p>Before I have public for each profile ''followings and followers'' and this Google index</p> <pre><code>example.com/username/following example.com/username/followers </code></pre> <p>I hide now follower...
[ { "answer_id": 99994, "author": "Michael Gnessner", "author_id": 69895, "author_profile": "https://webmasters.stackexchange.com/users/69895", "pm_score": -1, "selected": false, "text": "<p>I think you can redirect all links by a 301-Redirect. That's the official way of google.</p>\n" }...
2016/10/09
[ "https://webmasters.stackexchange.com/questions/99988", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59770/" ]
I have a lot user profiles links indexed on Google, e.g.: ``` example.com/username ``` Before I have public for each profile ''followings and followers'' and this Google index ``` example.com/username/following example.com/username/followers ``` I hide now followers and following from public and now all this link...
Since these two pages have been deleted (from *public* view at least) and they have not moved somewhere else - so there is no equivalent page to redirect to - then the appropriate response is a 404 (as you are already doing). However, this should be a *customised 404* with an appropriate link to the parent page (user ...