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
87,691
<p>In my server log, I found at least one IP address to be requesting a full URL in an awkward place. For example, the header the client sends to my server is this:</p> <pre><code>GET http://www.3rdpartysite.com/file.php HTTP/1.1 </code></pre> <p>And here, I'm expecting request headers to be more like this:</p> <pre...
[ { "answer_id": 92444, "author": "Chris Rutherfurd", "author_id": 60702, "author_profile": "https://webmasters.stackexchange.com/users/60702", "pm_score": 0, "selected": false, "text": "<p>These happen all the time. I see this at least a dozen times a day in my server logs. Best bet is to...
2015/12/05
[ "https://webmasters.stackexchange.com/questions/87691", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
In my server log, I found at least one IP address to be requesting a full URL in an awkward place. For example, the header the client sends to my server is this: ``` GET http://www.3rdpartysite.com/file.php HTTP/1.1 ``` And here, I'm expecting request headers to be more like this: ``` GET /path/to/file.php HTTP/1.1...
The [HTTP 1.1 spec](https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html) is very clear that ``` GET /path/to/resource HTTP/1.1 Host: example.com ``` and ``` GET http://example.com/path/to/resource HTTP/1.1 ``` are equivalent requests. This is because the request starts with `Request-Line` which is defined as `...
87,695
<p>Is this bad for SEO? The designers came up with it. Basically there is an icon next to each Header Text. So for each page and the respective header there is an icon associated with the page.</p> <p>Markup:</p> <pre><code>&lt;h1&gt; &lt;span class="span"&gt;&lt;img class="spanImg" src="../img/pageIcon.png"&gt;&lt...
[ { "answer_id": 87698, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 1, "selected": true, "text": "<p>While this code <em>may not</em> cause harm, it is highly recommended that you do not put images or anything...
2015/12/05
[ "https://webmasters.stackexchange.com/questions/87695", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58433/" ]
Is this bad for SEO? The designers came up with it. Basically there is an icon next to each Header Text. So for each page and the respective header there is an icon associated with the page. Markup: ``` <h1> <span class="span"><img class="spanImg" src="../img/pageIcon.png"></span> <span class="text">Header Title Text...
While this code *may not* cause harm, it is highly recommended that you do not put images or anything other than text into a hearer tag. The reason for this is simple. The header tag is an extremely important semantic clue for search engines. It is a content tag and not a format tag. For this reason, header tags should...
87,700
<p>What is the recommended way for linking to external CSS files and JavaScript files on a HTTPS secure webpage, e.g is it better to use: </p> <pre><code>//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css </code></pre> <p>or</p> <pre><code>https://cdnjs.cloudflare.com/ajax/libs/twitter-b...
[ { "answer_id": 87703, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 0, "selected": false, "text": "<p>For compatibility sake, I'd recommend the full absolute URL (second URL) in your case. I'm not...
2015/12/06
[ "https://webmasters.stackexchange.com/questions/87700", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/57210/" ]
What is the recommended way for linking to external CSS files and JavaScript files on a HTTPS secure webpage, e.g is it better to use: ``` //cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css ``` or ``` https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css ...
If the page is on HTTPS, and will only ever be accessed over HTTPS then it doesn't make any difference. (Well, the scheme-relative URL is 6 fewer bytes before compression). If the page will sometimes be accessed over HTTP and sometimes over HTTPS then using a scheme relative URL will make it work consistently. If th...
87,706
<p>Look out, Google official security blog - <a href="http://googleonlinesecurity.blogspot.com" rel="nofollow">http://googleonlinesecurity.blogspot.com</a></p> <p>Above blog forced user to visit https link (without using any kind of JS), but normal Blogger blog serve both content over HTTP as well as HTTPS (Sometimes,...
[ { "answer_id": 87703, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 0, "selected": false, "text": "<p>For compatibility sake, I'd recommend the full absolute URL (second URL) in your case. I'm not...
2015/12/06
[ "https://webmasters.stackexchange.com/questions/87706", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58259/" ]
Look out, Google official security blog - <http://googleonlinesecurity.blogspot.com> Above blog forced user to visit https link (without using any kind of JS), but normal Blogger blog serve both content over HTTP as well as HTTPS (Sometimes, I think, Google official blog have more functionality then normal Blogger). W...
If the page is on HTTPS, and will only ever be accessed over HTTPS then it doesn't make any difference. (Well, the scheme-relative URL is 6 fewer bytes before compression). If the page will sometimes be accessed over HTTP and sometimes over HTTPS then using a scheme relative URL will make it work consistently. If th...
87,729
<p>I have an up and running Apache server working with PHP on a Centos 6 server. Apache was installed using <code>yum -y install httpd mod_ssl</code>. I now wish to add Python.</p> <p>I installed Python as follows:</p> <pre><code>wget http://python.org/ftp/python/3.3.5/Python-3.3.5.tar.xz tar xf Python-3.3.5.tar.xz...
[ { "answer_id": 91323, "author": "isaac kinyua", "author_id": 61946, "author_profile": "https://webmasters.stackexchange.com/users/61946", "pm_score": 0, "selected": false, "text": "<p>A couple things to check:</p>\n\n<ol>\n<li>The script is executable </li>\n<li><code>var-www</code> has ...
2015/12/07
[ "https://webmasters.stackexchange.com/questions/87729", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/49113/" ]
I have an up and running Apache server working with PHP on a Centos 6 server. Apache was installed using `yum -y install httpd mod_ssl`. I now wish to add Python. I installed Python as follows: ``` wget http://python.org/ftp/python/3.3.5/Python-3.3.5.tar.xz tar xf Python-3.3.5.tar.xz cd Python-3.3.5 ./configure --pre...
I didn't use mod\_python yet, but it seems to me that the script is expected to *return* (rather than print) the text to be served, and to contain an `index` function to accomplish this. If you don't define the `index` function, `mod_python` won't know what to do about your module.
87,749
<p>I have an HTML page with unique content (text, images) that contains also a calendar component at the bottom of the page. The calendar markup contains 365 anchor elements that have different URLs and different content.</p> <p>Could search engines penalize the webpage because of having so many URLs?</p> <p>The stru...
[ { "answer_id": 87751, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p>Several hundred links on a page is not unusual these days. Look at this <a href=\"http://www.nic...
2015/12/08
[ "https://webmasters.stackexchange.com/questions/87749", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58503/" ]
I have an HTML page with unique content (text, images) that contains also a calendar component at the bottom of the page. The calendar markup contains 365 anchor elements that have different URLs and different content. Could search engines penalize the webpage because of having so many URLs? The structure of pages wo...
Several hundred links on a page is not unusual these days. Look at this [visualization of the number of links on the home page of the top 98 websites](http://www.nickbilton.com/98/). Most have hundreds of links. Google can't drop pages with hundreds of links without effecting all these popular home pages. A calendar w...
87,787
<p>I want to create wildcard sub domains and all should point the same main domain's directory. And I read some articles and made this, </p> <pre><code>*.example.com </code></pre> <p>Now, if I type any sub domain it shows <code>pageok</code>. Now, how to make all the sub domains to point the same main domain. ?</p>
[ { "answer_id": 87761, "author": "Hendry Soong", "author_id": 58390, "author_profile": "https://webmasters.stackexchange.com/users/58390", "pm_score": 0, "selected": false, "text": "<p>this is duplicated content, and it is unlikely that they will be indexed in any case even if you use set...
2015/12/09
[ "https://webmasters.stackexchange.com/questions/87787", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58320/" ]
I want to create wildcard sub domains and all should point the same main domain's directory. And I read some articles and made this, ``` *.example.com ``` Now, if I type any sub domain it shows `pageok`. Now, how to make all the sub domains to point the same main domain. ?
If you want to prevent the duplicate content issues you can use the following options- 1. `< META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">` - This tells the Google Spider not to crawl that page (<http://www.metatags.org/meta_name_robots>). 2. `Disallow: [the URL path you want to block]` - Products directories can be...
87,817
<p>I am working on a website that has permalinks in this form:</p> <pre><code>example.com/my-content-is-here-123 example.com/another-content-page-234 </code></pre> <p>The numbers at the end represent the page/post unique ID.</p> <p>I have a lot of backlinks lost because of typos. Probably people wrote the links manu...
[ { "answer_id": 87818, "author": "James John", "author_id": 58364, "author_profile": "https://webmasters.stackexchange.com/users/58364", "pm_score": 2, "selected": false, "text": "<p>No, it won't affect. Google spiders follow HTTP locations which 301 is one of them </p>\n\n<blockquote>\n ...
2015/12/10
[ "https://webmasters.stackexchange.com/questions/87817", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37417/" ]
I am working on a website that has permalinks in this form: ``` example.com/my-content-is-here-123 example.com/another-content-page-234 ``` The numbers at the end represent the page/post unique ID. I have a lot of backlinks lost because of typos. Probably people wrote the links manually instead of using copy paste....
Redirecting typo URLs does not cause any SEO problems. In fact, I would call it an SEO best practice. It actually helps your SEO. When somebody creates a broken link to your site due to a typo, users that click can't get to the right page easily without a redirect. Similarly, search engine spiders can't properly attri...
87,831
<p>I am trying to include the following in my response header to all resources in multiple directories (dirone/dirtwo/dirthree/direfour) from an Apache server.</p> <pre><code>X-Robots-Tag: noindex, nofollow </code></pre> <p>In my httpd.conf file I have added the setting to the dirone underneath my main directory decl...
[ { "answer_id": 87822, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<p>Setting a <code>rel=\"canonical\"</code> doesn't necessarily prevent both (canonical and non-canonical) URLs fro...
2015/12/10
[ "https://webmasters.stackexchange.com/questions/87831", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58575/" ]
I am trying to include the following in my response header to all resources in multiple directories (dirone/dirtwo/dirthree/direfour) from an Apache server. ``` X-Robots-Tag: noindex, nofollow ``` In my httpd.conf file I have added the setting to the dirone underneath my main directory declaration. It is not produc...
Setting a `rel="canonical"` doesn't necessarily prevent both (canonical and non-canonical) URLs from being "indexed", but it indicates a preference as to which URL should be returned in the SERPs. If Google recognises that both URLs do indeed serve the same content then in time, Google *should* return only the canonic...
87,900
<p>Does anyone know if Googlebot will follow and index web pages that are only listed in the <code>head</code> of a HTML page with a <code>link</code>-<code>hreflang</code> element?</p> <pre><code>&lt;link hreflang="fr" rel="alternate" href="http://example.io/fr/page/webpage" /&gt; </code></pre>
[ { "answer_id": 87902, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 1, "selected": false, "text": "<p>As closetnoc states, Google's main business is to seek and crawl links in hopes that valuable ...
2015/12/13
[ "https://webmasters.stackexchange.com/questions/87900", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/49185/" ]
Does anyone know if Googlebot will follow and index web pages that are only listed in the `head` of a HTML page with a `link`-`hreflang` element? ``` <link hreflang="fr" rel="alternate" href="http://example.io/fr/page/webpage" /> ```
As closetnoc states, Google's main business is to seek and crawl links in hopes that valuable pages are returned and if they are, they are then indexed. Therefore, unless you explicitly point out to google not to index a certain page, it will crawl everything. Here's a few ways to stop google from indexing pages you d...
87,926
<p>I have a mod_rewrite to allow <code>example.com/location</code> as <code>example.com/?page=location</code></p> <pre><code>RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} !^page RewriteRule ^(.*)/?$ /?page=$1 [L] </code></pre> <p>But how do I ignore certain files or all folders, so my <code>example.com/s...
[ { "answer_id": 87930, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 2, "selected": false, "text": "<p>This should work:</p>\n<pre><code>RewriteEngine On\nRewriteCond %{REQUEST_URI} !\\.png$ [NC]\n...
2015/12/14
[ "https://webmasters.stackexchange.com/questions/87926", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/56316/" ]
I have a mod\_rewrite to allow `example.com/location` as `example.com/?page=location` ``` RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} !^page RewriteRule ^(.*)/?$ /?page=$1 [L] ``` But how do I ignore certain files or all folders, so my `example.com/styles.css` and `example.com/scripts.js` are not chan...
Instead of making exceptions for a growing list of expected file types, it is more usual (and more flexible) to just make an exception if the file exists (or, optionally, is a directory). For example: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{QUERY_STRIN...
87,940
<p>I had a look at the article structured data as proposed by Google and saw that there are a new required and recommended fields, they weren't there last week. Here is the link:</p> <p><a href="https://developers.google.com/structured-data/rich-snippets/articles">https://developers.google.com/structured-data/rich-sni...
[ { "answer_id": 87982, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 5, "selected": true, "text": "<p>The <a href=\"http://schema.org/mainEntityOfPage\" rel=\"noreferrer\"><code>mainEntityOfPage</code> property</a> ...
2015/12/15
[ "https://webmasters.stackexchange.com/questions/87940", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14539/" ]
I had a look at the article structured data as proposed by Google and saw that there are a new required and recommended fields, they weren't there last week. Here is the link: <https://developers.google.com/structured-data/rich-snippets/articles> The first property on the list is : * mainEntityOfPage.@id (recommende...
The [`mainEntityOfPage` property](http://schema.org/mainEntityOfPage) is used to give the URL of a page on which the *thing* is the main entity. It might become clearer if you look at the inverse property [`mainEntity`](http://schema.org/mainEntity): this gives the main entity for a page ([see an example](https://webma...
87,977
<p>The <a href="https://support.google.com/adsense/answer/6307124" rel="noreferrer">AdSense responsive format</a> sizes the advertising only on load. If the user resizes the window (from large to small), the advertising is not resized (even with media queries) and keeps its initiale size. It seems that <a href="https:/...
[ { "answer_id": 88644, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": -1, "selected": false, "text": "<p>Yes, it is possible without tos violation: <a href=\"https://web.archive.org/web/20160324182143/http://abueg...
2015/12/16
[ "https://webmasters.stackexchange.com/questions/87977", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6861/" ]
The [AdSense responsive format](https://support.google.com/adsense/answer/6307124) sizes the advertising only on load. If the user resizes the window (from large to small), the advertising is not resized (even with media queries) and keeps its initiale size. It seems that [we are only allowed](https://support.google.co...
You can use [jQuery](https://code.jquery.com) and [resize event](https://api.jquery.com/resize/) to reload adsense code after the user resizes the window. ``` $(window).resize(function(){ reloadAdsense(); }); ``` In order to prevent a problem with Adsense TOS, make sure it is reloaded with some delay. ``` $(func...
87,981
<p>I want to use Apache's <code>mod_rewrite</code> to redirect <em>all</em> URLs that does not end with <code>/feed</code> to a secure URL (identical, but starting with <code>https</code>), and leave all that ends with <code>/feed</code> unaltered:</p> <p>I want this:</p> <pre><code>http://example.com/node/1234 =&gt;...
[ { "answer_id": 87984, "author": "Martijn", "author_id": 37448, "author_profile": "https://webmasters.stackexchange.com/users/37448", "pm_score": 4, "selected": true, "text": "<p>You can use <code>$</code> which means \"Ends\" </p>\n\n<pre><code>RewriteEngine on\nRewriteCond %{HTTPS} !=on...
2015/12/16
[ "https://webmasters.stackexchange.com/questions/87981", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21207/" ]
I want to use Apache's `mod_rewrite` to redirect *all* URLs that does not end with `/feed` to a secure URL (identical, but starting with `https`), and leave all that ends with `/feed` unaltered: I want this: ``` http://example.com/node/1234 => https://example.com/node/1234 http://example.com/blog/feed => http://examp...
You can use `$` which means "Ends" ``` RewriteEngine on RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !/feed$ # "Ends with /feed" ------------^ RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] ```
87,987
<p>I am currently working on a website and I have successfully installed my SSL certificate.</p> <p>The GeoTrust SSL/TLS checker confirmed that the certificate chain (including CA) is properly installed. Everything looks fine on Chrome but my padlock is not green and on Firefox it actually states that the website is n...
[ { "answer_id": 87988, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 6, "selected": true, "text": "<p>Your image tags must currently look like:</p>\n\n<pre><code>&lt;img src=\"http://example.com/image...
2015/12/16
[ "https://webmasters.stackexchange.com/questions/87987", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58735/" ]
I am currently working on a website and I have successfully installed my SSL certificate. The GeoTrust SSL/TLS checker confirmed that the certificate chain (including CA) is properly installed. Everything looks fine on Chrome but my padlock is not green and on Firefox it actually states that the website is not secure ...
Your image tags must currently look like: ``` <img src="http://example.com/images/image.jpg"> ``` That `http` in there means that the image is NOT served securely. An attacker could change the image in transit and thereby change how your otherwise secure page looks to your users. Instead you could use any of the fo...
87,994
<p>I'm not sure how to word this. But basically when you search our company's name, some of our clients are coming up in the results. That alone is strange because we don't have any links outbound to them and only one or two inbound from their site to ours. Even stranger is that the links go to broken pages or show m...
[ { "answer_id": 87995, "author": "David K.", "author_id": 9123, "author_profile": "https://webmasters.stackexchange.com/users/9123", "pm_score": 2, "selected": false, "text": "<p>A quick ahrefs check shows 55 outgoing links to said domain as well as some weird interlinking-profile going o...
2015/12/16
[ "https://webmasters.stackexchange.com/questions/87994", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58748/" ]
I'm not sure how to word this. But basically when you search our company's name, some of our clients are coming up in the results. That alone is strange because we don't have any links outbound to them and only one or two inbound from their site to ours. Even stranger is that the links go to broken pages or show meta d...
Using site:desainc.com in a Google search you can see all the links for this domain. It is only the https links that are the issue, which means that your server has a default SSL certificate pointing at the dubose.com site so any additional domains being hosted on this server and being accessed via https without a dedi...
87,996
<p>Basically, I have two sites, each for separate language:</p> <ul> <li><code>example.com</code> (for EN readers)</li> <li><code>example.pl</code> (for pl_PL readers)</li> </ul> <p>Data on these sites is not exactly the same, so I cannot link one subpage from language 1 to another in language 2 (<code>example.pl/art...
[ { "answer_id": 88024, "author": "marcanuy", "author_id": 18400, "author_profile": "https://webmasters.stackexchange.com/users/18400", "pm_score": 2, "selected": false, "text": "<p>There is a key concept for handling multilingual sites that follow good SEO practices: <strong>Alternate hre...
2015/12/16
[ "https://webmasters.stackexchange.com/questions/87996", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58750/" ]
Basically, I have two sites, each for separate language: * `example.com` (for EN readers) * `example.pl` (for pl\_PL readers) Data on these sites is not exactly the same, so I cannot link one subpage from language 1 to another in language 2 (`example.pl/article1.html` → `example.com/article2.html`) as there can be no...
There is a key concept for handling multilingual sites that follow good SEO practices: **Alternate href tag** Between your multilingual sites, you need to tell search engines which page from language A is the translated version with language. In your case you can just specify both domains alternate tags languages in h...
87,998
<p>I'm trying to deploy a Django app, and I tried to follow the tutorial at <code>robhogg.me.uk/post/2</code>, but it fails at the third command. Is it possible to deploy a Django app on my 1and1 hosting or will I need to look for another host provider? </p>
[ { "answer_id": 88008, "author": "Arun Anson", "author_id": 58167, "author_profile": "https://webmasters.stackexchange.com/users/58167", "pm_score": 1, "selected": false, "text": "<p>Mostly it won't be possible unless you contact the support and ask if they can help it out.</p>\n\n<ol>\n<...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/87998", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58753/" ]
I'm trying to deploy a Django app, and I tried to follow the tutorial at `robhogg.me.uk/post/2`, but it fails at the third command. Is it possible to deploy a Django app on my 1and1 hosting or will I need to look for another host provider?
It is possoble using FastCGI and flup. You need to install django locally ``` python setup.py install --user ``` install flup ``` unzip flup*.egg mv flup ~/.local/lib/python*/site-packages/ mv EGG-INFO ~/.local/lib/python*/site-packages/ ``` create fcgi script ``` #!/usr/bin/python import sys, os basepath = '/...
88,014
<p>I have this snippet:</p> <pre><code>&lt;p&gt;&lt;a href="http://www.example.com"&gt;Link to example site.&lt;/a&gt; &lt;/p&gt; </code></pre> <hr> <pre><code>a:link{ color:green; text-decoration:none; } a:visited{ color:pink; text-decoration:underline; } a:hover{ color:yellow; text-decoration:underl...
[ { "answer_id": 88015, "author": "Mûhámmàd Yäsår K", "author_id": 58761, "author_profile": "https://webmasters.stackexchange.com/users/58761", "pm_score": 3, "selected": false, "text": "<p>The functionality of <code>:visited</code> pseudoclass has been restricted in many modern browsers (...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/88014", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58759/" ]
I have this snippet: ``` <p><a href="http://www.example.com">Link to example site.</a> </p> ``` --- ``` a:link{ color:green; text-decoration:none; } a:visited{ color:pink; text-decoration:underline; } a:hover{ color:yellow; text-decoration:underline; } ``` Can someone explain why the `text-decoratio...
The functionality of `:visited` pseudoclass has been restricted in many modern browsers (Fx4, IE9, Chrome) to prevent CSS exploit. You can read about it [here](https://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/), but the crux is: > > For many years the CSS `:visited` selector has been a...
88,017
<p>Check this sample code</p> <pre><code>&lt;p style="font-size:30px"&gt;HTML&lt;/p&gt; &lt;br&gt; &lt;p style="font-size:30em"&gt;HTML&lt;/p&gt; </code></pre> <p>What is the difference between em and px ?<br> In which place should I use em and in which place should I use px?</p>
[ { "answer_id": 88018, "author": "Martijn", "author_id": 37448, "author_profile": "https://webmasters.stackexchange.com/users/37448", "pm_score": 3, "selected": false, "text": "<p>Pixels is absolute. If you tell it to be 30px, it's gonna be 30px, no matter how you use it.</p>\n\n<p>EM is ...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/88017", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58759/" ]
Check this sample code ``` <p style="font-size:30px">HTML</p> <br> <p style="font-size:30em">HTML</p> ``` What is the difference between em and px ? In which place should I use em and in which place should I use px?
Pixels is absolute. If you tell it to be 30px, it's gonna be 30px, no matter how you use it. EM is relative. It multiplies with the inherited definition it has. 30em makes it 30 times the inherited definition. **Some examples assuming** ``` body{ font-size: 10px;} .px{ font-size: 15px; } .em{ font-size: 2.5em; } `...
88,025
<p>Let's cut to the chase. I have this website all set up and everything, but when I type "lissa mariage" on google it shows <a href="https://i.stack.imgur.com/SJrQF.png" rel="nofollow noreferrer">this</a> in translation from Romanian it says: "pages_rss_title"</p> <p>I noticed the description that said the robots....
[ { "answer_id": 88027, "author": "dasickle", "author_id": 38954, "author_profile": "https://webmasters.stackexchange.com/users/38954", "pm_score": 2, "selected": false, "text": "<p>Sometimes Google crawls webpages before the proper title is setup so you might not have the right title disp...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/88025", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58771/" ]
Let's cut to the chase. I have this website all set up and everything, but when I type "lissa mariage" on google it shows [this](https://i.stack.imgur.com/SJrQF.png) in translation from Romanian it says: "pages\_rss\_title" I noticed the description that said the robots.txt is missing, but it was there and it looked...
Sometimes Google crawls webpages before the proper title is setup so you might not have the right title displayed. That however goes away soon after the page is crawled again. The message you are seeing basically says that this particular page is blocked by your robots.txt. Your former co-worked just blocked all web c...
88,033
<p><em>Simple HTML code example:</em></p> <pre><code>&lt;p&gt;font family&lt;/p&gt; </code></pre> <p><em>Simple CSS code example:</em></p> <pre><code>p { font-family: Arial, Helvettica, sans-serif; } </code></pre> <ol> <li>Browser looks for <code>Arial</code></li> <li><code>Arial</code> is <strong>not present</...
[ { "answer_id": 88034, "author": "Joel Etherton", "author_id": 1265, "author_profile": "https://webmasters.stackexchange.com/users/1265", "pm_score": 2, "selected": false, "text": "<p>It will resort to the default font of the browser. In this case with the sans-serif specification it woul...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/88033", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58759/" ]
*Simple HTML code example:* ``` <p>font family</p> ``` *Simple CSS code example:* ``` p { font-family: Arial, Helvettica, sans-serif; } ``` 1. Browser looks for `Arial` 2. `Arial` is **not present** then it looks for `Helvettica` 3. `Helvettica` is **not present** then it looks for `sans-serif` *Questions* ...
It will not use the browser default font. But rather it will use the default sans-serif font. Since the last font in the font stack is not a specific font. It is a generic name. Some browsers allow you to set it or it will default to the OS of the users computer. Reference URL: <https://developer.mozilla.org/en-US/doc...
88,039
<p>Most sources of documentation state that one can declare a webpage a duplicate of another by applying this tag on the duplicate page:</p> <pre><code>&lt;link rel="canonical" href="(absolute URL to original page)"&gt; </code></pre> <p>I could generate the above tag via the script below:</p> <pre><code>&lt;script&g...
[ { "answer_id": 88034, "author": "Joel Etherton", "author_id": 1265, "author_profile": "https://webmasters.stackexchange.com/users/1265", "pm_score": 2, "selected": false, "text": "<p>It will resort to the default font of the browser. In this case with the sans-serif specification it woul...
2015/12/17
[ "https://webmasters.stackexchange.com/questions/88039", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
Most sources of documentation state that one can declare a webpage a duplicate of another by applying this tag on the duplicate page: ``` <link rel="canonical" href="(absolute URL to original page)"> ``` I could generate the above tag via the script below: ``` <script> var l=document.createElement('Link'); l.rel='c...
It will not use the browser default font. But rather it will use the default sans-serif font. Since the last font in the font stack is not a specific font. It is a generic name. Some browsers allow you to set it or it will default to the OS of the users computer. Reference URL: <https://developer.mozilla.org/en-US/doc...
88,043
<p>When e-mail addresses are mentioned on the web, I see a lot of:</p> <pre><code>send (dot) me (at) spam (dot) com send . me (a) spam . com </code></pre> <p>etc.</p> <p>Does it really help againt spambots finding the addresses to do these kinds of tricks?</p>
[ { "answer_id": 88044, "author": "garth", "author_id": 58496, "author_profile": "https://webmasters.stackexchange.com/users/58496", "pm_score": 4, "selected": true, "text": "<blockquote>\n<p><strong>Yes, different email obfuscation methods do work with varying degrees\nof success.</strong...
2015/12/18
[ "https://webmasters.stackexchange.com/questions/88043", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26764/" ]
When e-mail addresses are mentioned on the web, I see a lot of: ``` send (dot) me (at) spam (dot) com send . me (a) spam . com ``` etc. Does it really help againt spambots finding the addresses to do these kinds of tricks?
> > **Yes, different email obfuscation methods do work with varying degrees > of success.** > > > **But each has to be weighed with whether they affect the ability for your customers to communicate easily with you.** I wouldn't want to be > losing any business just because a user finds it annoying or time > consumin...
88,089
<p>I am trying to do a rewrite of the site from</p> <pre><code>http://www.example.com/folder/site?data%5Bbranch%5D=xyz </code></pre> <p>to</p> <pre><code>http://www.example2.com/test/ </code></pre> <p>Already tried the query string but facing issues with <code>%</code>. Any help?</p>
[ { "answer_id": 88090, "author": "Kevin", "author_id": 58855, "author_profile": "https://webmasters.stackexchange.com/users/58855", "pm_score": 1, "selected": false, "text": "<p>Seems like I found an answer to my own question. Guess it is the right way to do it, but anyway:</p>\n\n<pre><c...
2015/12/20
[ "https://webmasters.stackexchange.com/questions/88089", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58855/" ]
I am trying to do a rewrite of the site from ``` http://www.example.com/folder/site?data%5Bbranch%5D=xyz ``` to ``` http://www.example2.com/test/ ``` Already tried the query string but facing issues with `%`. Any help?
Note that if you need to match against the query string, you need to compare against the `QUERY_STRING` server variable in a mod\_rewrite `RewriteCond` directive. You can't match against the query string using a mod\_alias `Redirect` (or `RedirectMatch`) or the `RewriteRule` (mod\_rewrite) *pattern* - these all match a...
88,134
<p>Could anybody please tell me how to rewrite</p> <pre><code>http://example.com/forum/topic/topic-name </code></pre> <p>to</p> <pre><code>http://example.com/topic/topic-name </code></pre> <p>I do not want to simply rewrite <code>http://example.com/forum</code> to <code>http://example.com/</code> for every URL, but...
[ { "answer_id": 88139, "author": "Stephan", "author_id": 30563, "author_profile": "https://webmasters.stackexchange.com/users/30563", "pm_score": 1, "selected": false, "text": "<p>You won't actually need any complicated regular expressions for this particular use case: a straightforward <...
2015/12/21
[ "https://webmasters.stackexchange.com/questions/88134", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/48719/" ]
Could anybody please tell me how to rewrite ``` http://example.com/forum/topic/topic-name ``` to ``` http://example.com/topic/topic-name ``` I do not want to simply rewrite `http://example.com/forum` to `http://example.com/` for every URL, but: `http://example.com/forum/A/...` to `http://example.com/A/...` if and...
Since you are already using mod\_rewrite to internally rewrite the request, you will need to use mod\_rewrite to perform this redirect, otherwise there will be a conflict. Try the following *before* your existing rules: ``` RewriteRule ^forum/(topic)/(.*) /$1/$2 [R=302,L] ``` This should *redirect*\* `/forum/topic/...
88,175
<p>My host gave me a subdomain of their domain that has HTTPS: </p> <pre><code>https://mysite.example.com </code></pre> <p>My own domain name has no SSL installed, so the only way I can take advantage of encryption is by using the address above</p> <p>I would like to secure the registration page of my website by put...
[ { "answer_id": 88181, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p>Will the submitted data be secured and encrypted normally?</p>\n</blockquote>\n\n<p>Yes, when th...
2015/12/22
[ "https://webmasters.stackexchange.com/questions/88175", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58936/" ]
My host gave me a subdomain of their domain that has HTTPS: ``` https://mysite.example.com ``` My own domain name has no SSL installed, so the only way I can take advantage of encryption is by using the address above I would like to secure the registration page of my website by putting a form on my HTTP website. T...
> > Will the submitted data be secured and encrypted normally? > > > Yes, when the data is submitted from HTTP to HTTPS (via the form's `action` attribute), the data will be sent via an encrypted connection. However, the user will probably be unaware of this, so the "user trust" that HTTPS provides is non-existent...
88,180
<p>I do not want ANY of my alleged website to be crawled and downloaded (css, images, html, etc). Is there a way to block wget completely?</p>
[ { "answer_id": 88182, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 3, "selected": true, "text": "<p>Yes and No. Let me explain.</p>\n\n<p>Any user can change the User Agent string that Wget uses. If the strin...
2015/12/22
[ "https://webmasters.stackexchange.com/questions/88180", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58943/" ]
I do not want ANY of my alleged website to be crawled and downloaded (css, images, html, etc). Is there a way to block wget completely?
Yes and No. Let me explain. Any user can change the User Agent string that Wget uses. If the string is *not* changed, then Wget can easily be captured using the following in your .htaccess file. ``` RewriteCond %{HTTP_USER_AGENT} wget.* [NC] RewriteRule .* - [F,L] ``` However, if the User Agent string is changed, t...
88,188
<p>How would you write microdata for hotels with ratings classified as "1-star" to "5-star" hotels? Looking at <a href="http://schema.org/Hotel" rel="nofollow">http://schema.org/Hotel</a>, I see no "Rating" property but only an "aggregateRating" one which is for multiple ratings from reviews. For reference, here's an e...
[ { "answer_id": 88197, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Traditional hotel star ratings are not based on reviews and would not be appropriate to use the <...
2015/12/23
[ "https://webmasters.stackexchange.com/questions/88188", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/33912/" ]
How would you write microdata for hotels with ratings classified as "1-star" to "5-star" hotels? Looking at <http://schema.org/Hotel>, I see no "Rating" property but only an "aggregateRating" one which is for multiple ratings from reviews. For reference, here's an explanation of the Star Rating system <http://www.hotel...
Types and properties for hotels [are proposed](https://github.com/schemaorg/schemaorg/pull/916) and will likely be part of the next Schema.org release (2.3). In this proposal, [`Hotel`](http://sdo-hotels.appspot.com/Hotel)¹ can have the property [`starRating`](http://sdo-hotels.appspot.com/starRating)¹: > > An offic...
88,243
<p>What I have setup on my site is a pagination unit that consists of two clickable arrows representing previous and next pages, and in between them, I have clickable numbers.</p> <p>Each number is styled nicely, however, the number representing the current page is highlighted, but the HTML element I use for the selec...
[ { "answer_id": 88244, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": true, "text": "<p>The parent element should it be a <code>&lt;li&gt;</code>, <code>&lt;p&gt;</code> or <code>&lt;div&gt;</c...
2015/12/25
[ "https://webmasters.stackexchange.com/questions/88243", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
What I have setup on my site is a pagination unit that consists of two clickable arrows representing previous and next pages, and in between them, I have clickable numbers. Each number is styled nicely, however, the number representing the current page is highlighted, but the HTML element I use for the selected page n...
The parent element should it be a `<li>`, `<p>` or `<div>` makes no difference, all are valid parents, and Google will not factor this into the results, why would it?... as said in previous answers, questions, Google cares little about your mark-up, as why should Google? Your visitors don't see your mark-up, they see t...
88,257
<p>I would like to deny <code>archive.is</code> from having access to my website. (I do not want this website to cache mine without my consent).</p> <p>Do you know if it is possible?</p>
[ { "answer_id": 88262, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 3, "selected": false, "text": "<p>Okay. This is a new one (to me at least) and quite interesting so far. I will not get into the weeds on thi...
2015/12/26
[ "https://webmasters.stackexchange.com/questions/88257", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59020/" ]
I would like to deny `archive.is` from having access to my website. (I do not want this website to cache mine without my consent). Do you know if it is possible?
Okay. This is a new one (to me at least) and quite interesting so far. I will not get into the weeds on this. When I wrote this, I was working on little or no sleep. I missed a few things which @unor has kindly pointed out and so I must temper my answer and give credit where credit is due. Thank you @unor! Archive.is...
88,258
<p>For example "John ran the NYC Marathon in 3 hours 4 minutes 5 seconds" (note that the action is in the past).</p> <p>Does the following make semantic sense?</p> <pre class="lang-html prettyprint-override"><code>&lt;div itemscope itemtype="https://schema.org/ExerciseAction"&gt; &lt;div itemprop="agent" itemscop...
[ { "answer_id": 88264, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 1, "selected": false, "text": "<p>I think the first variant (<code>ExerciseAction</code> → <code>event</code> → <code>SportsEvent</code>) makes mo...
2015/12/26
[ "https://webmasters.stackexchange.com/questions/88258", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59021/" ]
For example "John ran the NYC Marathon in 3 hours 4 minutes 5 seconds" (note that the action is in the past). Does the following make semantic sense? ```html <div itemscope itemtype="https://schema.org/ExerciseAction"> <div itemprop="agent" itemscope itemtype="https://schema.org/Person"> <span itemprop="name">J...
Real-life example: Wilson Kipsang of Kenya finished the New York Marathon in 2 hours 12 minutes 45 seconds. He was 4th male of 28914 males. ``` schema.org/ExerciseAction additionalType "http://www.productontology.org/id/Long-distance_running" distance "26 miles" event > schema.org/SportsEvent addit...
88,322
<p>I have a few questions about elements, and which elements Google uses to display our websites. For instance, does Google use the regular <code>title</code> element to display the titles of our website, or the <code>meta</code>-<code>og:title</code> element to do so? So, when searching our websites, does "Title1" or ...
[ { "answer_id": 88323, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 1, "selected": false, "text": "<p>In your example,</p>\n\n<pre><code>&lt;meta property='og:title' content='Title2' /&gt;\n</code></pre>\n\n<p...
2015/12/28
[ "https://webmasters.stackexchange.com/questions/88322", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/56909/" ]
I have a few questions about elements, and which elements Google uses to display our websites. For instance, does Google use the regular `title` element to display the titles of our website, or the `meta`-`og:title` element to do so? So, when searching our websites, does "Title1" or "Title2" show up? ``` <title>Title1...
Here Google pick your title in this order. 1. Google prefer this first `<title> Google Strongly use this Webpage Title </title>`. 2. Google can also use your H1 tag, [DMOZ directory](https://support.google.com/webmasters/answer/35624?hl=en), and Anchor text(if title tag is absent). And Google don't use [Open Graph Pr...
88,348
<p>I have 2 domains let say redd.it and reddit.com.</p> <p>Now how might I let google index the reddit.com but have users browse redd.it?</p> <p>The purpose of this would allow the address bar to be shorter and automatically give the users a shorter domain(although not technically a url shortner) while allowing Googl...
[ { "answer_id": 88349, "author": "Mani", "author_id": 49436, "author_profile": "https://webmasters.stackexchange.com/users/49436", "pm_score": 0, "selected": false, "text": "<p>There is not much difference between reddit.com &amp; redd.it, If it is your real domain names are short like th...
2015/12/30
[ "https://webmasters.stackexchange.com/questions/88348", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4494/" ]
I have 2 domains let say redd.it and reddit.com. Now how might I let google index the reddit.com but have users browse redd.it? The purpose of this would allow the address bar to be shorter and automatically give the users a shorter domain(although not technically a url shortner) while allowing Google to use reddit.c...
You can have the `.com` domain automatically frame itself using the `.it` domain. You would maintain a parallel set of URLs. So `page.html` would have: * `http://example.it/page.html` * `http://example.com/page.html` On `example.it` you would have a simple frameset that would: * Include the content from `example.com...
88,368
<p>I am doing an SEO project and I noticed that all of the meta tags have an "og" in the <code>property</code> attribute of the tag, such as:</p> <pre class="lang-html prettyprint-override"><code>&lt;meta property="og:title" content="" /&gt; &lt;meta property="og:type" content="" /&gt; &lt;meta property="og:url" conte...
[ { "answer_id": 88349, "author": "Mani", "author_id": 49436, "author_profile": "https://webmasters.stackexchange.com/users/49436", "pm_score": 0, "selected": false, "text": "<p>There is not much difference between reddit.com &amp; redd.it, If it is your real domain names are short like th...
2015/12/30
[ "https://webmasters.stackexchange.com/questions/88368", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59127/" ]
I am doing an SEO project and I noticed that all of the meta tags have an "og" in the `property` attribute of the tag, such as: ```html <meta property="og:title" content="" /> <meta property="og:type" content="" /> <meta property="og:url" content="" /> <meta property="og:image" content="" /> <meta property="og:site_na...
You can have the `.com` domain automatically frame itself using the `.it` domain. You would maintain a parallel set of URLs. So `page.html` would have: * `http://example.it/page.html` * `http://example.com/page.html` On `example.it` you would have a simple frameset that would: * Include the content from `example.com...
88,382
<p>I'm in the process of adding yet another layer of security to some of my WordPress installs, since some of my customers sites use shared hosting, and generally they do not ban users for brute force attempts on the WordPress login pages. Generally I would use fail2ban but sadly these accounts are on shared hosting an...
[ { "answer_id": 89005, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 1, "selected": false, "text": "<p>Try this if you have rewrite module installed:</p>\n\n<pre><code>RewriteEngine On\nRewriteCond...
2015/12/31
[ "https://webmasters.stackexchange.com/questions/88382", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20604/" ]
I'm in the process of adding yet another layer of security to some of my WordPress installs, since some of my customers sites use shared hosting, and generally they do not ban users for brute force attempts on the WordPress login pages. Generally I would use fail2ban but sadly these accounts are on shared hosting and n...
Try this if you have rewrite module installed: ``` RewriteEngine On RewriteCond %{REQUEST_URI} ^(.*)wp-login.php$ RewriteCond %{REMOTE_ADDR} !^xxx\.xxx\.xxx\.xxx$ RewriteRule ^(.*)$ - [R=403,L] ``` replace the xxx's with each octet of your IP address. For example, if your IP address is 111.222.333.444, then replace ...
88,387
<p>I'm trying to count clicks on links leaving my site. For example, I have to count clicks on this link <code>http://portal.adp.com/public/index.htm</code> and I'm working from documentation at Tag Manager Help &gt; <a href="https://support.google.com/tagmanager/answer/6106716?rd=1" rel="nofollow noreferrer">Google An...
[ { "answer_id": 92145, "author": "VERB Interactive", "author_id": 61607, "author_profile": "https://webmasters.stackexchange.com/users/61607", "pm_score": 1, "selected": false, "text": "<p>The easiest way to track outgoing link clicking is by making a <code>variable</code> of type <code>C...
2015/12/31
[ "https://webmasters.stackexchange.com/questions/88387", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/50956/" ]
I'm trying to count clicks on links leaving my site. For example, I have to count clicks on this link `http://portal.adp.com/public/index.htm` and I'm working from documentation at Tag Manager Help > [Google Analytics Events](https://support.google.com/tagmanager/answer/6106716?rd=1) Step 3 under **Clicks on Links** d...
The easiest way to track outgoing link clicking is by making a `variable` of type `Custom JavaScript`. Make sure that you have the two built in variables `Click URL` and `Page Hostname` enabled. In the JS variable you can then compare these two. Basically my script returns true or false by checking: `{{Click URL}}.in...
88,392
<p>Let me make clear. I added a html/javascript code on my blogger for disabling copying of contents. The code is :</p> <pre><code>&lt;script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'&gt;&lt;/script&gt;&lt;script type='text/javascript'&gt; if(typeof document.onselectstart!="undefined" ) {document...
[ { "answer_id": 92145, "author": "VERB Interactive", "author_id": 61607, "author_profile": "https://webmasters.stackexchange.com/users/61607", "pm_score": 1, "selected": false, "text": "<p>The easiest way to track outgoing link clicking is by making a <code>variable</code> of type <code>C...
2015/12/31
[ "https://webmasters.stackexchange.com/questions/88392", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59060/" ]
Let me make clear. I added a html/javascript code on my blogger for disabling copying of contents. The code is : ``` <script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><script type='text/javascript'> if(typeof document.onselectstart!="undefined" ) {document.onselectstart=new Function ("re...
The easiest way to track outgoing link clicking is by making a `variable` of type `Custom JavaScript`. Make sure that you have the two built in variables `Click URL` and `Page Hostname` enabled. In the JS variable you can then compare these two. Basically my script returns true or false by checking: `{{Click URL}}.in...
88,423
<p>I'm looking for the SEO way to tell Google not to download pictures.</p> <p>I have a script that generates one of two things based on who accesses the site:</p> <p>If an unauthorized robot accesses the site, they will receive a message that they should visit the website first.</p> <p>Users on the other hand who h...
[ { "answer_id": 88412, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 6, "selected": true, "text": "<p>Only in the sense that your page will download faster and Google gives you points for that because a faster page loa...
2016/01/02
[ "https://webmasters.stackexchange.com/questions/88423", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
I'm looking for the SEO way to tell Google not to download pictures. I have a script that generates one of two things based on who accesses the site: If an unauthorized robot accesses the site, they will receive a message that they should visit the website first. Users on the other hand who have seen the site first ...
Only in the sense that your page will download faster and Google gives you points for that because a faster page load is a better user experience. Otherwise, minimizing your page has no other impact.
88,492
<p>I have a proxy at <a href="http://rahul2001.com/proxy/" rel="nofollow noreferrer">http://rahul2001.com/proxy/</a></p> <p>I site can be 'proxied' by like this: <code>http://rahul2001.com/proxy/proxy.php/http://site-to-be-proxied.example.com/</code></p> <p>The problem is that Google seems to be crawling pages throug...
[ { "answer_id": 88489, "author": "Robert hue", "author_id": 57148, "author_profile": "https://webmasters.stackexchange.com/users/57148", "pm_score": 1, "selected": false, "text": "<p>Nope, as far as SEO is concerned, it does not matter how small your website content looks on larger monito...
2016/01/05
[ "https://webmasters.stackexchange.com/questions/88492", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/49195/" ]
I have a proxy at <http://rahul2001.com/proxy/> I site can be 'proxied' by like this: `http://rahul2001.com/proxy/proxy.php/http://site-to-be-proxied.example.com/` The problem is that Google seems to be crawling pages through my proxy :/ [![uh oh..](https://i.stack.imgur.com/l2Hdn.png)](https://i.stack.imgur.com/l2H...
Nope, as far as SEO is concerned, it does not matter how small your website content looks on larger monitors. Website width does not directly affect SEO but website should be accessible and visible to the search engines. But it's important for user experience and visitors. So make sure you check your website on [Page...
88,504
<p>I run a doctor directory website. It has profile pages on individual doctors. This was the url structure:</p> <pre><code>www.example.com/docprofile/23/ </code></pre> <p>We recently changed the url structure to: <code>www.example.com/james-smith/</code></p> <p>We've done 301 redirection so it redirects properly fr...
[ { "answer_id": 88505, "author": "Mani", "author_id": 49436, "author_profile": "https://webmasters.stackexchange.com/users/49436", "pm_score": 1, "selected": false, "text": "<p>Certainly you will not get any penalty for this. </p>\n\n<p><em>If you have done the redirection correctly</em>,...
2016/01/05
[ "https://webmasters.stackexchange.com/questions/88504", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/52893/" ]
I run a doctor directory website. It has profile pages on individual doctors. This was the url structure: ``` www.example.com/docprofile/23/ ``` We recently changed the url structure to: `www.example.com/james-smith/` We've done 301 redirection so it redirects properly from the old url to the new. We've also added ...
Not at all, no chance of any kind of penalty. First please check 301 redirection and canonical tag have implemented correctly and then to index the pages quickly, you can do the following things: 1. Upload xml sitemap on new website 2. Submit sitemap in GWT tool Fetch 3. Fetch new pages in GWT
88,519
<p>I have created an infographic for my website. When the infographic is shared (via blogs, social media etc), the person sharing will be required to back link to a landing page on my website. E.g. mywebsite.com/this-page </p> <p>The landing page will provide information about events that I'm selling. Once they have r...
[ { "answer_id": 88520, "author": "Leroy", "author_id": 58783, "author_profile": "https://webmasters.stackexchange.com/users/58783", "pm_score": 0, "selected": false, "text": "<p>You can track the <a href=\"https://support.google.com/analytics/answer/1136920?hl=en\" rel=\"nofollow\">outbou...
2016/01/05
[ "https://webmasters.stackexchange.com/questions/88519", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/53928/" ]
I have created an infographic for my website. When the infographic is shared (via blogs, social media etc), the person sharing will be required to back link to a landing page on my website. E.g. mywebsite.com/this-page The landing page will provide information about events that I'm selling. Once they have reviewed th...
Using Javascript ---------------- Important bit is that you can not just attach a click handler to a link where you send the adsense event. This way sending the event would be unreliable because sometimes the browser loads the new page before sending the event, sometimes not. You have to use `hitCallback`. The follow...
88,616
<p>I'm working on the ecommerce rossanoferretti.com and I'm trying to improve the SEO. I'm in the first page for some specific key phrase that could potentially drive 500K users to the website, but the traffic doesn't increase at all. How it is possible? Here is the key phrase, potential monthly traffic, google page, l...
[ { "answer_id": 88625, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of tho...
2016/01/08
[ "https://webmasters.stackexchange.com/questions/88616", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59366/" ]
I'm working on the ecommerce rossanoferretti.com and I'm trying to improve the SEO. I'm in the first page for some specific key phrase that could potentially drive 500K users to the website, but the traffic doesn't increase at all. How it is possible? Here is the key phrase, potential monthly traffic, google page, link...
Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of those with enough volume to even count: ![](https://i.imgur.com/nFCew78.png) I used quotes around the keywords to get "exact match" which most closely simulates ranking for that exact phrase. You can sign up for [Google Searc...
88,621
<p><em>This is borderline 'too broad', but I'm hoping for some documentation about this, which is hard to find.</em></p> <p>Think of a webshop, specifically a product overview. The products themself need html to be build and consist of an image, title, brandname and a price. Would there be a noticable different betwee...
[ { "answer_id": 88625, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of tho...
2016/01/08
[ "https://webmasters.stackexchange.com/questions/88621", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37448/" ]
*This is borderline 'too broad', but I'm hoping for some documentation about this, which is hard to find.* Think of a webshop, specifically a product overview. The products themself need html to be build and consist of an image, title, brandname and a price. Would there be a noticable different between the following, ...
Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of those with enough volume to even count: ![](https://i.imgur.com/nFCew78.png) I used quotes around the keywords to get "exact match" which most closely simulates ranking for that exact phrase. You can sign up for [Google Searc...
88,631
<blockquote> <p>How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache?</p> </blockquote> <p>My <strong>httpd.conf</strong>:</p> <pre><code>#### Wikibase (BETA) &lt;VirtualHost *&gt; ServerName wikibase.isc ServerAlias wikibase.isc ServerAdmin SuriyaaKudoIsc@us...
[ { "answer_id": 88625, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of tho...
2016/01/08
[ "https://webmasters.stackexchange.com/questions/88631", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/54403/" ]
> > How to create Short URL in Mediawiki without getting an 403 Forbidden Error in Apache? > > > My **httpd.conf**: ``` #### Wikibase (BETA) <VirtualHost *> ServerName wikibase.isc ServerAlias wikibase.isc ServerAdmin SuriyaaKudoIsc@users.noreply.github.com DocumentRoot "C:/Server/...
Your monthly search estimates are way off. Google Adwords Keyword planner shows only one of those with enough volume to even count: ![](https://i.imgur.com/nFCew78.png) I used quotes around the keywords to get "exact match" which most closely simulates ranking for that exact phrase. You can sign up for [Google Searc...
88,633
<p>I am helping a client figure out some weird URL issue and I am stumped! Google Webmaster tools shows a couple of hundred "pages" that essentially don't exist and look pretty spammy, also using wording that is apparently trademarked. We suspected it was a hack, so we cleaned up the site. But the pages are still showi...
[ { "answer_id": 88655, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>First, check to see that you have actually cleaned up the hack. Even though the pages may look ...
2016/01/08
[ "https://webmasters.stackexchange.com/questions/88633", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59375/" ]
I am helping a client figure out some weird URL issue and I am stumped! Google Webmaster tools shows a couple of hundred "pages" that essentially don't exist and look pretty spammy, also using wording that is apparently trademarked. We suspected it was a hack, so we cleaned up the site. But the pages are still showing....
First, check to see that you have actually cleaned up the hack. Even though the pages may look normal to you, malware on websites is often configured to server spam *only* to Googlebot. Log into Google Search Console and use the "Fetch as Google" feature on those spammy URLs to ensure that Googlebot is seeing the homep...
88,636
<p>I've been using .localhost as a TLD for locally hosted sites that I am working on. Usually when I start a new site I create an entry in the apache virutal host configuration file and then add an entry in Windows' <code>hosts</code> file to map the address to 127.0.0.1. The address would be something like sitename.lo...
[ { "answer_id": 88655, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>First, check to see that you have actually cleaned up the hack. Even though the pages may look ...
2016/01/08
[ "https://webmasters.stackexchange.com/questions/88636", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59380/" ]
I've been using .localhost as a TLD for locally hosted sites that I am working on. Usually when I start a new site I create an entry in the apache virutal host configuration file and then add an entry in Windows' `hosts` file to map the address to 127.0.0.1. The address would be something like sitename.localhost Toda...
First, check to see that you have actually cleaned up the hack. Even though the pages may look normal to you, malware on websites is often configured to server spam *only* to Googlebot. Log into Google Search Console and use the "Fetch as Google" feature on those spammy URLs to ensure that Googlebot is seeing the homep...
88,724
<p>I run an eCommerce website and I have been thinking about adding PDF downloads to my product pages. These manuals and product sheets are typically hosted by the product manufacturer, though not all resources are safely linkable, since some URLs can often change. In order to avoid possible 404s, I was planning to wri...
[ { "answer_id": 88732, "author": "Ben Bozorg", "author_id": 55157, "author_profile": "https://webmasters.stackexchange.com/users/55157", "pm_score": 2, "selected": false, "text": "<p>Your way of thinking is good for development and testing purposes, Not in production level as you are maki...
2016/01/11
[ "https://webmasters.stackexchange.com/questions/88724", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/56559/" ]
I run an eCommerce website and I have been thinking about adding PDF downloads to my product pages. These manuals and product sheets are typically hosted by the product manufacturer, though not all resources are safely linkable, since some URLs can often change. In order to avoid possible 404s, I was planning to write ...
Any time that you host content that is published elsewhere you need to consider copyright law and duplicate content SEO. To host files yourself, you would need permission from the manufacturers to copy the files. I assume that this wouldn't be a problem for most of them because they are trying to sell a product, not p...
88,725
<p>When i use the option Fetch as Google... show me the follow problems</p> <pre><code>duplicate content meta title the story of.... /lifestyle/serialul-scorpion-inspirat-dintr-o-poveste-adevarata-a-lui-walter-o-brien.php /lifestyle/serialul-scorpion-inspirat-dintr-o-poveste-adevarata-a-lui-walter-o-brien Descoperă t...
[ { "answer_id": 88731, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>When you change an <em>existing URL structure</em> you need to redirect the old URLs (that have probably been i...
2016/01/11
[ "https://webmasters.stackexchange.com/questions/88725", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59450/" ]
When i use the option Fetch as Google... show me the follow problems ``` duplicate content meta title the story of.... /lifestyle/serialul-scorpion-inspirat-dintr-o-poveste-adevarata-a-lui-walter-o-brien.php /lifestyle/serialul-scorpion-inspirat-dintr-o-poveste-adevarata-a-lui-walter-o-brien Descoperă topul 10 a celo...
When you change an *existing URL structure* you need to redirect the old URLs (that have probably been indexed and linked to) to the new URLs. (For the benefit of SEO and user experience.) In your case the old URLs (with a `.php` extension) - that have been indexed - are still accessible and return the same content as...
88,746
<p>So our website supports 3 different languages (RU, EN and LT),</p> <pre><code>&lt;link rel="alternate" href="http://example.com/" hreflang="lt" /&gt; &lt;link rel="alternate" href="http://en.example.com/" hreflang="en" /&gt; &lt;link rel="alternate" href="http://ru.example.com/" hreflang="ru" /&gt; </code></pre> <...
[ { "answer_id": 88747, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 1, "selected": false, "text": "<p>Language selectors, which, if i understand you correctly, are placed in the <code>body</code>, don't need <co...
2016/01/12
[ "https://webmasters.stackexchange.com/questions/88746", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19473/" ]
So our website supports 3 different languages (RU, EN and LT), ``` <link rel="alternate" href="http://example.com/" hreflang="lt" /> <link rel="alternate" href="http://en.example.com/" hreflang="en" /> <link rel="alternate" href="http://ru.example.com/" hreflang="ru" /> ``` None of these variations are region specif...
You have a three language versions of a URL: in this case, each language page must identify the two other language versions, including itself. So **on each language version page** you need to do this: > > > ``` > <link rel="alternate" hreflang="en" href="http://en.example.com/" /> > <link rel="alternate" hreflang=...
88,783
<p>I've inherited a site where I noticed that </p> <ol> <li>there is an excessive use of Schema.org in all navigation elements</li> <li>pages describing products are marked as <code>itemtype="http://schema.org/CreativeWork"</code></li> </ol> <p>So I'm wondering if these tags are sending the wrong message and not trul...
[ { "answer_id": 90644, "author": "Emmett R.", "author_id": 37332, "author_profile": "https://webmasters.stackexchange.com/users/37332", "pm_score": 0, "selected": false, "text": "<p>I don't know if there's an exact way to answer this for a general case, but I would reason that any misinfo...
2016/01/13
[ "https://webmasters.stackexchange.com/questions/88783", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46392/" ]
I've inherited a site where I noticed that 1. there is an excessive use of Schema.org in all navigation elements 2. pages describing products are marked as `itemtype="http://schema.org/CreativeWork"` So I'm wondering if these tags are sending the wrong message and not truly optimized. I realize that the nav (1) is d...
Hurt SEO? No. Not be as helpful? Yes. Let's focus on (2). If you look at the spec for `https://schema.org/CreativeWork` you can see that it includes the important elements for `Offer` which can allow it to behave much like a product, as well the `mainEntity` property which has the expected type of `Thing` - which is...
88,893
<p>I have a site I'm in the process of migrating and remaking from the old site at a new address: </p> <p><a href="http://healthstart.nz" rel="nofollow">healthstart.nz</a></p> <p>The old site is still up at the old address, so I would expect that there would be duplicate content issues. I hope to resolve this by clon...
[ { "answer_id": 88895, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 2, "selected": false, "text": "<p>I'm gonna clear the confusion.</p>\n\n<p>You have an old site you want to spruce up and get in...
2016/01/18
[ "https://webmasters.stackexchange.com/questions/88893", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59636/" ]
I have a site I'm in the process of migrating and remaking from the old site at a new address: [healthstart.nz](http://healthstart.nz) The old site is still up at the old address, so I would expect that there would be duplicate content issues. I hope to resolve this by cloning and redirecting the new site & address ...
I'm gonna clear the confusion. You have an old site you want to spruce up and get indexed and then you want to host it at a new address. Your best bet is to simply issue permanent redirects from the old page to the new one. This can be done many ways. If your old server runs on apache with mod\_rewrite installed, you...
88,924
<p><strong>Update</strong> - Alright thanks everyone for your tests, it really helped. The code is good. My problem was not having absolute "/" links. (Due to moving from public_html folder).</p> <p>Only 2 concerns i have now. </p> <p>1.) Replace "^achilles" with "^([0-9a-zA-Z_-]+)" and thumbnails wont appear (parame...
[ { "answer_id": 88926, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 2, "selected": false, "text": "<blockquote>\n<p>I have: <a href=\"http://funkygames.co/games/achilles.php?games_path=achilles.sw...
2016/01/19
[ "https://webmasters.stackexchange.com/questions/88924", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/57217/" ]
**Update** - Alright thanks everyone for your tests, it really helped. The code is good. My problem was not having absolute "/" links. (Due to moving from public\_html folder). Only 2 concerns i have now. 1.) Replace "^achilles" with "^([0-9a-zA-Z\_-]+)" and thumbnails wont appear (parameter data is not being carrie...
> > I have: <http://funkygames.co/games/achilles.php?games_path=achilles.swf&category_id=1> > > > I want: <http://funkygames.co/games/achilles/achilles/1> or even better: funkygames.co/games/achilles/1 (if that's possible) > > > Try this: ``` RewriteRule ^games/achilles/(.*)/([0-9]+)$ /games/achilles.php?games_...
88,966
<p>One of my sites had a WordPress site in the subdirectory <code>(root)/blog/</code>.</p> <p>Using rules in <code>.htaccess</code>, the site was called up without the <code>/blog/</code> in the URL.</p> <p>I recently changed it by removing the <code>/blog/</code> directory, moving all the WP content into the root.</...
[ { "answer_id": 88967, "author": "inspirednz", "author_id": 59721, "author_profile": "https://webmasters.stackexchange.com/users/59721", "pm_score": 1, "selected": false, "text": "<p>I tried doing this with a symlink, and it failed. After closetnoc also suggested I could use a symlink, I ...
2016/01/20
[ "https://webmasters.stackexchange.com/questions/88966", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59721/" ]
One of my sites had a WordPress site in the subdirectory `(root)/blog/`. Using rules in `.htaccess`, the site was called up without the `/blog/` in the URL. I recently changed it by removing the `/blog/` directory, moving all the WP content into the root. This particular blog auto-feeds all articles to a Facebook pa...
Facebook would have been using the image URL as specified in the open graph tags. Since (by the sounds of it) the URL structure wasn't actually changed in WP (only in .htaccess) then this would have contained the `/blog` subdirectory in the URL. But then presumably you had to make an exception in .htaccess for the `/bl...
89,105
<p>Google is indexing Plesk temporary URLs, I've tried the following tip but it does not block those URLs.</p> <p><a href="https://webmasters.stackexchange.com/questions/78227/why-google-indexed-the-preview-url-of-domain?newreg=36db5b42f9c14c87b5dcf850a61a4572">Why Google indexed the preview URL of domain?</a></p> <p...
[ { "answer_id": 89188, "author": "louisnorthmore", "author_id": 54703, "author_profile": "https://webmasters.stackexchange.com/users/54703", "pm_score": -1, "selected": false, "text": "<p><code>www.example.com</code> will need replacing with your real URL.</p>\n\n<p>You could also try blo...
2016/01/24
[ "https://webmasters.stackexchange.com/questions/89105", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59925/" ]
Google is indexing Plesk temporary URLs, I've tried the following tip but it does not block those URLs. [Why Google indexed the preview URL of domain?](https://webmasters.stackexchange.com/questions/78227/why-google-indexed-the-preview-url-of-domain?newreg=36db5b42f9c14c87b5dcf850a61a4572) I added this to .htacess wi...
You need to test to ensure that each URL that appears in Google actually has the tag that you are expecting. I use [cURL](https://curl.haxx.se/docs/httpscripting.html) with the `--head` option for this type of testing. ``` curl --head 'http://temporaryurl.example.com/' ``` You want to make sure that the header inclu...
89,106
<p>Hi ProWebmasters Community, </p> <p>Considering a move to build a highly Angular JS website with around 3 million pages. One of the questions that is constantly coming up is to use <a href="https://prerender.io" rel="nofollow">https://prerender.io</a> in order to allow the site to be friendly and indexed by search ...
[ { "answer_id": 89188, "author": "louisnorthmore", "author_id": 54703, "author_profile": "https://webmasters.stackexchange.com/users/54703", "pm_score": -1, "selected": false, "text": "<p><code>www.example.com</code> will need replacing with your real URL.</p>\n\n<p>You could also try blo...
2016/01/24
[ "https://webmasters.stackexchange.com/questions/89106", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41760/" ]
Hi ProWebmasters Community, Considering a move to build a highly Angular JS website with around 3 million pages. One of the questions that is constantly coming up is to use <https://prerender.io> in order to allow the site to be friendly and indexed by search engines. Is Prerender the only option? Using prerender.i...
You need to test to ensure that each URL that appears in Google actually has the tag that you are expecting. I use [cURL](https://curl.haxx.se/docs/httpscripting.html) with the `--head` option for this type of testing. ``` curl --head 'http://temporaryurl.example.com/' ``` You want to make sure that the header inclu...
89,142
<p>I have a heroku app with the following settings:</p> <pre><code>Domain name: www.localhost.com DNS Target: safe-springs-1527.herokuapp.com </code></pre> <p>The domain is on GoDaddy. The settings there are:</p> <pre><code>A (Host) 0 Records (0 Selected) AAAA (IPv6 Host) 0 Records (0 Selected) CName (Alias) Ho...
[ { "answer_id": 89152, "author": "Stefanos.Ioannou", "author_id": 37254, "author_profile": "https://webmasters.stackexchange.com/users/37254", "pm_score": 2, "selected": true, "text": "<p>I found this on <a href=\"https://devcenter.heroku.com/articles/custom-domains#add-a-custom-root-doma...
2016/01/25
[ "https://webmasters.stackexchange.com/questions/89142", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37254/" ]
I have a heroku app with the following settings: ``` Domain name: www.localhost.com DNS Target: safe-springs-1527.herokuapp.com ``` The domain is on GoDaddy. The settings there are: ``` A (Host) 0 Records (0 Selected) AAAA (IPv6 Host) 0 Records (0 Selected) CName (Alias) Host Points To email email.secureserv...
I found this on [Heroku](https://devcenter.heroku.com/articles/custom-domains#add-a-custom-root-domain) and now my domain works fine without the www. I am not sure what it does. In short: ``` Root domains must be added in addition to any subdomains. The process for adding root domains is the same in the Heroku CLI: $...
89,194
<p>I have a number of links with similar structure:</p> <pre><code>example.com/index.php/path/some-path/some-subpath?parameter=1 </code></pre> <p>Which I want to redirect just to <code>example.com/category/</code></p> <p>But I want to match only the URL-path, ie. <code>/index.php/path/some-path/some-subpath</code>, ...
[ { "answer_id": 89195, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<p>If the query string is irrelevant then it can simply be ignored. (You can't match the query string anyway with t...
2016/01/26
[ "https://webmasters.stackexchange.com/questions/89194", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/51272/" ]
I have a number of links with similar structure: ``` example.com/index.php/path/some-path/some-subpath?parameter=1 ``` Which I want to redirect just to `example.com/category/` But I want to match only the URL-path, ie. `/index.php/path/some-path/some-subpath`, because the query parameter is irrelevant. I have trie...
If the query string is irrelevant then it can simply be ignored. (You can't match the query string anyway with the `RewriteRule` directive.) Try the following in your root .htaccess file to *redirect* the request: ``` RewriteEngine On RewriteRule ^index.php/path/some-path/some-subpath$ /category/? [L,R=301] ``` In ...
89,227
<p>I designed a website for a friends business. I am not any kind of web developer its just a fun hobby so I am not very knowledgeable. I designed the website on the bootstrap framework and it only has one page. There are a few models for information on the website. I am thinking the bounce rate will be hurting his sea...
[ { "answer_id": 89238, "author": "user5823815", "author_id": 59993, "author_profile": "https://webmasters.stackexchange.com/users/59993", "pm_score": 1, "selected": false, "text": "<p>It only has one page and you have a bounce rate of 83%? Bounce rate means they only visited one page and ...
2016/01/27
[ "https://webmasters.stackexchange.com/questions/89227", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59983/" ]
I designed a website for a friends business. I am not any kind of web developer its just a fun hobby so I am not very knowledgeable. I designed the website on the bootstrap framework and it only has one page. There are a few models for information on the website. I am thinking the bounce rate will be hurting his search...
It only has one page and you have a bounce rate of 83%? Bounce rate means they only visited one page and then left. If it is only a page that should be 100%. Don't worry about bounce rate for a single page website.
89,240
<p>I am trying to achieve more things:</p> <ol> <li>HTTP:// should redirect to HTTPS://</li> <li>www.example.com should redirect to www.example.com/en/ or /it/ depending on client language</li> <li>links should resolve to www.example.com?lang=en</li> <li>All urls different from index.php? (e.g. www.example.com/abcd) s...
[ { "answer_id": 89238, "author": "user5823815", "author_id": 59993, "author_profile": "https://webmasters.stackexchange.com/users/59993", "pm_score": 1, "selected": false, "text": "<p>It only has one page and you have a bounce rate of 83%? Bounce rate means they only visited one page and ...
2016/01/28
[ "https://webmasters.stackexchange.com/questions/89240", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59994/" ]
I am trying to achieve more things: 1. HTTP:// should redirect to HTTPS:// 2. www.example.com should redirect to www.example.com/en/ or /it/ depending on client language 3. links should resolve to www.example.com?lang=en 4. All urls different from index.php? (e.g. www.example.com/abcd) should all be redirected to inde...
It only has one page and you have a bounce rate of 83%? Bounce rate means they only visited one page and then left. If it is only a page that should be 100%. Don't worry about bounce rate for a single page website.
89,343
<p>We currently have a web site that advertises a single product (a piece of software that deals with personnel information). That software has many features. </p> <p>Potential customers usually arrive at our site after searching Google for one of the features we have, e.g. <em>employee records</em> or <em>job profi...
[ { "answer_id": 89347, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 2, "selected": true, "text": "<p>HTML allows you to do this, not just HTML5. There are no magical elements there just yet. Google only cares about th...
2016/01/30
[ "https://webmasters.stackexchange.com/questions/89343", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39220/" ]
We currently have a web site that advertises a single product (a piece of software that deals with personnel information). That software has many features. Potential customers usually arrive at our site after searching Google for one of the features we have, e.g. *employee records* or *job profiling* or *succession p...
HTML allows you to do this, not just HTML5. There are no magical elements there just yet. Google only cares about the content and less about the document outline. Last I read, Google doesn't care about section or header or aside or any of that either. So pay attention to the document outline and you will be fine. Now ...
89,349
<p>According to what I have learnt, when we take a decision of permanent redirect, the SEO is impacted like in the folowing example:</p> <pre> Redirect www.example.net to www.example.com Redirect www.example1.com to www.example2.com Redirect www.example.com/category1 to www.example.com/category2 </pre> <p>The best th...
[ { "answer_id": 89350, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 0, "selected": false, "text": "<p>Redirecting to the, now, preferred secure version of the same site will have no effect on your ranking. The domain ...
2016/01/31
[ "https://webmasters.stackexchange.com/questions/89349", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58043/" ]
According to what I have learnt, when we take a decision of permanent redirect, the SEO is impacted like in the folowing example: ``` Redirect www.example.net to www.example.com Redirect www.example1.com to www.example2.com Redirect www.example.com/category1 to www.example.com/category2 ``` The best thing to do is ...
For a period, you will see a drop-off in traffic before picking up again. Be prepared for this and make sure that management understands that switching from HTTP to HTTPS comes with a price. In theory, though rarely in practice, HTTP and HTTPS are two separate sites. As the search engine drops the HTTP site and indexe...
89,395
<p>I have a sub-directory that I would like to hide from web crawlers.</p> <p>One way to do this is to use a <code>robots.txt</code> in the root directory of the server and add a rule to exclude that sub-directory. However, anyone with basic web knowledge can access the robots.txt contents and figure out the disallowe...
[ { "answer_id": 89408, "author": "Andrew Lott", "author_id": 23812, "author_profile": "https://webmasters.stackexchange.com/users/23812", "pm_score": 2, "selected": false, "text": "<p>Your <code>robots.txt</code> should be in the root directory and should not have any other name. Accordin...
2016/01/31
[ "https://webmasters.stackexchange.com/questions/89395", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have a sub-directory that I would like to hide from web crawlers. One way to do this is to use a `robots.txt` in the root directory of the server and add a rule to exclude that sub-directory. However, anyone with basic web knowledge can access the robots.txt contents and figure out the disallowed directories. I tho...
No, web crawlers will not read or obey a robots.txt file in a subdirectory. As described on the quasi-official [robotstxt.org](http://www.robotstxt.org/robotstxt.html) site: > > **Where to put it** > > > The short answer: in the top-level directory of your web server. > > > or on [Google's help pages](https://s...
89,411
<p>Im trying to tell if a currently registered doamin, registration has lapsed in the past. When i look at the Whois it tells me that :</p> <pre><code>Expires On August 25, 2016 Registered On August 25, 1999 Updated On October 22, 2015 </code></pre> <p>I got this data from <a href="http://who.is" rel="nofollow">http:...
[ { "answer_id": 89438, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 0, "selected": false, "text": "<p>Well, put a common sense logic in your question.</p>\n\n<blockquote>\n <p>No, there's no way you can tell...
2016/01/31
[ "https://webmasters.stackexchange.com/questions/89411", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14905/" ]
Im trying to tell if a currently registered doamin, registration has lapsed in the past. When i look at the Whois it tells me that : ``` Expires On August 25, 2016 Registered On August 25, 1999 Updated On October 22, 2015 ``` I got this data from <http://who.is> is there a way i can tell if in October 22, 2015 the d...
You can't tell a domain's history just by looking at the Whois record - that is just a current snapshot. However, there are some 3rd party services (eg. [domaintools.com](http://research.domaintools.com/research/whois-history/) - not free) that monitor and report on this information. The "Updated" date is simply when ...
89,426
<p>I'm managing an interactive community website for a video game.</p> <p>The video game is about cards which are bundled as <strong>decks</strong>. One can construct multiple decks with different cards. The website I've built allows to build &amp; share such decks.</p> <p>The website name actually includes the word ...
[ { "answer_id": 89434, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": -1, "selected": false, "text": "<p>Use structured data for disambiguation:</p>\n\n<pre><code>&lt;div itemscope itemtype=\"https://schema.org/Th...
2016/02/01
[ "https://webmasters.stackexchange.com/questions/89426", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/58596/" ]
I'm managing an interactive community website for a video game. The video game is about cards which are bundled as **decks**. One can construct multiple decks with different cards. The website I've built allows to build & share such decks. The website name actually includes the word **decks**. One problem I see is t...
Synonyms and plural versions of words are **not** needed. You do not have to tell search engines what they already know. The schema.org mark-up would be correct to use for something that is not normally recognized by the various ontologies that exist. Why do I say this? Because ontologies have been used in Google sinc...
89,435
<p>There is a website scenario in which a user gives date as input and the result will be something related with that date.</p> <p>Lets take the scenario is my website gives earth quakes happened in Europe on a particular date. Lets say below is the a result page of earth quakes happened in europe on 28-12-1994.</p> ...
[ { "answer_id": 89434, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": -1, "selected": false, "text": "<p>Use structured data for disambiguation:</p>\n\n<pre><code>&lt;div itemscope itemtype=\"https://schema.org/Th...
2016/02/01
[ "https://webmasters.stackexchange.com/questions/89435", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60217/" ]
There is a website scenario in which a user gives date as input and the result will be something related with that date. Lets take the scenario is my website gives earth quakes happened in Europe on a particular date. Lets say below is the a result page of earth quakes happened in europe on 28-12-1994. ``` www.geogra...
Synonyms and plural versions of words are **not** needed. You do not have to tell search engines what they already know. The schema.org mark-up would be correct to use for something that is not normally recognized by the various ontologies that exist. Why do I say this? Because ontologies have been used in Google sinc...
89,436
<p>I have two websites, one is served to desktops and the other is served to mobiles and tablets. </p> <p>I redirect users with a JS script. I know redirection isn't a good practise for Google. What is the best way to do in except for responsive design? The main site is build on Hype and it's full of animation so it c...
[ { "answer_id": 89454, "author": "NickWebman", "author_id": 20673, "author_profile": "https://webmasters.stackexchange.com/users/20673", "pm_score": 3, "selected": true, "text": "<p>It's called adaptive web development. You need to detect the user-agent and serve different markup based on...
2016/02/01
[ "https://webmasters.stackexchange.com/questions/89436", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/52835/" ]
I have two websites, one is served to desktops and the other is served to mobiles and tablets. I redirect users with a JS script. I know redirection isn't a good practise for Google. What is the best way to do in except for responsive design? The main site is build on Hype and it's full of animation so it cannot be o...
It's called adaptive web development. You need to detect the user-agent and serve different markup based on the device. In PHP, you can use $\_SERVER['HTTP\_USER\_AGENT']. You'll want to include this code in order to let Google know what you're up to: ``` <?php Header('Vary: User-Agent'); ?> ``` Here's some more ...
89,593
<p>My original URL is:</p> <pre><code> http://example.com/video_in.php?video_id=1 </code></pre> <p>and I want my link to be:</p> <pre><code> http://example.com/shaandaar/kinna_sona.html </code></pre> <p><code>shaandaar</code> and <code>kinna_sona</code> are the slugs in my database.</p> <p>This is my .htacces...
[ { "answer_id": 89596, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 2, "selected": false, "text": "<blockquote>\n<p>and I want my link to be: <code>http://example.com/shaandaar/kinna_sona.html</co...
2016/02/04
[ "https://webmasters.stackexchange.com/questions/89593", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59262/" ]
My original URL is: ``` http://example.com/video_in.php?video_id=1 ``` and I want my link to be: ``` http://example.com/shaandaar/kinna_sona.html ``` `shaandaar` and `kinna_sona` are the slugs in my database. This is my .htaccess file ``` AddDefaultCharset utf-8 Options +FollowSymlinks -Indexes Rew...
> > and I want my link to be: `http://example.com/shaandaar/kinna_sona.html` > > > shaandaar and kinna\_sona are the slugs in my database. What should I write in my .htaccess file? > > > This is the best way: ``` RewriteEngine On RewriteRule ^([^/]+)/([^/]+)\.html$ /video_in.php?firstslug=$1&secondslug=$2 [L] ...
89,595
<p>My development environment has the tag for the "Now Editing" version of my container.</p> <p>But my development environment is firing tags that I removed from GTM a few versions ago. I'd like to understand why that's happening.</p> <p>I have tried disabling my cache using Chrome Developer Tools. I have verified th...
[ { "answer_id": 89632, "author": "user5823815", "author_id": 59993, "author_profile": "https://webmasters.stackexchange.com/users/59993", "pm_score": 1, "selected": false, "text": "<p>Firstly go into the tag manager and check your original code snippet. Match that with what is in your tes...
2016/02/04
[ "https://webmasters.stackexchange.com/questions/89595", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/54371/" ]
My development environment has the tag for the "Now Editing" version of my container. But my development environment is firing tags that I removed from GTM a few versions ago. I'd like to understand why that's happening. I have tried disabling my cache using Chrome Developer Tools. I have verified that gtm.js actuall...
I worked around my problem by creating a Custom Environment, and publishing my changes to this environment. I still don't know why the "Now Editing" default environment was showing very old versions of some tags.
89,604
<p>I have a website that uses an <code>XML</code> sitemap and a <code>robots.txt</code> file.</p> <p>If I do a Google search of: </p> <blockquote> <p>site: <em>mywebsite.co.uk</em> "sitemap"</p> </blockquote> <p>I see the usual Google response, similar to the following image, but the title has been automatically g...
[ { "answer_id": 89605, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 1, "selected": false, "text": "<p>You shouldn't exclude the file from crawling with robots.txt - in this case Google will not be able to read i...
2016/02/04
[ "https://webmasters.stackexchange.com/questions/89604", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60365/" ]
I have a website that uses an `XML` sitemap and a `robots.txt` file. If I do a Google search of: > > site: *mywebsite.co.uk* "sitemap" > > > I see the usual Google response, similar to the following image, but the title has been automatically generated by the search engine. Unfortunately, the title isn't applic...
You shouldn't exclude the file from crawling with robots.txt - in this case Google will not be able to read it. What you should do, is to de-index it. If you run Apache, add to your htaccess following rule: ``` <FilesMatch "robots.txt|sitemap.xml"> Header set X-Robots-Tag "noindex" </FilesMatch> ``` This rule ad...
89,607
<p>I'm using this code to generate the WhatsApp share button:</p> <pre><code>&lt;a href="whatsapp://send?text=&lt;?php echo get_the_title(); ?&gt; &lt;?php echo get_post_permalink(); ?&gt;"&gt;Share via Whatsapp&lt;/a&gt; </code></pre> <p>I want to add also <code>?utm_source=whatsapp</code> in the URL.</p> <p>How ca...
[ { "answer_id": 89608, "author": "Andrew Lott", "author_id": 23812, "author_profile": "https://webmasters.stackexchange.com/users/23812", "pm_score": 1, "selected": false, "text": "<p>I guess you're using WordPress based on the <code>get_post_permalink()</code> so try replacing <code>&lt;...
2016/02/04
[ "https://webmasters.stackexchange.com/questions/89607", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46602/" ]
I'm using this code to generate the WhatsApp share button: ``` <a href="whatsapp://send?text=<?php echo get_the_title(); ?> <?php echo get_post_permalink(); ?>">Share via Whatsapp</a> ``` I want to add also `?utm_source=whatsapp` in the URL. How can I achieve this?
I guess you're using WordPress based on the `get_post_permalink()` so try replacing `<?php echo get_post_permalink(); ?>` with `<?php echo get_post_permalink().'?utm_source=whatsapp'; ?>` to append the attribute onto the link.
89,677
<p>First time implementing Google Maps/Street View, side-by-side into a webpage.</p> <p>Which API Key do I need please?</p> <p>Source Link:<br> <a href="https://developers.google.com/maps/documentation/javascript/examples/streetview-simple" rel="nofollow">https://developers.google.com/maps/documentation/javascript/ex...
[ { "answer_id": 89680, "author": "Zoon", "author_id": 60459, "author_profile": "https://webmasters.stackexchange.com/users/60459", "pm_score": 2, "selected": false, "text": "<p>You will find everything you need to know about the API key on this Google page: <a href=\"https://developers.go...
2016/02/06
[ "https://webmasters.stackexchange.com/questions/89677", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60453/" ]
First time implementing Google Maps/Street View, side-by-side into a webpage. Which API Key do I need please? Source Link: <https://developers.google.com/maps/documentation/javascript/examples/streetview-simple> See below, it ask for a personal API key, once again which API key do I need? Example: ``` <!DOCTYPE...
You will find everything you need to know about the API key on this Google page: <https://developers.google.com/maps/documentation/javascript/get-api-key> Simply scroll down and hit the `Get Key` button, accept the terms and you'll be ready.
89,711
<p>I edited my <code>.htaccess</code> file earlier to redirect from www version to non-www, and it is working correctly. However, now I have some page redirects I need to do. I am looking at the <code>.htaccess</code> file, and I am not sure where to place the actual redirect code - I have a WordPress site. Does it go ...
[ { "answer_id": 89686, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 3, "selected": true, "text": "<p>SEO and the impact that any work has is not about length. Sure bloggers have echoed that blog posts should o...
2016/02/08
[ "https://webmasters.stackexchange.com/questions/89711", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60497/" ]
I edited my `.htaccess` file earlier to redirect from www version to non-www, and it is working correctly. However, now I have some page redirects I need to do. I am looking at the `.htaccess` file, and I am not sure where to place the actual redirect code - I have a WordPress site. Does it go at the end, or in the are...
SEO and the impact that any work has is not about length. Sure bloggers have echoed that blog posts should only be about 300-350 words, then 500, and so on. At one point, search engines rewarded blog posts as being timely and these posts were easily found by it's length. Then it was discovered that the bounce rate of b...
89,716
<p>I am a programmer and working on my site having <code>slug</code> set for SEO friendliness. I wonder whether this URL is OK for Search Engines?</p> <pre><code>http://example.com/entry/1/clinton-sanders-use-n.h.-primary-to-frame-long-battle-to-come </code></pre> <p>Note <code>.</code> and <code>.-</code> after <cod...
[ { "answer_id": 89717, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": -1, "selected": false, "text": "<p>i would like to say no. an URL in my old school influented opinion, should not contain anything beside 0-9a-...
2016/02/08
[ "https://webmasters.stackexchange.com/questions/89716", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21192/" ]
I am a programmer and working on my site having `slug` set for SEO friendliness. I wonder whether this URL is OK for Search Engines? ``` http://example.com/entry/1/clinton-sanders-use-n.h.-primary-to-frame-long-battle-to-come ``` Note `.` and `.-` after `n.h`
Short answer. Yes. I do this all the time without issue. In fact, you do not have to search Google very long to see other examples where a period (.), dash (-), underscore (\_), etc. are used. There are some characters that have special meaning that you should be aware of. From this page: <http://www.skorks.com/2010/...
89,724
<p>I have read the <strong><a href="https://webmasters.stackexchange.com/questions/54827/does-a-nofollow-attribute-on-a-link-prevent-url-discovery-by-search-engines">post</a></strong> about how <code>nofollow</code> value impacts on crawlers/indexing. However the information from the post answers end on 2012.</p> <p>I...
[ { "answer_id": 89746, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 1, "selected": false, "text": "<p>Nothing in the world will make a real link undiscoverable by Google.</p>\n\n<p>Even if you close your <a href...
2016/02/08
[ "https://webmasters.stackexchange.com/questions/89724", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59884/" ]
I have read the **[post](https://webmasters.stackexchange.com/questions/54827/does-a-nofollow-attribute-on-a-link-prevent-url-discovery-by-search-engines)** about how `nofollow` value impacts on crawlers/indexing. However the information from the post answers end on 2012. In my case, a have a file page that is indexed...
If you really want to prevent a link from being indexed or followed, you can go extreme as follows: 1. If you're using a server-side scripting language or have sufficient apache access, then modify code so that the page to not be indexed will have an HTTP 410 status code attached to it, meaning the page is gone for go...
89,786
<p>Right now to access my website I need to go to </p> <pre><code>http://www.example.com/~username/index.html </code></pre> <p>How do I remove this so I can simply type:</p> <pre><code>http://www.example.com/index.html </code></pre> <p>Right now I am FTPing into <code>username@0.0.0.0</code> (My IP) and putting my...
[ { "answer_id": 89791, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Hostgator refers to the <code>~username</code> URL as a \"temporary URL.\" They suggest that yo...
2016/02/09
[ "https://webmasters.stackexchange.com/questions/89786", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60575/" ]
Right now to access my website I need to go to ``` http://www.example.com/~username/index.html ``` How do I remove this so I can simply type: ``` http://www.example.com/index.html ``` Right now I am FTPing into `username@0.0.0.0` (My IP) and putting my web source code inside `/public_html/example.co.nz` I am u...
``` http://www.example.com/~username/ ``` The ~username part is a temporary URL just to open and view your website. It wont affect your website if you access it via the temporary URL. This give you the power to access the hosting files before your Domain DNS gets propagated (1 hour to 48 hours) across the globe. ```...
89,802
<p>For making a user friendly website, I have to use some of Font Awesome fonts in <code>&lt;h&gt;</code> elements like this:</p> <pre><code>&lt;h2&gt; &lt;i style="color: rgb(102, 149, 45); vertical-align: inherit;" class="fa fa-gear"&gt;&lt;/i&gt; Performance &lt;/h2&gt; </code></pre> <p>In fact, this is a review ...
[ { "answer_id": 89803, "author": "Martijn", "author_id": 37448, "author_profile": "https://webmasters.stackexchange.com/users/37448", "pm_score": 5, "selected": true, "text": "<p>I would say it wouldn't harm much, nor will it add anything. I prefer to keep my header tags clean and wouldn'...
2016/02/10
[ "https://webmasters.stackexchange.com/questions/89802", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36091/" ]
For making a user friendly website, I have to use some of Font Awesome fonts in `<h>` elements like this: ``` <h2> <i style="color: rgb(102, 149, 45); vertical-align: inherit;" class="fa fa-gear"></i> Performance </h2> ``` In fact, this is a review article. Is it OK to put these fonts (or `<i>` elements) in the inn...
I would say it wouldn't harm much, nor will it add anything. I prefer to keep my header tags clean and wouldn't add the `i`. The inline styling would be a bigger problem, which isn't really an big issue. Instead of doing this, you can add the gear icon to the H2 directly: ``` h2.Geared:before{ display: inline-blo...
89,836
<p>I am developing a entertainment website and have found more than 4 entertainment domains (expired domains). Domain authority of these domains are 25 or more. </p> <p>If I will redirect these domain to my site then will this help my site or will penalize website?</p>
[ { "answer_id": 89837, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 2, "selected": false, "text": "<p><strong>This is a great idea, when handled properly.</strong></p>\n\n<p>You need to to some research about...
2016/02/11
[ "https://webmasters.stackexchange.com/questions/89836", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am developing a entertainment website and have found more than 4 entertainment domains (expired domains). Domain authority of these domains are 25 or more. If I will redirect these domain to my site then will this help my site or will penalize website?
The domain authority on expired domains comes mostly from the inbound links to their deep pages. If you have similar enough content that your domain can satisfy the users that click on those links then you *might* get some SEO benefit from the domain redirect. To get it, you would have to put appropriate redirects in p...
89,866
<p>My website has two main sections of content to it. For illustration purposes let's call them foo and bar.</p> <pre><code>example.com/foo 60 pages example.com/bar 25 pages </code></pre> <p>Section foo isn't doing very well. The content was much harder to rank for and they're getting close to 0 visits on all pag...
[ { "answer_id": 89892, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 2, "selected": true, "text": "<p>The key factor to make decision whether to keep or to resign the folder, which ranks not so good, is traffic. ...
2016/02/11
[ "https://webmasters.stackexchange.com/questions/89866", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17406/" ]
My website has two main sections of content to it. For illustration purposes let's call them foo and bar. ``` example.com/foo 60 pages example.com/bar 25 pages ``` Section foo isn't doing very well. The content was much harder to rank for and they're getting close to 0 visits on all pages. The pages have been li...
The key factor to make decision whether to keep or to resign the folder, which ranks not so good, is traffic. No traffic in the past and currently, no chances on traffic in the future and no possibility to optimize - delete the folder doubtless. If you can't delete them (i.e. because user need them), then noindex the f...
89,993
<p>I use the following <code>&lt;video&gt;</code> tag to play an HTML5 video as a background on my website:</p> <pre><code>&lt;video autoplay loop mob-hide&gt; &lt;source src="../Images/myvideo.mp4" type="video/mp4" /&gt; Your browser does not support the video tag. I suggest you upgrade your browser.&lt;/vide...
[ { "answer_id": 93670, "author": "Lorenzo Lapucci", "author_id": 56941, "author_profile": "https://webmasters.stackexchange.com/users/56941", "pm_score": 0, "selected": false, "text": "<p>Getting a Background music with YouTube is easy and works on mobile:</p>\n\n<pre><code>&lt;iframe wid...
2016/02/15
[ "https://webmasters.stackexchange.com/questions/89993", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/59445/" ]
I use the following `<video>` tag to play an HTML5 video as a background on my website: ``` <video autoplay loop mob-hide> <source src="../Images/myvideo.mp4" type="video/mp4" /> Your browser does not support the video tag. I suggest you upgrade your browser.</video> ``` At the moment, I am hosting this on m...
You can use Youtube and Vimeo to host your videos for free, however you will not be able to access the files directly, as they embed their own ads like [Zhaph](https://webmasters.stackexchange.com/questions/89993/hosting-html5-video-on-youtube-vimeo-without-using-player/98078#comment111020_89993) mentioned. If you cho...
89,997
<p>A few days ago, I conducted a major experiment on my site. Before then, I had major sections of the site categorized as domains. For example:</p> <pre><code>http://pictures.example.com/whatever http://help.example.com/whatever http://internalstuff.example.com/whatever http://tips.example.com/whatever </code></pre> ...
[ { "answer_id": 90000, "author": "Tom Brossman", "author_id": 11962, "author_profile": "https://webmasters.stackexchange.com/users/11962", "pm_score": 1, "selected": false, "text": "<p>Based on your comment <em>\"I should add that for 99% of the pages a maximum of 4 items are downloaded\"...
2016/02/15
[ "https://webmasters.stackexchange.com/questions/89997", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
A few days ago, I conducted a major experiment on my site. Before then, I had major sections of the site categorized as domains. For example: ``` http://pictures.example.com/whatever http://help.example.com/whatever http://internalstuff.example.com/whatever http://tips.example.com/whatever ``` Now I converted most o...
1. Don't confuse with HTTP/2, because webmaster still need to use **[cookie less](https://webmasters.stackexchange.com/questions/25087/what-is-the-advantage-to-hosting-static-resources-on-a-separate-domain)** subdomain or external domain to serve asset files. 2. Don't use subdomain to serve static assest, if you're usi...
89,998
<p>I'm trying to SEO optimize my blog, and I'm not sure which method is the best SEO practice. I seem to google conflicting results. Some say 1. is best because of days old, other says nowadays index.html isn't as important as it was.</p> <p>If it's important, I'm running WordPress as blog software. Self-hosted.</p> ...
[ { "answer_id": 90002, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 4, "selected": true, "text": "<p>Aim for friendly URLs.</p>\n\n<p>Unless your blog talks about html code and you wanted to share...
2016/02/15
[ "https://webmasters.stackexchange.com/questions/89998", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/57478/" ]
I'm trying to SEO optimize my blog, and I'm not sure which method is the best SEO practice. I seem to google conflicting results. Some say 1. is best because of days old, other says nowadays index.html isn't as important as it was. If it's important, I'm running WordPress as blog software. Self-hosted. I have the cho...
Aim for friendly URLs. Unless your blog talks about html code and you wanted to share links to examples of html code, I suggest trying to craft your URLs to exclude the extension. So your blog URL could be (for example) something like this: ``` https://example.com/post-date/post-title/page-number ``` then you can ...
90,007
<p>I had worked almost three months on a .com domain site and I am getting pretty good results on google.com, however, my ranking on google.co.uk is not that good so I have decided to buy an equivalent .co.uk domain.</p> <p>My site is an e-commerce site and I am hoping to perform well for the U.S. and the U.K.</p> <p...
[ { "answer_id": 90002, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 4, "selected": true, "text": "<p>Aim for friendly URLs.</p>\n\n<p>Unless your blog talks about html code and you wanted to share...
2016/02/15
[ "https://webmasters.stackexchange.com/questions/90007", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60789/" ]
I had worked almost three months on a .com domain site and I am getting pretty good results on google.com, however, my ranking on google.co.uk is not that good so I have decided to buy an equivalent .co.uk domain. My site is an e-commerce site and I am hoping to perform well for the U.S. and the U.K. What are the bes...
Aim for friendly URLs. Unless your blog talks about html code and you wanted to share links to examples of html code, I suggest trying to craft your URLs to exclude the extension. So your blog URL could be (for example) something like this: ``` https://example.com/post-date/post-title/page-number ``` then you can ...
90,033
<p>I have multiple web shops (34). I want a menu with a list of links to all of them on each site. Should I use <code>rel=nofollow</code>? Or should I use <code>rel=nofollow</code> on each page except the homepage (against link spam) or no <code>rel=nofollow</code> at all?</p> <p>It looks like this on each web shop on...
[ { "answer_id": 90037, "author": "Josip Ivic", "author_id": 56095, "author_profile": "https://webmasters.stackexchange.com/users/56095", "pm_score": 2, "selected": false, "text": "<p>By adding rel=\"nofollow\" to a hyperlink, a page indicates that the destination of that hyperlink should ...
2016/02/16
[ "https://webmasters.stackexchange.com/questions/90033", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60256/" ]
I have multiple web shops (34). I want a menu with a list of links to all of them on each site. Should I use `rel=nofollow`? Or should I use `rel=nofollow` on each page except the homepage (against link spam) or no `rel=nofollow` at all? It looks like this on each web shop on top of the page (hidden behind a button): ...
You have created what is known as a "network of sites": multiple domains that all inter-link to each other. To some extent, you are right to be worried. [Network of sites have been used to spam](https://searchenginewatch.com/sew/how-to/2261642/link-networks-dont-build-your-seo-strategy-on-a-house-of-cards) search engin...
90,074
<p>I was checking my server via awstats to see who was visiting my site and I have a user-agent of the following value:</p> <pre><code>}__test|O:21:\ </code></pre> <p>Some research has lead me to believe that someone was trying to hack my server.</p> <p>To prevent such things from happening, what are the syntax rule...
[ { "answer_id": 90075, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>There are no rules. A user agent can be <em>anything</em>. </p>\n\n<p>There's no reasonable way to whitelist...
2016/02/17
[ "https://webmasters.stackexchange.com/questions/90074", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/46807/" ]
I was checking my server via awstats to see who was visiting my site and I have a user-agent of the following value: ``` }__test|O:21:\ ``` Some research has lead me to believe that someone was trying to hack my server. To prevent such things from happening, what are the syntax rules in determining that a user agen...
There are no rules. A user agent can be *anything*. There's no reasonable way to whitelist user agents as there are a lot of legitimate ones and you do not want to accidentally block a legitimate user. There's also no way to block bad user agents because, once again, there is no standard way to determine if a user ag...
90,095
<p>I am building a WordPress website just now and have downloaded a few schema plug ins but just can't find one that is just right. I am a complete beginner when it comes to schema, but what I want to find the answer to is this:</p> <p>Can you build schema for web pages that are not articles, news etc etc?</p> <p>Say...
[ { "answer_id": 90100, "author": "grg", "author_id": 43638, "author_profile": "https://webmasters.stackexchange.com/users/43638", "pm_score": 2, "selected": false, "text": "<p>You can use <a href=\"http://schema.org/FoodEstablishment\" rel=\"nofollow\">schema.org/FoodEstablishment</a>, of...
2016/02/17
[ "https://webmasters.stackexchange.com/questions/90095", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60850/" ]
I am building a WordPress website just now and have downloaded a few schema plug ins but just can't find one that is just right. I am a complete beginner when it comes to schema, but what I want to find the answer to is this: Can you build schema for web pages that are not articles, news etc etc? Say my page is calle...
You can use [schema.org/FoodEstablishment](http://schema.org/FoodEstablishment), of which there are a few specific types including [Restaurant](https://schema.org/Restaurant), which the example below uses. > > > ```html > <div itemscope itemtype="http://schema.org/Restaurant"> > <span itemprop="name">GreatFood</sp...
90,097
<p>Scenario:</p> <ol> <li><p>I run a blog on a CMS-based platform (like WordPress) and I purchase a domain.</p></li> <li><p>After some time I will purchase a host service from a web company and I want to import there the entire blog from the CMS-based platform (WordPress in this case) by keeping everything (domain nam...
[ { "answer_id": 90100, "author": "grg", "author_id": 43638, "author_profile": "https://webmasters.stackexchange.com/users/43638", "pm_score": 2, "selected": false, "text": "<p>You can use <a href=\"http://schema.org/FoodEstablishment\" rel=\"nofollow\">schema.org/FoodEstablishment</a>, of...
2016/02/17
[ "https://webmasters.stackexchange.com/questions/90097", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60814/" ]
Scenario: 1. I run a blog on a CMS-based platform (like WordPress) and I purchase a domain. 2. After some time I will purchase a host service from a web company and I want to import there the entire blog from the CMS-based platform (WordPress in this case) by keeping everything (domain name, content, top-level domanin...
You can use [schema.org/FoodEstablishment](http://schema.org/FoodEstablishment), of which there are a few specific types including [Restaurant](https://schema.org/Restaurant), which the example below uses. > > > ```html > <div itemscope itemtype="http://schema.org/Restaurant"> > <span itemprop="name">GreatFood</sp...
90,129
<p>I have a running website of with some hundreds of thousands of pages already indexed, let's say example.com</p> <p>Website needs to be translated to some other languages with the purpose of getting more indexed and get more traffic.</p> <p>If I create <code>example.com (default, for English), es.example.com, de.ex...
[ { "answer_id": 90139, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 2, "selected": true, "text": "<p>To keep your current rankings don't move the current content. For new content create subfolder.</p>\n\n<p>Assu...
2016/02/18
[ "https://webmasters.stackexchange.com/questions/90129", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/52604/" ]
I have a running website of with some hundreds of thousands of pages already indexed, let's say example.com Website needs to be translated to some other languages with the purpose of getting more indexed and get more traffic. If I create `example.com (default, for English), es.example.com, de.example.com...` The alre...
To keep your current rankings don't move the current content. For new content create subfolder. Assume your site looks now like: * `example.com/page-one`, * `/page-two` etc. Assume it is in english. Then, if you want to translate your content into German, create a subfolder `/de/` and double your site structure int...
90,226
<p>I have a custom CMS, and for some reason jQuery will not load from the CDN. After sitting on this for days, I remember I made a change the the .htaccess file but not sure if it's really the cause.</p> <pre><code>RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !^(index\.php|themes|assets|images|c...
[ { "answer_id": 90230, "author": "Vasikos", "author_id": 60973, "author_profile": "https://webmasters.stackexchange.com/users/60973", "pm_score": 2, "selected": false, "text": "<p>Remove \"http:\" from the script src url, like:</p>\n\n<pre><code>&lt;script src=\"//code.jquery.com/jquery-2...
2016/02/20
[ "https://webmasters.stackexchange.com/questions/90226", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4793/" ]
I have a custom CMS, and for some reason jQuery will not load from the CDN. After sitting on this for days, I remember I made a change the the .htaccess file but not sure if it's really the cause. ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !^(index\.php|themes|assets|images|coobie|robots\....
You're trying to load a HTTP resource on a HTTPS page. Your browser may be blocking this external resource because it's considered insecure on an otherwise "secure" page. Change `src="http://code.jquery.com/jquery-2.1.4.min.js"` to `src="https://code.jquery.com/jquery-2.1.4.min.js"` and see if that helps.
90,233
<p>I've been experimenting with Microdata and thought I would try it on my blog. It turns out the template I was using already added some markup. It wasn't great and so I fixed up what I could.</p> <p>To try and push my luck I have added more markup to my latest post but Google's Structured Data Testing Tool (SDTT) is...
[ { "answer_id": 90234, "author": "grg", "author_id": 43638, "author_profile": "https://webmasters.stackexchange.com/users/43638", "pm_score": 5, "selected": true, "text": "<p><a href=\"http://schema.org/BlogPosting\" rel=\"noreferrer\">schema.org/BlogPosting</a> image permits ImageObject ...
2016/02/20
[ "https://webmasters.stackexchange.com/questions/90233", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60971/" ]
I've been experimenting with Microdata and thought I would try it on my blog. It turns out the template I was using already added some markup. It wasn't great and so I fixed up what I could. To try and push my luck I have added more markup to my latest post but Google's Structured Data Testing Tool (SDTT) is unhappy a...
[schema.org/BlogPosting](http://schema.org/BlogPosting) image permits ImageObject and URL, however [Google only permits ImageObject](https://developers.google.com/structured-data/rich-snippets/articles), hence the error. The intended markup is: ```html <!-- my code --> <div itemprop="image" itemscope itemtype="http://...
90,249
<p>I have folder that contains the source code files of a website (tons of html, css and php files). I would like to find an automatic method (preferably with command line tools) to scan this folder recursively and get a list of URLs that are included in these files.</p> <p>I guess it's possible with <em>find</em> and...
[ { "answer_id": 90251, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 0, "selected": false, "text": "<p>Notepad++ can accomplish this job with one button press: search for <code>http</code> in given folder includi...
2016/02/21
[ "https://webmasters.stackexchange.com/questions/90249", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have folder that contains the source code files of a website (tons of html, css and php files). I would like to find an automatic method (preferably with command line tools) to scan this folder recursively and get a list of URLs that are included in these files. I guess it's possible with *find* and *grep* and some ...
Use grep command and search recursively for `http` in a documment. Syntax ====== (If I can remember well) ``` grep -r http ./var/html/index.php ``` Where `grep -r` will force a recursive search, altought you can use other methods too, type `grep --help` to see them. `http` is the string you are searching for, a...
90,256
<p>I just made two backups with cPanel. Both has <code>.tar.gz</code> extensions. One is home directory backup that is 134,2 MB. And the other is a full backup that is 67,4 MB.</p> <p>What causes the difference? Is it normal or is there a problem here?</p>
[ { "answer_id": 90251, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": 0, "selected": false, "text": "<p>Notepad++ can accomplish this job with one button press: search for <code>http</code> in given folder includi...
2016/02/21
[ "https://webmasters.stackexchange.com/questions/90256", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/60698/" ]
I just made two backups with cPanel. Both has `.tar.gz` extensions. One is home directory backup that is 134,2 MB. And the other is a full backup that is 67,4 MB. What causes the difference? Is it normal or is there a problem here?
Use grep command and search recursively for `http` in a documment. Syntax ====== (If I can remember well) ``` grep -r http ./var/html/index.php ``` Where `grep -r` will force a recursive search, altought you can use other methods too, type `grep --help` to see them. `http` is the string you are searching for, a...
90,300
<p>How do you add more than one schema to a web page?</p> <p>I am using the <code>Organization</code> and <code>WebSite</code> schemas on my home page. I am writing the markup in JSON-LD format.</p> <p>The <code>Organization</code> schema for the knowledge graph:</p> <pre><code>&lt;script type="application/ld+json"&...
[ { "answer_id": 90308, "author": "Goyllo", "author_id": 58259, "author_profile": "https://webmasters.stackexchange.com/users/58259", "pm_score": 0, "selected": false, "text": "<p><strong>If you already add website URL in organization, then you don't need to add website schema in your webs...
2016/02/22
[ "https://webmasters.stackexchange.com/questions/90300", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14539/" ]
How do you add more than one schema to a web page? I am using the `Organization` and `WebSite` schemas on my home page. I am writing the markup in JSON-LD format. The `Organization` schema for the knowledge graph: ``` <script type="application/ld+json"> { "@@context": "http://schema.org", "@...
In JSON-LD ([instead of Microdata/RDFa](https://webmasters.stackexchange.com/a/85878/17633)) you have to repeat the property and its value for each node. Instead of using [a separate `script` element for each node](https://stackoverflow.com/a/30730343/1591669), you could also use [a single `script` element that contai...
90,326
<p>This is an odd one:</p> <pre><code>&lt;record&gt; &lt;row&gt; &lt;source_ip&gt;65.20.0.12&lt;/source_ip&gt; &lt;count&gt;2&lt;/count&gt; &lt;policy_evaluated&gt; &lt;disposition&gt;none&lt;/disposition&gt; &lt;dkim&gt;pass&lt;/dkim&gt; &lt;spf&gt;fail&...
[ { "answer_id": 92551, "author": "Tim Draegen", "author_id": 63154, "author_profile": "https://webmasters.stackexchange.com/users/63154", "pm_score": 3, "selected": false, "text": "<p>Two things to consider:</p>\n\n<ol>\n<li><p>Email forwarding happens on the internet. This could be a ca...
2016/02/22
[ "https://webmasters.stackexchange.com/questions/90326", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/61034/" ]
This is an odd one: ``` <record> <row> <source_ip>65.20.0.12</source_ip> <count>2</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>fail</spf> </policy_evaluated> </row> <identifiers> <header_fr...
Sorry, forgot to post the resolution to this! So it was a forwarding thing as suspected but my SPF rules in DNS were overly strict and didn't allow for forwarding - hence SPF failed. Changing from -all to ~all sorted it.
90,386
<p>I see with Google that you can add rich snippits for SKUs, GTINs (barcode numbers): <a href="https://developers.google.com/structured-data/rich-snippets/products" rel="nofollow">https://developers.google.com/structured-data/rich-snippets/products</a></p> <p>Here's an example of what I'm thinking of adding to our pr...
[ { "answer_id": 90389, "author": "grg", "author_id": 43638, "author_profile": "https://webmasters.stackexchange.com/users/43638", "pm_score": 2, "selected": false, "text": "<p>Google only specifies that it is used for \"various identification properties\". This would strongly suggest that...
2016/02/23
[ "https://webmasters.stackexchange.com/questions/90386", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/56442/" ]
I see with Google that you can add rich snippits for SKUs, GTINs (barcode numbers): <https://developers.google.com/structured-data/rich-snippets/products> Here's an example of what I'm thinking of adding to our product page: ``` <span itemprop="gtin12">123456789101</span> ``` How does Google use this information? ...
Currently Google Search doesn’t display the code in their Products Rich Snippet. Google [recommends](https://developers.google.com/structured-data/rich-snippets/products#about_product_offers) to use at least one of these properties: `sku`, `gtin8`, `gtin13`, `gtin14`, `mpn`. They call these "identification properties"...
90,401
<p>I maintain a website for a law firm. Originally their main desired keyword was "zoning attorneys." So I created a small banner that has an <code>h1</code> "ZONING ATTORNEYS" on every page with the attorneys' names inside that <code>div</code>. This approach has worked well and yielded positive SEO results.</p> <pre...
[ { "answer_id": 90399, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>301 redirects do result in a small amount of PR being \"lost\". But it isn't a penalty and it doesn't matter...
2016/02/24
[ "https://webmasters.stackexchange.com/questions/90401", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/57470/" ]
I maintain a website for a law firm. Originally their main desired keyword was "zoning attorneys." So I created a small banner that has an `h1` "ZONING ATTORNEYS" on every page with the attorneys' names inside that `div`. This approach has worked well and yielded positive SEO results. ``` <aside class = "attorneys-con...
301 redirection will not do any harm in your case. As you are redirecting a 9-year-old domain & its link juice to a 4-year-old website, it will certainly not bring any negative effect. If 301 redirection could harm, then negative SEO would work and anyone could redirect the affected website to competitors & spoil th...
90,419
<h3>TLDR;</h3> <p>Does Google care how code is formatted?</p> <h3>Background</h3> <p>I work in an agency. One developer is trying to convince the other to put line-breaks between rules in his css file:</p> <pre><code>.class { width:100%; height:auto; } </code></pre> <p>as opposed to inline: <code>.class { width...
[ { "answer_id": 90420, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 3, "selected": false, "text": "<p>That whole article is about making code readable for humans and has nothing to do with SEO.</p>\n\n<p>Google does n...
2016/02/24
[ "https://webmasters.stackexchange.com/questions/90419", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34432/" ]
### TLDR; Does Google care how code is formatted? ### Background I work in an agency. One developer is trying to convince the other to put line-breaks between rules in his css file: ``` .class { width:100%; height:auto; } ``` as opposed to inline: `.class { width:100%; height:auto; }` The argument is tha...
That whole article is about making code readable for humans and has nothing to do with SEO. Google does not care about formatting. Google only cares about content. Anything that helps outline that content, such as proper headings to show them where a new section begins and lists, will help them figure out what your co...
90,435
<p>I have two hosting accounts, <code>personaldomain.com</code> and <code>companydomain.com</code>. Both have User level cPanel. Whenever I try to send email from <code>personaldomain.com</code> to <strong>any</strong> email address on <code>companydomain.com</code>, I instantly receive a Mail Delivery System message s...
[ { "answer_id": 90438, "author": "mAfiA", "author_id": 60040, "author_profile": "https://webmasters.stackexchange.com/users/60040", "pm_score": 2, "selected": false, "text": "<p>A 550 error code means that your SMTP server isn't able to deliver the sent email to the user because recipient...
2016/02/24
[ "https://webmasters.stackexchange.com/questions/90435", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/61164/" ]
I have two hosting accounts, `personaldomain.com` and `companydomain.com`. Both have User level cPanel. Whenever I try to send email from `personaldomain.com` to **any** email address on `companydomain.com`, I instantly receive a Mail Delivery System message saying: ``` Subject: **Mail delivery failed: returning messa...
A 550 error code means that your SMTP server isn't able to deliver the sent email to the user because recipient mailbox does not exist. According to me if your hosting account is running on shared environment rather than dedicated then please contact your hosting service provider and say them to check your e-mail funct...
90,449
<p>I'm working on a site where we have many different languages (about 24). When a content piece is authored in English, it is automatically copied to all language sites where it will be later translated to the proper language. Currently, we're using <code>hreflang</code> <code>&lt;link&gt;</code> elements in the <code...
[ { "answer_id": 90447, "author": "inkovic", "author_id": 49404, "author_profile": "https://webmasters.stackexchange.com/users/49404", "pm_score": 2, "selected": false, "text": "<p>When creating your segment, go to the <strong>Conditions</strong> section on the left-hand side.</p>\n\n<p>Fo...
2016/02/24
[ "https://webmasters.stackexchange.com/questions/90449", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/61183/" ]
I'm working on a site where we have many different languages (about 24). When a content piece is authored in English, it is automatically copied to all language sites where it will be later translated to the proper language. Currently, we're using `hreflang` `<link>` elements in the `head` like so: ``` <link rel="alte...
When creating your segment, go to the **Conditions** section on the left-hand side. For **Filter**, select *Users* instead of Sessions and choose *Exclude*. Now, select either *Event Action*, *Event Label* or *Event Category*, whichever is appropriate, and select the appropriate event. [![Screenshot of Image](https:...
90,451
<p>I have various articles on my website basically circling about psychology and psychotherapy. On a few articles in which I have added schema.org definitions, here is some examples of the <code>itemprop</code> and <code>itemtypes</code> I've used:</p> <pre><code>&lt;div itemscope itemtype="https://schema.org/MedicalW...
[ { "answer_id": 90468, "author": "Evgeniy", "author_id": 43910, "author_profile": "https://webmasters.stackexchange.com/users/43910", "pm_score": -1, "selected": false, "text": "<p>You are on the right way - so don't be confused:</p>\n\n<ol>\n<li>It is absolutely right to add all and ever...
2016/02/24
[ "https://webmasters.stackexchange.com/questions/90451", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/22557/" ]
I have various articles on my website basically circling about psychology and psychotherapy. On a few articles in which I have added schema.org definitions, here is some examples of the `itemprop` and `itemtypes` I've used: ``` <div itemscope itemtype="https://schema.org/MedicalWebPage"> <link itemprop="about" href="h...
The website <http://schema.org/> is the relevant and the only canonical source for Schema.org types and properties. **Type vs. property.** A type represents a thing, a property is for providing information about that thing. The name of a type always starts with an uppercase letter (e.g., `Person`), the name of a prope...