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 |
|---|---|---|---|---|---|---|
104,024 | <p>I have a schema in JSON-LD as per Schema.org. When it was inline (within <code><script></code> tags), the <a href="https://search.google.com/structured-data/testing-tool" rel="nofollow noreferrer">Google structured data testing tool</a> recognised the schema successfully.</p>
<p>If I link it externally, the <a... | [
{
"answer_id": 104051,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 5,
"selected": true,
"text": "<p>The <a href=\"https://www.w3.org/TR/2016/REC-html51-20161101/semantics-scripting.html#the-script-element\" rel=\... | 2017/02/21 | [
"https://webmasters.stackexchange.com/questions/104024",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75205/"
] | I have a schema in JSON-LD as per Schema.org. When it was inline (within `<script>` tags), the [Google structured data testing tool](https://search.google.com/structured-data/testing-tool) recognised the schema successfully.
If I link it externally, the [structured data testing tool](https://search.google.com/structur... | The [`script` element](https://www.w3.org/TR/2016/REC-html51-20161101/semantics-scripting.html#the-script-element) can be used for two things:
* dynamic/classic **scripts**
* **data**
And for data, the spec defines:
>
> When used to include data blocks, the data must be embedded inline […]
>
>
>
So you may use ... |
104,030 | <p>My website is set up in such a way such that any rubbish URL (e.g. <code>example.com/asdfgh</code>) will get a blank page and not a 404 error. I am not sure if its bad or good for SEO. Could you let me know what do you think about this. </p>
<p>This is only reaction on this topic that I found on net:</p>
<blockquo... | [
{
"answer_id": 104034,
"author": "Rob",
"author_id": 8466,
"author_profile": "https://webmasters.stackexchange.com/users/8466",
"pm_score": 1,
"selected": false,
"text": "<p>Dead links are dead links and search engines won't give you brownie points for a page with no content. From a user... | 2017/02/21 | [
"https://webmasters.stackexchange.com/questions/104030",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75221/"
] | My website is set up in such a way such that any rubbish URL (e.g. `example.com/asdfgh`) will get a blank page and not a 404 error. I am not sure if its bad or good for SEO. Could you let me know what do you think about this.
This is only reaction on this topic that I found on net:
>
> This is not an error, there e... | Google does indeed call these soft 404s...Soft 404s are a pet peeve of mine.
They are very common, many of the sites I have access to the Google Search Console data for have them.
But they shouldn't.
If a server can't return the content the client is requesting, it should inform the client (by returning an error mes... |
104,089 | <p>How do you redirect all non-www links to my website to <code>https://www.</code> I know that there are a lot of solutions for .htaccess but I haven't been able to find anything sufficient for nginx. </p>
<p>At the moment all I have is </p>
<pre><code>##
# Redirect non-www to www
##
server {
listen 80;
se... | [
{
"answer_id": 104101,
"author": "Recap",
"author_id": 75296,
"author_profile": "https://webmasters.stackexchange.com/users/75296",
"pm_score": 0,
"selected": false,
"text": "<p>So far what I came up with is a simple if statement under port 443 to check if the domain is non-www and then ... | 2017/02/23 | [
"https://webmasters.stackexchange.com/questions/104089",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75296/"
] | How do you redirect all non-www links to my website to `https://www.` I know that there are a lot of solutions for .htaccess but I haven't been able to find anything sufficient for nginx.
At the moment all I have is
```
##
# Redirect non-www to www
##
server {
listen 80;
server_name example.com; # add oth... | Since my last answer using the "if" statement is not recommended in most cases, I came up with another solution which seems to be working perfectly.
What I did was create another server block with www in the `server_name` and had my other server blocks redirect to it.
```
server {
listen 80;
listen [::]:80 d... |
104,092 | <p>If I go to my website it loads fine. I can use my VPN to jump to various different countries and it also loads fine.</p>
<p>However, one potential client cannot see it. Not only that but the site <a href="http://isitdownorjust.me" rel="nofollow noreferrer">http://isitdownorjust.me</a> also shows it as being down. <... | [
{
"answer_id": 104103,
"author": "Syntaxxx Err0r",
"author_id": 75097,
"author_profile": "https://webmasters.stackexchange.com/users/75097",
"pm_score": 1,
"selected": false,
"text": "<p>Are they trying to access your page from a School or Corporate network? IT might be due to a filterin... | 2017/02/23 | [
"https://webmasters.stackexchange.com/questions/104092",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11224/"
] | If I go to my website it loads fine. I can use my VPN to jump to various different countries and it also loads fine.
However, one potential client cannot see it. Not only that but the site <http://isitdownorjust.me> also shows it as being down.
Pingdom.com shows the site as being up across all of its different ping ... | This can be caused by DNS. If your DNS records return different results to different people, you could have a problem.
There are two ways that could happen:
1. You have multiple `A` records with different values
2. You have to have multiple DNS servers that have different information.
Here is how to check using the ... |
104,095 | <p>I want to use <a href="https://www.mediawikiwidgets.org/Widget:PDF" rel="nofollow noreferrer">Widget PDF</a> to embed PDF files on my MediaWiki pages. So at first installed <a href="https://www.mediawiki.org/wiki/Extension:Widgets" rel="nofollow noreferrer">Extension:Widgets</a> on MediaWiki and it <strong>seems</st... | [
{
"answer_id": 104103,
"author": "Syntaxxx Err0r",
"author_id": 75097,
"author_profile": "https://webmasters.stackexchange.com/users/75097",
"pm_score": 1,
"selected": false,
"text": "<p>Are they trying to access your page from a School or Corporate network? IT might be due to a filterin... | 2017/02/23 | [
"https://webmasters.stackexchange.com/questions/104095",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/71186/"
] | I want to use [Widget PDF](https://www.mediawikiwidgets.org/Widget:PDF) to embed PDF files on my MediaWiki pages. So at first installed [Extension:Widgets](https://www.mediawiki.org/wiki/Extension:Widgets) on MediaWiki and it **seems** it is installed (I can see it in `Installed extensions` list in `Special:Version` of... | This can be caused by DNS. If your DNS records return different results to different people, you could have a problem.
There are two ways that could happen:
1. You have multiple `A` records with different values
2. You have to have multiple DNS servers that have different information.
Here is how to check using the ... |
104,151 | <p>I've started a site about selling cars and visitors can filter out the results, which means a lot of pages which get indexed by Google.</p>
<p>My question is should I allow indexing all those filter URL parameters or not?</p>
<p>Example:</p>
<pre><code>example.com/search?brand=BMW&fuel_type=diesel&...
</c... | [
{
"answer_id": 104177,
"author": "GrapeSoda",
"author_id": 63672,
"author_profile": "https://webmasters.stackexchange.com/users/63672",
"pm_score": -1,
"selected": false,
"text": "<p>Yes, it does makes sense because Non HTML files can contain sensitive data. If a browser does not check t... | 2017/02/25 | [
"https://webmasters.stackexchange.com/questions/104151",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/61244/"
] | I've started a site about selling cars and visitors can filter out the results, which means a lot of pages which get indexed by Google.
My question is should I allow indexing all those filter URL parameters or not?
Example:
```
example.com/search?brand=BMW&fuel_type=diesel&...
```
Also if I should allow indexing t... | I think it makes sense to include it on non-HTML content. Not all content can create referrals, but HTML content is not the only thing that can. Flash, for example, often does. CSS can include URL info for fonts and background images, if not other content. In addition, unless I didn't understand the policy correctly, t... |
104,348 | <p>I'm running a VPS server and for so many years, I've been using http:// for my main website. In fact, to even avoid www and non-www issue, duplicate content issues, etc. in search engines, I even have the below code in my .htaccess currently:</p>
<pre><code>RewriteEngine On
Options +FollowSymlinks
RewriteBase /
Rew... | [
{
"answer_id": 104349,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>You will run into duplicate content issues sooner or later. It is just a matter of time.</p>\n\n<p>You have... | 2017/03/05 | [
"https://webmasters.stackexchange.com/questions/104348",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75661/"
] | I'm running a VPS server and for so many years, I've been using http:// for my main website. In fact, to even avoid www and non-www issue, duplicate content issues, etc. in search engines, I even have the below code in my .htaccess currently:
```
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTT... | You will run into duplicate content issues sooner or later. It is just a matter of time.
You have two choices, three actually, but really just two.
1] Redirect HTTP to HTTPS or HTTPS to HTTP. I recommend HTTP to HTTPS since you seem to have what you need, however I understand not taking the leap. HTTPS adds an additi... |
104,390 | <p>Google Search Console flags duplicate titles for the following pages on my site - they all have the title 'prodname'</p>
<pre><code>/de/products/georadar/prodname
/es/products/georadar-gpr-radar-de-penetracion-terrestre/prodname
/fr/products/georadar/prodname
/zh/products/gpr/prodname
</code></pre>
<p>However, eac... | [
{
"answer_id": 106081,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>You can fix it by naming the page something than other than just the product name. Put something... | 2017/03/06 | [
"https://webmasters.stackexchange.com/questions/104390",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75718/"
] | Google Search Console flags duplicate titles for the following pages on my site - they all have the title 'prodname'
```
/de/products/georadar/prodname
/es/products/georadar-gpr-radar-de-penetracion-terrestre/prodname
/fr/products/georadar/prodname
/zh/products/gpr/prodname
```
However, each page is in a different l... | Try implementing hreflang metadata on each page. It can be a long process, but it should help search engines to see each page as language- and region-specific, and prevent these pages from showing up for searches in the wrong regions.
Here's the spec (read it even if you're not on WordPress - it applies to websites in... |
104,424 | <p>2 weeks ago I found out that some domains were proxying or scraping my site. So when you accessed theirsite.com/some/parameter they would render exactly the same as mysite.com/some/parameter but replacing all instances of mysite.com with theirsite.com, removing all javascript code, and adding before the tag some li... | [
{
"answer_id": 104465,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 3,
"selected": true,
"text": "<p>I think you have done the correct thing by serving up a blank page. It looks like Google is just being sl... | 2017/03/08 | [
"https://webmasters.stackexchange.com/questions/104424",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75765/"
] | 2 weeks ago I found out that some domains were proxying or scraping my site. So when you accessed theirsite.com/some/parameter they would render exactly the same as mysite.com/some/parameter but replacing all instances of mysite.com with theirsite.com, removing all javascript code, and adding before the tag some livein... | I think you have done the correct thing by serving up a blank page. It looks like Google is just being slow to update. If those scraper websites have little traffic then Google won't be visiting them often and it could take months before every page is removed.
However, I would suggest removing the 'nofollow' on the pa... |
104,431 | <p>We are using Google Analytics for our website. If I go to the Acquisition -> All Traffic -> Channels view, and apply a custom dimension to the report as secondary dimension, the filtered result say the following:</p>
<ol>
<li><p>In the 'Users' column, all the 100% of users are shown. (<code>% of Total: 100.00%</cod... | [
{
"answer_id": 104465,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 3,
"selected": true,
"text": "<p>I think you have done the correct thing by serving up a blank page. It looks like Google is just being sl... | 2017/03/08 | [
"https://webmasters.stackexchange.com/questions/104431",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75776/"
] | We are using Google Analytics for our website. If I go to the Acquisition -> All Traffic -> Channels view, and apply a custom dimension to the report as secondary dimension, the filtered result say the following:
1. In the 'Users' column, all the 100% of users are shown. (`% of Total: 100.00%`)
2. In the 'Sessions' co... | I think you have done the correct thing by serving up a blank page. It looks like Google is just being slow to update. If those scraper websites have little traffic then Google won't be visiting them often and it could take months before every page is removed.
However, I would suggest removing the 'nofollow' on the pa... |
104,450 | <p>I'm currently performing SEO for my client's project. I'm kind of new to this, so please bear with me.</p>
<p>I've read a lot mixed reviews on inclusion of robots.txt (some say it's good to include even if you have no URLs to block, some say we should not even have it).</p>
<p>Also, a lot of online tools kept ment... | [
{
"answer_id": 104452,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>some say it's good to include even if you have no URLs to block</p>\n</blockquote>\n\n<p>This ... | 2017/03/09 | [
"https://webmasters.stackexchange.com/questions/104450",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/70238/"
] | I'm currently performing SEO for my client's project. I'm kind of new to this, so please bear with me.
I've read a lot mixed reviews on inclusion of robots.txt (some say it's good to include even if you have no URLs to block, some say we should not even have it).
Also, a lot of online tools kept mentioning that my cl... | >
> some say it's good to include even if you have no URLs to block
>
>
>
This simply prevents your logs being polluted with a lot of unnecessary 404s - since the bots will request it anyway. But this isn't necessary a problem - it just depends how your stats software reports it. (The request is logged anyway, reg... |
104,454 | <p>I have a website and I don't want this website to be visible on Google. So I deployed a robots.txt file. But the homepage of the website is still visible on Google. Here is the full code of my robots.txt copy-pasted below-</p>
<pre><code>User-agent: *
Disallow: /cgi-bin/
Disallow: /private/
Disallow: /tmp/
Disallow... | [
{
"answer_id": 104455,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 4,
"selected": true,
"text": "<p>If you don't want to allowed to crawl your website on Google search result, then use this robots.txt</p>\n\n<p... | 2017/03/09 | [
"https://webmasters.stackexchange.com/questions/104454",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75469/"
] | I have a website and I don't want this website to be visible on Google. So I deployed a robots.txt file. But the homepage of the website is still visible on Google. Here is the full code of my robots.txt copy-pasted below-
```
User-agent: *
Disallow: /cgi-bin/
Disallow: /private/
Disallow: /tmp/
Disallow: /_/
Disallow... | If you don't want to allowed to crawl your website on Google search result, then use this robots.txt
```
User-agent: *
Disallow: /
```
These will block all directories.
But if many website links to your website, then Google will start displaying this snippet in future.
[ https://w... | >
> Then later when I tried to edit the .htaccess code there were no any rule I previously added. But the redirect still worked as it should.
>
>
>
301 redirects are cached hard by the browser, so if the redirects are no longer in the `.htaccess` file (or moved to the server config) then it's quite possible you ar... |
104,500 | <p>A complete webmaster noob here, and I'm sorry for the noobish question. I recently purchased a domain through Google Domains. I've also setup a personal Apache web server running off a non-standard port (ISP blocks 80), currently serving a default template wordpress site.</p>
<p>It is currently setup:</p>
<p>IP.AD... | [
{
"answer_id": 104485,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Then later when I tried to edit the .htaccess code there were no any rule I previously added. ... | 2017/03/11 | [
"https://webmasters.stackexchange.com/questions/104500",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75868/"
] | A complete webmaster noob here, and I'm sorry for the noobish question. I recently purchased a domain through Google Domains. I've also setup a personal Apache web server running off a non-standard port (ISP blocks 80), currently serving a default template wordpress site.
It is currently setup:
IP.ADDRESS:PORT
```
1... | >
> Then later when I tried to edit the .htaccess code there were no any rule I previously added. But the redirect still worked as it should.
>
>
>
301 redirects are cached hard by the browser, so if the redirects are no longer in the `.htaccess` file (or moved to the server config) then it's quite possible you ar... |
104,510 | <p>In Google Search Console i have seen some keywords under "How your data is linked". when i click more there is a huge keywords under "Anchor text". What are those keywords? What is the significance of these in my site? What to do with these keywords?</p>
| [
{
"answer_id": 104513,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 1,
"selected": false,
"text": "<p>These are terms that Google has found in link text that may influence search to your site.</p>\n\n<p>This ... | 2017/03/11 | [
"https://webmasters.stackexchange.com/questions/104510",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/62687/"
] | In Google Search Console i have seen some keywords under "How your data is linked". when i click more there is a huge keywords under "Anchor text". What are those keywords? What is the significance of these in my site? What to do with these keywords? | ```
<a href="http://www.example.com/my_page">ANCHOR TEXT</a>
```
Google tells you which words have links to your site. |
104,624 | <p>I run a job board, which has three different taxonomies; category, location and job type.</p>
<p>I currently have all my category and location pages indexed by Google. They've been in the indexed for many years and rank well.</p>
<p>After requests from our user base, we will soon be creating combination pages. For... | [
{
"answer_id": 104634,
"author": "manu mahajan",
"author_id": 76050,
"author_profile": "https://webmasters.stackexchange.com/users/76050",
"pm_score": 0,
"selected": false,
"text": "<p>This may be cause problem and taken and duplicate content even the titles are different , So you should... | 2017/03/16 | [
"https://webmasters.stackexchange.com/questions/104624",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/45423/"
] | I run a job board, which has three different taxonomies; category, location and job type.
I currently have all my category and location pages indexed by Google. They've been in the indexed for many years and rank well.
After requests from our user base, we will soon be creating combination pages. For example, a speci... | Google fully understands and appreciates content that appears multiple times over various pages due to taxonomies and categories found in WordPress and other platforms, it is absolutely fine for those pages to be indexed because if they are useful for your users they are useful to be indexed, just as millions of other ... |
104,639 | <p>I'm developing a web application which downloads a number of web pages using PHP curl. It then uses <code>diff</code> to compare the files as they change each day.</p>
<p>I reported a problem a few weeks back where seemingly identical files were being flagged by <code>diff</code> as being different: <a href="https:... | [
{
"answer_id": 104640,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 4,
"selected": true,
"text": "<p>You are probably seeing a difference in line-endings. When transferring a file in ASCII/Text mode (as opposed t... | 2017/03/16 | [
"https://webmasters.stackexchange.com/questions/104639",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/66992/"
] | I'm developing a web application which downloads a number of web pages using PHP curl. It then uses `diff` to compare the files as they change each day.
I reported a problem a few weeks back where seemingly identical files were being flagged by `diff` as being different: <https://stackoverflow.com/questions/42552239/d... | You are probably seeing a difference in line-endings. When transferring a file in ASCII/Text mode (as opposed to "Binary mode") then most FTP clients will convert/normalise line-endings to the OS being transferred to.
On Classic Mac OS (9.x and earlier) the line-ending char is simply `\r` (ASCII 13), on Mac OS X this ... |
104,650 | <p>I'm doing my best to ask this question, I'm stepping across domains here to cover for another team that is MIA on this task. Please guide me if the question sounds stupid.</p>
<p>We are dealing with a website that is reportedly hosted via VHost on Apache servers. So when we go to blah.oursite.com, many of our sta... | [
{
"answer_id": 105047,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 0,
"selected": false,
"text": "<p>Unless the static resources you are loading contain anything that absolutely has to be protected th... | 2017/03/16 | [
"https://webmasters.stackexchange.com/questions/104650",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/60359/"
] | I'm doing my best to ask this question, I'm stepping across domains here to cover for another team that is MIA on this task. Please guide me if the question sounds stupid.
We are dealing with a website that is reportedly hosted via VHost on Apache servers. So when we go to blah.oursite.com, many of our static assets a... | We dealt with this type of issue recently when setting up a staging copy of one of our websites. We needed to load assets through the cdn to make sure it was setup properly but the cdn was denied by the .htaccess basic password auth just like you described.
To work around this we used Apache's [SetEnvIF Directive](ht... |
104,679 | <p>We recently moved our domain from <code>monomachines.com --> supplychimp.com</code>
Followed all the recommendations from various blog posts and told Google in Webmaster Tools that <code>MonoMachines</code> is now <code>SupplyChimp</code>. 301 redirects are all setup and working properly.</p>
<p><strong>The Iss... | [
{
"answer_id": 105047,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 0,
"selected": false,
"text": "<p>Unless the static resources you are loading contain anything that absolutely has to be protected th... | 2017/03/17 | [
"https://webmasters.stackexchange.com/questions/104679",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76111/"
] | We recently moved our domain from `monomachines.com --> supplychimp.com`
Followed all the recommendations from various blog posts and told Google in Webmaster Tools that `MonoMachines` is now `SupplyChimp`. 301 redirects are all setup and working properly.
**The Issue**:
Google is using our OLD company/domain name for... | We dealt with this type of issue recently when setting up a staging copy of one of our websites. We needed to load assets through the cdn to make sure it was setup properly but the cdn was denied by the .htaccess basic password auth just like you described.
To work around this we used Apache's [SetEnvIF Directive](ht... |
104,703 | <p>I have a business website that is coded purely in HTML/CSS/JS. I also made a blog section and used WordPress for it.</p>
<ul>
<li><code>example.com</code> : is HTML, CSS, JS</li>
<li><code>example.com/blog</code> : is WordPress.</li>
</ul>
<p>Does this make some issues for SEO? Because WordPress creates its own <c... | [
{
"answer_id": 105047,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 0,
"selected": false,
"text": "<p>Unless the static resources you are loading contain anything that absolutely has to be protected th... | 2017/03/19 | [
"https://webmasters.stackexchange.com/questions/104703",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76142/"
] | I have a business website that is coded purely in HTML/CSS/JS. I also made a blog section and used WordPress for it.
* `example.com` : is HTML, CSS, JS
* `example.com/blog` : is WordPress.
Does this make some issues for SEO? Because WordPress creates its own `sitemap.xml`, own `.htaccess`, rel canonical is `example.c... | We dealt with this type of issue recently when setting up a staging copy of one of our websites. We needed to load assets through the cdn to make sure it was setup properly but the cdn was denied by the .htaccess basic password auth just like you described.
To work around this we used Apache's [SetEnvIF Directive](ht... |
104,714 | <p>Paid links (e.g. affiliate links) should have the <code>rel="nofollow"</code> attribute added them to prevent passing on PageRank. But is this necessary if the URL is already blocked by robots.txt?</p>
<p><strong>Example:</strong> Let's say this is an affiliate link (served with a redirect script).</p>
<p><code>&l... | [
{
"answer_id": 105047,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 0,
"selected": false,
"text": "<p>Unless the static resources you are loading contain anything that absolutely has to be protected th... | 2017/03/19 | [
"https://webmasters.stackexchange.com/questions/104714",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/46682/"
] | Paid links (e.g. affiliate links) should have the `rel="nofollow"` attribute added them to prevent passing on PageRank. But is this necessary if the URL is already blocked by robots.txt?
**Example:** Let's say this is an affiliate link (served with a redirect script).
`<a href="http://example.com/go/bluehost.com" rel... | We dealt with this type of issue recently when setting up a staging copy of one of our websites. We needed to load assets through the cdn to make sure it was setup properly but the cdn was denied by the .htaccess basic password auth just like you described.
To work around this we used Apache's [SetEnvIF Directive](ht... |
104,742 | <p>We just started with our mailing activity, and for our warm up, we send the first mail to 1000 emails. On second day we took a big jump and went over to 5000, then 9000 and now at 12000.</p>
<p>Unfortunately right after the first mail, gmail marked us as spam. </p>
<p>isNOTspam breakup is listed below. Not sure wh... | [
{
"answer_id": 104909,
"author": "Izaias Almeida",
"author_id": 76369,
"author_profile": "https://webmasters.stackexchange.com/users/76369",
"pm_score": 2,
"selected": false,
"text": "<p>You don't need to send a high volume of emails to be marked as spam, actually, one of the most import... | 2017/03/21 | [
"https://webmasters.stackexchange.com/questions/104742",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76201/"
] | We just started with our mailing activity, and for our warm up, we send the first mail to 1000 emails. On second day we took a big jump and went over to 5000, then 9000 and now at 12000.
Unfortunately right after the first mail, gmail marked us as spam.
isNOTspam breakup is listed below. Not sure why it says DKIM fa... | You don't need to send a high volume of emails to be marked as spam, actually, one of the most important things are the ratio between people that clicked on "marked as spam", successful deliveries and bounces (especially hard bounces).
Have you validated the emails from your list before sending?
Depending on how you ... |
104,748 | <p>I am working on a B2B web application where companies registers to use the application. Say am using <code>www.example.com</code> to access the application.</p>
<p>Here is a scenario:</p>
<ol>
<li>Somebody from a company named "POTATO" comes to <code>www.example.com</code> and registers.</li>
<li>They log in with... | [
{
"answer_id": 104749,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 1,
"selected": false,
"text": "<p>Firstly, I recommend dropping the www from the front of subdomains, it confuses people. You can have <code>ww... | 2017/03/21 | [
"https://webmasters.stackexchange.com/questions/104748",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/62430/"
] | I am working on a B2B web application where companies registers to use the application. Say am using `www.example.com` to access the application.
Here is a scenario:
1. Somebody from a company named "POTATO" comes to `www.example.com` and registers.
2. They log in with the user name "POTATO"
I want to change the URL... | Firstly, I recommend dropping the www from the front of subdomains, it confuses people. You can have `www.foo.com` if you really want, but then just `potato.foo.com`
I am not sure about in node.js but if you are using cpanel there is a class to create subdomains.
First get the PHP [XMLAPI class from github](https://g... |
104,763 | <p>Our website is an agenda of events taking place in our city.</p>
<p>We have a datepicker for users to look at events scheduled in the next week, next month, etc...</p>
<p>We recently discovered that GoogleBot is crawling this datepicker, requesting events centuries in the future: it crawls URLs like</p>
<p><a hre... | [
{
"answer_id": 104772,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 2,
"selected": true,
"text": "<p>If you want to prevent crawling, you have to use <code>robots.txt</code>.</p>\n\n<p>It would make sense to go th... | 2017/03/21 | [
"https://webmasters.stackexchange.com/questions/104763",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76224/"
] | Our website is an agenda of events taking place in our city.
We have a datepicker for users to look at events scheduled in the next week, next month, etc...
We recently discovered that GoogleBot is crawling this datepicker, requesting events centuries in the future: it crawls URLs like
<https://example.com/2208-01-0... | If you want to prevent crawling, you have to use `robots.txt`.
It would make sense to go this way if 1) you need to have the pages for these future dates and 2) you want to save your server’s and/or the search engine bot’s resources.
You can decide for which years you want to prevent crawling by specifying the beginn... |
104,805 | <p>I have a single web host with a number of other parked domains/sites in sub-directories, like this:</p>
<p><code>example.com</code> is the primary site and root directory of the web hosting.</p>
<p><code>example.com/www.example2.com</code> is one of the parked sites, but it is just a subfolder of the primary site.... | [
{
"answer_id": 104807,
"author": "Aaron Walerstein",
"author_id": 15673,
"author_profile": "https://webmasters.stackexchange.com/users/15673",
"pm_score": -1,
"selected": false,
"text": "<p>From what you are saying if everything is redirected to example.com then yes.</p>\n"
},
{
... | 2017/03/23 | [
"https://webmasters.stackexchange.com/questions/104805",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18847/"
] | I have a single web host with a number of other parked domains/sites in sub-directories, like this:
`example.com` is the primary site and root directory of the web hosting.
`example.com/www.example2.com` is one of the parked sites, but it is just a subfolder of the primary site.
Both `www.example2.com` and `www.exam... | I guess what you are looking for is a robots.txt entry like this:
```
User-agent: *
Disallow: /www.example2.com
```
Let's suggestion you have more than 100 'parked' exampleNR.com URLs, but don't want to write a line for every single one of them...use this:
```
User-agent: *
Disallow: /www.example
```
The problem ... |
104,878 | <p>I'm trying to find the SSL .crt file that was installed on my Ubuntu server using Let's Encrypt.
I used this commands below for installing Let's Encrypt free SSL:</p>
<pre><code>$sudo apt-get update
$sudo apt-get install python-letsencrypt-apache
$sudo letsencrypt --apache -d example.com
</code></pre>
| [
{
"answer_id": 104884,
"author": "moonpoint",
"author_id": 59894,
"author_profile": "https://webmasters.stackexchange.com/users/59894",
"pm_score": 0,
"selected": false,
"text": "<p>I don't know that the file for which you are looking will be there, but <a href=\"https://en.wikipedia.org... | 2017/03/25 | [
"https://webmasters.stackexchange.com/questions/104878",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75469/"
] | I'm trying to find the SSL .crt file that was installed on my Ubuntu server using Let's Encrypt.
I used this commands below for installing Let's Encrypt free SSL:
```
$sudo apt-get update
$sudo apt-get install python-letsencrypt-apache
$sudo letsencrypt --apache -d example.com
``` | After successfully running Lets Encrypt for example.com, the *latest* certificate files can be found in the following location:
```
/etc/letsencrypt/live/example.com/privkey.pem
/etc/letsencrypt/live/example.com/chain.pem
/etc/letsencrypt/live/example.com/fullchain.pem
/etc/letsencrypt/live/example.com/cert.pem
```
... |
104,912 | <p>Google uses this HTML code in its <a href="https://adwords.google.com/intl/pt_br/home/" rel="nofollow noreferrer">Adwords pt-BR page</a>:</p>
<pre><code><section class="..." id="...">
<h4 class="...">
Preços
</h4>
<h2>
Você paga somente pelos resultados.
</h2>
<h3&... | [
{
"answer_id": 104916,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>Google doesn't even use headings as a ranking signal anymore. It pays attention to how the tex... | 2017/03/27 | [
"https://webmasters.stackexchange.com/questions/104912",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75843/"
] | Google uses this HTML code in its [Adwords pt-BR page](https://adwords.google.com/intl/pt_br/home/):
```
<section class="..." id="...">
<h4 class="...">
Preços
</h4>
<h2>
Você paga somente pelos resultados.
</h2>
<h3>
Quando não há acessos, não há cobrança.
</h3>
<p>
...
</p>
<h3>
... | Google doesn't even use headings as a ranking signal anymore. It pays attention to how the text is rendered on the page. Big bold text at the top of the page may be weighted more regardless of using h1, h2, h3, etc or styling it that way with CSS.
Making page mark up "semantically correct" doesn't matter in any way a... |
104,929 | <p>I have a website which is currently hosted on GitHub. I have added a CNAME entry</p>
<pre><code>Name: requestly.in
Value: requestly.github.io
</code></pre>
<p>This works perfectly fine. Now, I am trying to setup email service by Zoho. I need to add couple of MX records. According to Zoho documentation, I have to a... | [
{
"answer_id": 105971,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>This is a very helpful warning. It is there because of a weird rule in how mail sending is imp... | 2017/03/28 | [
"https://webmasters.stackexchange.com/questions/104929",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18097/"
] | I have a website which is currently hosted on GitHub. I have added a CNAME entry
```
Name: requestly.in
Value: requestly.github.io
```
This works perfectly fine. Now, I am trying to setup email service by Zoho. I need to add couple of MX records. According to Zoho documentation, I have to add the following entries:
... | This is a very helpful warning. It is there because of a weird rule in how mail sending is implemented. If there is a CNAME entry for the domain apex, all MX records are ignored and mail does not work.
To be able to add MX records, you need to specify an A record rather than a CNAME record for your apex record (`reque... |
104,948 | <p>Inside the text of a blog post, I have a paragraph where I highlight some points. It is like a summary. Should I use ul li tags there? What is the best practice? Does it matter?</p>
<p>Is there any advantage to use ul li tags over just make a paragraph with a dash at the beginning?. It seems more work and I do not ... | [
{
"answer_id": 104936,
"author": "RolfRB",
"author_id": 35098,
"author_profile": "https://webmasters.stackexchange.com/users/35098",
"pm_score": 2,
"selected": false,
"text": "<p>Nofollow <em>is</em> what you are looking for. It doesn't pass any link juice and google wont open or save th... | 2017/03/28 | [
"https://webmasters.stackexchange.com/questions/104948",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31473/"
] | Inside the text of a blog post, I have a paragraph where I highlight some points. It is like a summary. Should I use ul li tags there? What is the best practice? Does it matter?
Is there any advantage to use ul li tags over just make a paragraph with a dash at the beginning?. It seems more work and I do not see the ad... | Nofollow *is* what you are looking for. It doesn't pass any link juice and google wont open or save them.
>
> In general, we don't follow them. This means that Google does not
> transfer PageRank or anchor text across these links. Essentially,
> using nofollow causes us to drop the target links from our overall
> ... |
104,987 | <p>Can anyone tell me how Google decides which image to use when it shows an image with the search results (as is the case with mobile search, sometimes)?</p>
<p>If you look at these mobile search results …</p>
<p><a href="https://i.stack.imgur.com/aKRwV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aKRwV... | [
{
"answer_id": 105023,
"author": "Jakub Kliský",
"author_id": 63346,
"author_profile": "https://webmasters.stackexchange.com/users/63346",
"pm_score": 1,
"selected": false,
"text": "<p>It should be able to change through Google Search Console.\nYou can highlight data of your webpage, inc... | 2017/03/29 | [
"https://webmasters.stackexchange.com/questions/104987",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/58506/"
] | Can anyone tell me how Google decides which image to use when it shows an image with the search results (as is the case with mobile search, sometimes)?
If you look at these mobile search results …
[](https://i.stack.imgur.com/aKRwV.png)
… and take the AliExpress.com result as... | The issue you've cited is because **Google is unable to determine which is your main image and that is why, it randomly pics an image** on that page to show on the SERP result.
It is also dependent on which search query you've entered and which page (offer details page, offer listing page, seller's store front page e... |
105,019 | <p>I was wondering if the following is good for SEO. I have a webshop with categories and products. Products can contain <code>-</code> themselves.</p>
<p>For example, one of the URLs would be:</p>
<pre><code>http://SITE/products/CATEGORY/this+is+something+1-layer
</code></pre>
<p>Where the product name is "This is ... | [
{
"answer_id": 105038,
"author": "RadWebHosting",
"author_id": 62828,
"author_profile": "https://webmasters.stackexchange.com/users/62828",
"pm_score": -1,
"selected": false,
"text": "<p>You should stick with a more traditional underscore: \n<code>http://SITE/products/CATEGORY/this_is_so... | 2017/03/30 | [
"https://webmasters.stackexchange.com/questions/105019",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76509/"
] | I was wondering if the following is good for SEO. I have a webshop with categories and products. Products can contain `-` themselves.
For example, one of the URLs would be:
```
http://SITE/products/CATEGORY/this+is+something+1-layer
```
Where the product name is "This is something 1-layer"
Now, I understand it's b... | The plus character would be a fine choice for a second separator (or technically third since you also have slashes). Google treats both pluses and dashes as word separators in URLs, so words will get parsed and ranked just fine.
Some sites like this one get around the problem by using a numeric ID in the URL and using... |
105,027 | <p>I am new to the web mastering stuff so please bear with me.
My problem is that I have a domain example.com. If I go directly to it I get an invalid url error, however www.example.com works just great.
Here is the error message</p>
<pre><code>Invalid URL
The requested URL "[no URL]", is invalid.
Reference #9.b20fd... | [
{
"answer_id": 105089,
"author": "Zdenek",
"author_id": 28279,
"author_profile": "https://webmasters.stackexchange.com/users/28279",
"pm_score": 1,
"selected": false,
"text": "<p>You need to create an A record with the IP of the webserver. This is because the bare hostnames with just <co... | 2017/03/30 | [
"https://webmasters.stackexchange.com/questions/105027",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76514/"
] | I am new to the web mastering stuff so please bear with me.
My problem is that I have a domain example.com. If I go directly to it I get an invalid url error, however www.example.com works just great.
Here is the error message
```
Invalid URL
The requested URL "[no URL]", is invalid.
Reference #9.b20fdd58.1490883354... | The problem was that Hubspot works only with urls that have www. So there should be domain forwarding for root to go to www. Doing it with GoDaddy is just a breeze. However in cloudflare there is no domain forwarding but there is url forwarding. I've set url forwarding and made the dns record to be processed by cloudfl... |
105,032 | <p>I set it up, and set "Automatic HTTPS Rewrites" to "ON", BUT this still not redirecting me to the https by default when the page is requested via http... accessing the page manually by putting https at the url is working fine.</p>
<p>Any ideas how to solve this, please?</p>
| [
{
"answer_id": 105035,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<p>If you are having problems with the "Automatic HTTPS Rewrites" Cloudflare option then it maybe that C... | 2017/03/30 | [
"https://webmasters.stackexchange.com/questions/105032",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76523/"
] | I set it up, and set "Automatic HTTPS Rewrites" to "ON", BUT this still not redirecting me to the https by default when the page is requested via http... accessing the page manually by putting https at the url is working fine.
Any ideas how to solve this, please? | If you are having problems with the "Automatic HTTPS Rewrites" Cloudflare option then it maybe that CF is unable to determine whether your site/resources are HTTPS enabled. From the CF docs on [Automatic HTTPS Rewrites](https://support.cloudflare.com/hc/en-us/articles/227227647-How-do-I-use-Automatic-HTTPS-Rewrites-):
... |
105,050 | <p>Perhaps I'm not getting it as should, but as far as I got it, CloudFlare should use local(geographically) servers, relative to the user, to deliver the content. But instead, I'm getting all the time US servers(I'm in Europe).</p>
<p>How do I fix this?</p>
| [
{
"answer_id": 105035,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<p>If you are having problems with the "Automatic HTTPS Rewrites" Cloudflare option then it maybe that C... | 2017/03/31 | [
"https://webmasters.stackexchange.com/questions/105050",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76523/"
] | Perhaps I'm not getting it as should, but as far as I got it, CloudFlare should use local(geographically) servers, relative to the user, to deliver the content. But instead, I'm getting all the time US servers(I'm in Europe).
How do I fix this? | If you are having problems with the "Automatic HTTPS Rewrites" Cloudflare option then it maybe that CF is unable to determine whether your site/resources are HTTPS enabled. From the CF docs on [Automatic HTTPS Rewrites](https://support.cloudflare.com/hc/en-us/articles/227227647-How-do-I-use-Automatic-HTTPS-Rewrites-):
... |
105,111 | <p>I'm trying to redirect address:</p>
<pre><code>http://example.com/blog
</code></pre>
<p>to address:</p>
<pre><code>https://example.com/blog/
</code></pre>
<p>Take into account that, I'm trying to redirect from NO HTTPS to HTTPS.</p>
<p>So far, I achieved the desired result in 2 redirects. I want to achieve it i... | [
{
"answer_id": 105179,
"author": "Evgeniy",
"author_id": 43910,
"author_profile": "https://webmasters.stackexchange.com/users/43910",
"pm_score": 2,
"selected": false,
"text": "<ol>\n<li>install certificate for the main domain and all subdomains</li>\n<li>make site accessible with https,... | 2017/04/03 | [
"https://webmasters.stackexchange.com/questions/105111",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76632/"
] | I'm trying to redirect address:
```
http://example.com/blog
```
to address:
```
https://example.com/blog/
```
Take into account that, I'm trying to redirect from NO HTTPS to HTTPS.
So far, I achieved the desired result in 2 redirects. I want to achieve it in one redirect.
I need also to mention, that `blog` is ... | 1. install certificate for the main domain and all subdomains
2. make site accessible with https, check all subdomain combinations
3. change all internal links in the whole codebase to https
4. check twice, whether all internal links are indeed https now, inclusive static assets like images, pdfs etc.
5. establish redi... |
105,211 | <p>I'm migrating a busy web-shop (10'000 IPs/day) to OpenCart, manually copying all the products, tags, descriptions and architecture.</p>
<p>The old website was not built following semantics standards, no <code>h1</code> tags, alt tags are not filled, etc.</p>
<p>In the new website this is fixed. The text content do... | [
{
"answer_id": 106277,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 1,
"selected": false,
"text": "<p>The only way that changing your images would change your web rankings is if users hated your sit... | 2017/04/06 | [
"https://webmasters.stackexchange.com/questions/105211",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76748/"
] | I'm migrating a busy web-shop (10'000 IPs/day) to OpenCart, manually copying all the products, tags, descriptions and architecture.
The old website was not built following semantics standards, no `h1` tags, alt tags are not filled, etc.
In the new website this is fixed. The text content doesn't change much.
The issu... | Have you tried optimizing the GIF images? Properly made GIFs usually shouldn't be much larger than PNG sprite.
But as far as SEO goes - it shouldn't have much, if any, effect on rankings. Just make sure your JS solution works on all browsers and devices. And maybe have the old GIFs as fallback in noscript tags. |
105,330 | <p>On our company website most links are in the form:</p>
<pre><code>http://www.example.com/contact.html
</code></pre>
<p>Is it a better idea to have </p>
<pre><code>http://www.example.com/contact
</code></pre>
<p>Or does it not matter. I got thinking because when I was submitting a form at google Adsense it refuse... | [
{
"answer_id": 105332,
"author": "kodmanyagha",
"author_id": 76907,
"author_profile": "https://webmasters.stackexchange.com/users/76907",
"pm_score": 2,
"selected": false,
"text": "<p>Add this to your .htaccess file in the main directory.</p>\n\n<pre><code>RewriteEngine On\nRewriteCond %... | 2017/04/11 | [
"https://webmasters.stackexchange.com/questions/105330",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/70549/"
] | On our company website most links are in the form:
```
http://www.example.com/contact.html
```
Is it a better idea to have
```
http://www.example.com/contact
```
Or does it not matter. I got thinking because when I was submitting a form at google Adsense it refused to let me have a "." in the sub-page link modif... | Add this to your .htaccess file in the main directory.
```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
```
After this time you can access your html files with only names. You don't need to add ".html" extension. There is an important thing. If you enter filename.html vi... |
105,380 | <p>We have a lot of legacy data sitting on our Excel file that we need to import into our new DHIS2 database. How can we upload the data onto the DHIS using CSV? It is costing us a lot in terms of time and money to employ data entry clerks to manually input the data.</p>
| [
{
"answer_id": 106559,
"author": "Lloyd",
"author_id": 78313,
"author_profile": "https://webmasters.stackexchange.com/users/78313",
"pm_score": -1,
"selected": false,
"text": "<p>Why not try the Import Export option?</p>\n\n<p>Under Apps > Import Export</p>\n"
},
{
"answer_id": 1... | 2017/04/12 | [
"https://webmasters.stackexchange.com/questions/105380",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/66393/"
] | We have a lot of legacy data sitting on our Excel file that we need to import into our new DHIS2 database. How can we upload the data onto the DHIS using CSV? It is costing us a lot in terms of time and money to employ data entry clerks to manually input the data. | You can use the CSV import format which is described in this section of the docs:
<https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_data_values_csv>
You can either upload the file through the user interface from Apps > Import / Export > Data import, then select CSV as format.
You can al... |
105,418 | <p>I have a MEAN Stack application deployed on a server and am using Nginx as proxy server to handle the request and redirect to application's particular port.</p>
<p>For example: User accesses the URL <code>http://www.example.com/</code> and Nginx hits the actual application URL <code>http://www.example.com:1234/</co... | [
{
"answer_id": 105422,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 1,
"selected": false,
"text": "<p>Because your main application server is behind a proxy server, you will naturally be seeing the IP address of ... | 2017/04/13 | [
"https://webmasters.stackexchange.com/questions/105418",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77002/"
] | I have a MEAN Stack application deployed on a server and am using Nginx as proxy server to handle the request and redirect to application's particular port.
For example: User accesses the URL `http://www.example.com/` and Nginx hits the actual application URL `http://www.example.com:1234/`, as my application is runnin... | Here's the Nginx Conf which works for me, placed at the path `/etc/nginx/conf.d/example.com.conf`.
```
server {
listen 80;
listen [::]:80;
server_name example.com;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded... |
105,455 | <p>Whenever i search for my website name in google to see if someone has given link to my website i see many new strange website name for product called mspy. tThey have hundreds of websites with names like <a href="http://57bj9h8o5f618y12.ga/" rel="nofollow noreferrer">http://57bj9h8o5f618y12.ga/</a> for example. And ... | [
{
"answer_id": 105422,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 1,
"selected": false,
"text": "<p>Because your main application server is behind a proxy server, you will naturally be seeing the IP address of ... | 2017/04/14 | [
"https://webmasters.stackexchange.com/questions/105455",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21402/"
] | Whenever i search for my website name in google to see if someone has given link to my website i see many new strange website name for product called mspy. tThey have hundreds of websites with names like <http://57bj9h8o5f618y12.ga/> for example. And new one keeps coming up. They put my website name inside few html tag... | Here's the Nginx Conf which works for me, placed at the path `/etc/nginx/conf.d/example.com.conf`.
```
server {
listen 80;
listen [::]:80;
server_name example.com;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded... |
105,473 | <p>My site has filterby and sortby pages that appear in Google Search and I want to delete them from Google. Such as:</p>
<pre class="lang-none prettyprint-override"><code>http://example.com/product-category/desktop-computers/?filter_hard-drive-type=hard-disk-drive-hdd&filter_ram-capacity=ram-size-16-gb&filter... | [
{
"answer_id": 105493,
"author": "Patrick Valibus",
"author_id": 77113,
"author_profile": "https://webmasters.stackexchange.com/users/77113",
"pm_score": 0,
"selected": false,
"text": "<p>I had the same conclusion, this section of the search console seems to be useless.</p>\n\n<p>If thos... | 2017/04/15 | [
"https://webmasters.stackexchange.com/questions/105473",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77084/"
] | My site has filterby and sortby pages that appear in Google Search and I want to delete them from Google. Such as:
```none
http://example.com/product-category/desktop-computers/?filter_hard-drive-type=hard-disk-drive-hdd&filter_ram-capacity=ram-size-16-gb&filtering=1&filter_rating=
```
I have used the Google URL Par... | There are at least two solutions.
### Use robots.txt
```
User-Agent: *
Disallow: *filtering=1*
```
or maybe just `*filter*`
### Use Search Console URL Parameters:
[Add the parameters to your Google Search Console](https://support.google.com/webmasters/answer/6080550?hl=en) account for the site. In this case they ... |
105,535 | <p>One of our sites is seeing ~100 sessions a day landing on the home page with a
query string like the following appended:</p>
<pre><code>?p=1471086892&subid=526&uid=48752857D549575A
</code></pre>
<p>Each one has the same value for "p" but a different "subid" and "uid." </p>
<p>I am trying to figure out whe... | [
{
"answer_id": 105629,
"author": "Kishwar Mohideen",
"author_id": 77246,
"author_profile": "https://webmasters.stackexchange.com/users/77246",
"pm_score": 2,
"selected": false,
"text": "<p>These are all used in tracking URLs.</p>\n\n<p>A SubID is a string of alphanumeric characters gener... | 2017/04/18 | [
"https://webmasters.stackexchange.com/questions/105535",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77157/"
] | One of our sites is seeing ~100 sessions a day landing on the home page with a
query string like the following appended:
```
?p=1471086892&subid=526&uid=48752857D549575A
```
Each one has the same value for "p" but a different "subid" and "uid."
I am trying to figure out where these variables are coming from.
I r... | These are all used in tracking URLs.
A SubID is a string of alphanumeric characters generated at the end of a redirect URL, which records a user-defined variable. uid is Unique Identifier. Check if you have some affiliate program |
105,575 | <p>I have a site Hot Deal INDIA. I have added around 1200 Links in my sitemap. Around all the Links are cached by google, so there is no problem with Caching. But when I checking Google Index-> Total indexed will be 2,616 Pages. But I have added all the Categories as No Index & No follow. Still Total Indexed Pages ... | [
{
"answer_id": 105626,
"author": "Kishwar Mohideen",
"author_id": 77246,
"author_profile": "https://webmasters.stackexchange.com/users/77246",
"pm_score": 0,
"selected": false,
"text": "<p>Use this Google URL removal tool to remove pages from Google's index <a href=\"https://www.google.c... | 2017/04/19 | [
"https://webmasters.stackexchange.com/questions/105575",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/57061/"
] | I have a site Hot Deal INDIA. I have added around 1200 Links in my sitemap. Around all the Links are cached by google, so there is no problem with Caching. But when I checking Google Index-> Total indexed will be 2,616 Pages. But I have added all the Categories as No Index & No follow. Still Total Indexed Pages are Hig... | Your traffic decline is not likely to be related to Google indexing additional pages on your site. Google usually considers "hot deals" sites to be fairly low quality. Their rankings often suffer.
The additional pages that Google is indexing could be problematic if they are generally low quality. If you want only the ... |
105,600 | <p>On trying to download a <code>pdf</code> file my Firefox downloads a file without file ending and means it would be an <code>application/octet-stream</code> file:</p>
<p><a href="https://i.stack.imgur.com/BtaXq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BtaXq.png" alt="enter image descriptio... | [
{
"answer_id": 105604,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 3,
"selected": true,
"text": "<p>To get the .pdf extension on the file after download, it needs an HTTP header like:</p>\n\n<pre><... | 2017/04/19 | [
"https://webmasters.stackexchange.com/questions/105600",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/43910/"
] | On trying to download a `pdf` file my Firefox downloads a file without file ending and means it would be an `application/octet-stream` file:
[](https://i.stack.imgur.com/BtaXq.png)
Only after a manually add to the file the ending `pdf` i become able ... | To get the .pdf extension on the file after download, it needs an HTTP header like:
```
Content-Disposition: attachment; filename=some-file.pdf;
```
With this header it will be saved as `some-file.pdf` even if served from the URL `/pdf-download.php`
See on StackOverflow: [How to Use Content-disposition for force a ... |
105,664 | <p>This question originates from my post on MyBB support forum. It's been a few days so I figured I should ask somewhere else too.</p>
<p>I want to prevent the search engines from offering the Cached version of my pages and I want the code to work across the entire MyBB forum which is using 1.8.10. I found this at HTM... | [
{
"answer_id": 105665,
"author": "Donovan_DMC",
"author_id": 75852,
"author_profile": "https://webmasters.stackexchange.com/users/75852",
"pm_score": -1,
"selected": false,
"text": "<p>try to use a robots.txt in the root or something with the htaccess (I know this isn't too helpful but i... | 2017/04/21 | [
"https://webmasters.stackexchange.com/questions/105664",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77294/"
] | This question originates from my post on MyBB support forum. It's been a few days so I figured I should ask somewhere else too.
I want to prevent the search engines from offering the Cached version of my pages and I want the code to work across the entire MyBB forum which is using 1.8.10. I found this at HTMLGoodies.c... | You are correct in your first code snippet:
```
<meta name="robots" content="noarchive">
```
Stop there, that's it, there is no more to it. Once the search engines (Google) recrawl your site then this should prevent them offering the "Cached" (or "Archived") version of the page in the SERPs.
Nothing has changed in ... |
105,672 | <p>I want to block someone using this dynamic URL:</p>
<pre><code>REQUEST_URI = /%24%24%24%26%3f%26%3f%24%24%24?cmd=get_file&arg=images/wslogo_block_page.png&sid=3257F1B3D8C5432EB676D55891B428ED164A3561
</code></pre>
<p>There's a new IP each time, but the following part of the URL is always the same <code>/%2... | [
{
"answer_id": 105679,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>The code below would work fine if it weren't for the <code>?</code> in the URL...</p>\n</block... | 2017/04/22 | [
"https://webmasters.stackexchange.com/questions/105672",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77174/"
] | I want to block someone using this dynamic URL:
```
REQUEST_URI = /%24%24%24%26%3f%26%3f%24%24%24?cmd=get_file&arg=images/wslogo_block_page.png&sid=3257F1B3D8C5432EB676D55891B428ED164A3561
```
There's a new IP each time, but the following part of the URL is always the same `/%24%24%24%26%3f%26%3f%24%24%24?cmd=get_fi... | >
> The code below would work fine if it weren't for the `?` in the URL...
>
>
>
The `?` in the URL you posted marks the start of the *query string*. To match the query string you need to use the `QUERY_STRING` server variable in a mod\_rewrite *condition*. (The `RewriteRule` *pattern* matches against the URL-path... |
105,701 | <p>We have a gift sending e-commerce store. Different gift items are available for delivery in different cities. </p>
<p>We have different offerings for the city 'Karachi' and different offerings for 'cities other than Karachi'. What I see, there are two ways to do this:</p>
<ol>
<li>Landing page has a dropdown for c... | [
{
"answer_id": 105702,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>Landing page has a dropdown for choosing the city, depending on the choice, u... | 2017/04/23 | [
"https://webmasters.stackexchange.com/questions/105701",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77332/"
] | We have a gift sending e-commerce store. Different gift items are available for delivery in different cities.
We have different offerings for the city 'Karachi' and different offerings for 'cities other than Karachi'. What I see, there are two ways to do this:
1. Landing page has a dropdown for choosing the city, de... | >
> Landing page has a dropdown for choosing the city, depending on the choice, user is redirected to one of the two home pages.
>
>
>
The problem with this approach is that every single user has to take an extra step by making an extra click on the city name just to see any useful content. Also, add that users wi... |
105,808 | <p>Some guides (see <a href="https://gohugo.io/extras/comments/" rel="nofollow noreferrer">gohugo.io</a> or <a href="https://webmasters.stackexchange.com/a/39400">webmasters.stackexchange.com</a> for examples) recommend Disqus as a commenting feature for static sites.</p>
<p>Is adding Disqus to a website safe for user... | [
{
"answer_id": 105810,
"author": "Deka87",
"author_id": 72682,
"author_profile": "https://webmasters.stackexchange.com/users/72682",
"pm_score": 2,
"selected": false,
"text": "<p>Below is a list of websites, that track your visitors activity when you choose to use Disqus:</p>\n\n<pre><co... | 2017/04/27 | [
"https://webmasters.stackexchange.com/questions/105808",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77457/"
] | Some guides (see [gohugo.io](https://gohugo.io/extras/comments/) or [webmasters.stackexchange.com](https://webmasters.stackexchange.com/a/39400) for examples) recommend Disqus as a commenting feature for static sites.
Is adding Disqus to a website safe for user privacy?
*UPD*
Should I trust to Disqus if I want to ke... | Below is a list of websites, that track your visitors activity when you choose to use Disqus:
```
google-analytics.com
connect.facebook.net
accounts.google.com
pippio.com
bluekai.com
crwdcntrl.net
exelator.com
doubleclick.net
tag.apxlv.net
adnxs.com
rlcdn.com
adbrn.com
nexac.com
tapad.com
liadm.com
sohern.com
demdex.n... |
105,829 | <p>I'd like to get some advice on how to setup Google analytics for us. We create websites for clients, which are pretty much using the following URLs (2 domains, each with 35+ client sites on each domain. The number of client sites keeps growing)</p>
<pre><code>http://domain1.com/clientSite1
http://domain1.com/clien... | [
{
"answer_id": 105832,
"author": "James Randolph",
"author_id": 76776,
"author_profile": "https://webmasters.stackexchange.com/users/76776",
"pm_score": 2,
"selected": false,
"text": "<p>Remember the industry mantra \"Do what's best for the user\".</p>\n\n<p>Like anything else, put your ... | 2017/04/27 | [
"https://webmasters.stackexchange.com/questions/105829",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77478/"
] | I'd like to get some advice on how to setup Google analytics for us. We create websites for clients, which are pretty much using the following URLs (2 domains, each with 35+ client sites on each domain. The number of client sites keeps growing)
```
http://domain1.com/clientSite1
http://domain1.com/clientSite2
http://d... | Remember the industry mantra "Do what's best for the user".
Like anything else, put your customers first. People looking at the recording of the music may expect to see related content (the sheet music) on the same page.
Update your title tags and meta to reflect that the page has both, and your SEO and UX should be ... |
105,851 | <p>i have a problem with my website titles in serp ( over 1000 pages )
The title of the pages is in this format </p>
<blockquote>
<p>page title - home_icon Home </p>
</blockquote>
<p>I checked my website and I found in the menu link to the home page with home icon using material icons:</p>
<pre><code><a href="... | [
{
"answer_id": 107665,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>It looks like you just need to remove the text \"home_icon\" from your HTML source code:</p>\n\n... | 2017/04/28 | [
"https://webmasters.stackexchange.com/questions/105851",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/50203/"
] | i have a problem with my website titles in serp ( over 1000 pages )
The title of the pages is in this format
>
> page title - home\_icon Home
>
>
>
I checked my website and I found in the menu link to the home page with home icon using material icons:
```
<a href="/">
<i class="material-icons right" data-m... | You can refer to the character using its numeric reference so the word isn't in the HTML. For the home icon, you can use the following.
```
<i class="material-icons"></i>
``` |
105,922 | <p>CRM: WordPress</p>
<p>I'm updating a pdf file on our website, and would like to know if overwriting the old content with the new content would prevent the need to re-establish the links on the site that point to that specific file.</p>
<p>In other words, does overwriting the file remove the need to re-direct old l... | [
{
"answer_id": 105924,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 3,
"selected": true,
"text": "<p>Without putting wordpress or any of those CMS's into the picture, the answer is clear.</p>\n\n... | 2017/05/01 | [
"https://webmasters.stackexchange.com/questions/105922",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/76776/"
] | CRM: WordPress
I'm updating a pdf file on our website, and would like to know if overwriting the old content with the new content would prevent the need to re-establish the links on the site that point to that specific file.
In other words, does overwriting the file remove the need to re-direct old links?
I feel lik... | Without putting wordpress or any of those CMS's into the picture, the answer is clear.
If you upload a file to a server that is the exact same filename referenced by a link from any page on the web, then there is no need to update any of the links.
As much as I'm taking shortcuts here, this answer is easy to verify. ... |
105,973 | <p>I have a website with a "tips" section administered using WordPress (the rest of the site is made up of basic HTML files).</p>
<p>For multiple reasons (including security and the fact I rarely add content now), I am now going to be removing WordPress and am manually preparing .php files with hidden extensions etc s... | [
{
"answer_id": 105924,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 3,
"selected": true,
"text": "<p>Without putting wordpress or any of those CMS's into the picture, the answer is clear.</p>\n\n... | 2017/05/03 | [
"https://webmasters.stackexchange.com/questions/105973",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77647/"
] | I have a website with a "tips" section administered using WordPress (the rest of the site is made up of basic HTML files).
For multiple reasons (including security and the fact I rarely add content now), I am now going to be removing WordPress and am manually preparing .php files with hidden extensions etc so that I c... | Without putting wordpress or any of those CMS's into the picture, the answer is clear.
If you upload a file to a server that is the exact same filename referenced by a link from any page on the web, then there is no need to update any of the links.
As much as I'm taking shortcuts here, this answer is easy to verify. ... |
105,977 | <p>I must say I think Namecheap have told me something possibly not true as I have never come across this issue before. I admit it's been a few years since I've changed nameservers for a .net domain but alas something is definitely wrong somewhere.</p>
<p><strong>The Problem</strong></p>
<p>I have been trying to change... | [
{
"answer_id": 105924,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 3,
"selected": true,
"text": "<p>Without putting wordpress or any of those CMS's into the picture, the answer is clear.</p>\n\n... | 2017/05/03 | [
"https://webmasters.stackexchange.com/questions/105977",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77649/"
] | I must say I think Namecheap have told me something possibly not true as I have never come across this issue before. I admit it's been a few years since I've changed nameservers for a .net domain but alas something is definitely wrong somewhere.
**The Problem**
I have been trying to change the nameservers of a .net d... | Without putting wordpress or any of those CMS's into the picture, the answer is clear.
If you upload a file to a server that is the exact same filename referenced by a link from any page on the web, then there is no need to update any of the links.
As much as I'm taking shortcuts here, this answer is easy to verify. ... |
106,029 | <p>I am still not quite sure today what should I put in H1 and H2 for SEO.</p>
<p>For instance, should my site title be H1 and my article title be H2?</p>
<pre><code><head>
<title>My First Post - Another WordPress Website</title>
</head>
<h1>Another WordPress Website</h1>
<... | [
{
"answer_id": 106030,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 3,
"selected": true,
"text": "<p>I'd personally go with something like <code><span></code>, <code><header></code> or <code>&l... | 2017/05/04 | [
"https://webmasters.stackexchange.com/questions/106029",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77693/"
] | I am still not quite sure today what should I put in H1 and H2 for SEO.
For instance, should my site title be H1 and my article title be H2?
```
<head>
<title>My First Post - Another WordPress Website</title>
</head>
<h1>Another WordPress Website</h1>
<h2>My First Post</h2>
<p>brah brah brah</p>
<p>brah brah br... | I'd personally go with something like `<span>`, `<header>` or `<div>` but there's no right or wrong, or better in terms of SEO.
You are not going to see much difference in any of my examples or yours. Markup plays little role in actual ranking power. If H1 is used on site name then Google will establish h2 as the main... |
106,043 | <p>I have just hired an SEO company to help me rank better on google, and they are currently negotiating keywords that we intend to rank for. I want to make sure I'm getting my best bang-for-buck and don't want them to be sneakily ranking me for keywords that never get searched or give good ROI.</p>
<p>What is best pr... | [
{
"answer_id": 106048,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 0,
"selected": false,
"text": "<p>Very good question.</p>\n\n<p>Let me explain from both sides: 1) As a business owner 2) As an SEO provider.</... | 2017/05/05 | [
"https://webmasters.stackexchange.com/questions/106043",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/59614/"
] | I have just hired an SEO company to help me rank better on google, and they are currently negotiating keywords that we intend to rank for. I want to make sure I'm getting my best bang-for-buck and don't want them to be sneakily ranking me for keywords that never get searched or give good ROI.
What is best practice for... | We encounter this kind of conversation a lot, and my alarm bells always go off reminding me that this can become a slippery slope away from **what your real goals** are (or should be, in my opinion).
Ranking for keywords is part of SEO, sure, but it's also not the real end game. You want people to visit your site, an... |
106,044 | <p>When i change the css and js files in my wordpress templates and visit my website, the website is still loading the old css and js files from the browser cache. How can i tell the website that if my cache is older than a specific date, it should load the new template files?</p>
| [
{
"answer_id": 106049,
"author": "Chun",
"author_id": 46564,
"author_profile": "https://webmasters.stackexchange.com/users/46564",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n<p>If you're using a <strong>cache plugin</strong> on your WordPress platform, you should clear the ... | 2017/05/05 | [
"https://webmasters.stackexchange.com/questions/106044",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/64193/"
] | When i change the css and js files in my wordpress templates and visit my website, the website is still loading the old css and js files from the browser cache. How can i tell the website that if my cache is older than a specific date, it should load the new template files? | >
> If you're using a **cache plugin** on your WordPress platform, you should clear the plugin's cache, so it clears and caches a new version of these files. (there should be an option to set an expiring date to it also, depending on the plugin.)
>
>
>
Else...
-------
You can use [`query strings`](https://en.wiki... |
106,105 | <p>I created a 301 redirect in my cPanel to force ssl. It is not working. The last two lines were created with the cpanel for the redirect.</p>
<pre><code>RewriteOptions inherit
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME... | [
{
"answer_id": 106106,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 0,
"selected": false,
"text": "<p>What version of preferred HTTPS URL would you like to have?</p>\n\n<p>Let's say if you would like to have: <a... | 2017/05/07 | [
"https://webmasters.stackexchange.com/questions/106105",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/57510/"
] | I created a 301 redirect in my cPanel to force ssl. It is not working. The last two lines were created with the cpanel for the redirect.
```
RewriteOptions inherit
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{... | >
> I created a 301 redirect in my cPanel to force ssl.
>
>
>
Unfortunately, cPanel's "redirect feature" is a bit notorious for *making a mess*. And since an incorrect directive can bring down a site, it's difficult to recommend. If you are going to try and use it then you really need to read the [cPanel documenta... |
106,112 | <p>I've been doing some tidying up on my site recently and have been making some minor adjustments to the section of each page (primarily to cut out any potential duplication). However, I just have a couple of niggling questions which I thought I'd ask you experts here for your advice on...</p>
<p>1) Does the order ... | [
{
"answer_id": 106113,
"author": "Osvaldo",
"author_id": 6355,
"author_profile": "https://webmasters.stackexchange.com/users/6355",
"pm_score": 2,
"selected": false,
"text": "<p>The order of meta tags does not make a difference.</p>\n\n<p>You can use both ' and \" in html5.</p>\n\n<p>The... | 2017/05/07 | [
"https://webmasters.stackexchange.com/questions/106112",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77647/"
] | I've been doing some tidying up on my site recently and have been making some minor adjustments to the section of each page (primarily to cut out any potential duplication). However, I just have a couple of niggling questions which I thought I'd ask you experts here for your advice on...
1) Does the order of the meta ... | I would say whether it is the order of tags or using a single vs double quote, it should be fine to use.
The only thing I would say is, go with the best practice and mostly it's double quote and as far as order is concerned I would say the same.
Browsers: Generally browser renders it fine but you never know some rare... |
106,164 | <p>I searched for a domain name it found already registered but when I searched it in who.is no result found</p>
<pre><code>Whois Error: No Match for "xxxxxxxxxxx.COM"
Information Updated: 2017-05-09 04:01:35
</code></pre>
<p>Is it possible to buy this domain name?</p>
| [
{
"answer_id": 106162,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 1,
"selected": false,
"text": "<p>I would say if your computer processing power is good enough then you need to look at your implementation.</p... | 2017/05/09 | [
"https://webmasters.stackexchange.com/questions/106164",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77841/"
] | I searched for a domain name it found already registered but when I searched it in who.is no result found
```
Whois Error: No Match for "xxxxxxxxxxx.COM"
Information Updated: 2017-05-09 04:01:35
```
Is it possible to buy this domain name? | I would say if your computer processing power is good enough then you need to look at your implementation.
If you got massive data to process and load then you might have to consider following:
* Find ways to improve your code and minimise unnecessary code execution.
* If your code is fine then you might have to look... |
106,196 | <p>The following is the updated meta description tag that is present on HTML output.</p>
<pre><code><meta property="og:description" content="Click to see the details of used Diesel Generator - 25 kVA with pictures and specifications, price- Rs.225000.0, State of Punjab. Buy and sell used machinery onl... | [
{
"answer_id": 106206,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 2,
"selected": false,
"text": "<p>Google algorithm may not show meta title and description based on your written meta tags.</p>\n<p>Google pick... | 2017/05/10 | [
"https://webmasters.stackexchange.com/questions/106196",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77849/"
] | The following is the updated meta description tag that is present on HTML output.
```
<meta property="og:description" content="Click to see the details of used Diesel Generator - 25 kVA with pictures and specifications, price- Rs.225000.0, State of Punjab. Buy and sell used machinery online!" />
```
It's been 5 day... | Google algorithm may not show meta title and description based on your written meta tags.
Google picks from the page content and creates what best for the user.
Having said that, if you optimise your page for certain keywords and write meta title and description accordingly then you may see that meta title and descri... |
106,198 | <p>I have a reporting view setup with a filter to show only the traffic to the subdomain. I can see in realtime view that it is correctly showing only traffic to the subdomain. However, it seems that no virtual page views are getting through the to this reporting view.</p>
<p>If i view the standard unfiltered view I c... | [
{
"answer_id": 107883,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 0,
"selected": false,
"text": "<p>The only thing that I can think of is that maybe the host name is not getting set correctly. W... | 2017/05/10 | [
"https://webmasters.stackexchange.com/questions/106198",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77882/"
] | I have a reporting view setup with a filter to show only the traffic to the subdomain. I can see in realtime view that it is correctly showing only traffic to the subdomain. However, it seems that no virtual page views are getting through the to this reporting view.
If i view the standard unfiltered view I can see the... | By default, Google Analytics works with URLs without a Hostname. It's what they call **page**, which indicates the path of the page being accessed.
As you set up a view which filters traffic from the subdomain `xxxx.example.com`, when you generate the virtual page, it must follow that pattern in order to appear in th... |
106,230 | <p>There are a lot of schemas out there. Which should I use for my website SEO? Which are useless or may even be harmful? I will explain my question by the description tag:</p>
<ul>
<li><p>Schema.org: This is Google's first choice when it comes to SEO so I guess I SHOULD use it (either as JSON-LD or with Microdata).... | [
{
"answer_id": 106249,
"author": "GDVS",
"author_id": 18004,
"author_profile": "https://webmasters.stackexchange.com/users/18004",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n <p>I read somewhere that duplicate metadata is considered harmful for SEO</p>\n</blockquote>\n\n<p>... | 2017/05/11 | [
"https://webmasters.stackexchange.com/questions/106230",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74629/"
] | There are a lot of schemas out there. Which should I use for my website SEO? Which are useless or may even be harmful? I will explain my question by the description tag:
* Schema.org: This is Google's first choice when it comes to SEO so I guess I SHOULD use it (either as JSON-LD or with Microdata).
```html
<meta ite... | >
> I read somewhere that duplicate metadata is considered harmful for SEO
>
>
>
This is nonsense. I don't suppose the article you read referenced an authoritative source for this? I recommend treating with caution any pronouncements of absolute SEO knowledge that aren't either from a search engine or supported by... |
106,298 | <p>Below is the same IP logged in at the exact same time on two different devices. I see this all through my site (with different IPs and having something to do with CFNetwork). I have blocked CFNetwork from getting anything but a 403 but what is happening with the other UA that's getting what they request? How are the... | [
{
"answer_id": 106302,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<p>It's clearly two bots, running from the same server, one for desktop, one for mobile. Personally, I'd f... | 2017/05/13 | [
"https://webmasters.stackexchange.com/questions/106298",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77174/"
] | Below is the same IP logged in at the exact same time on two different devices. I see this all through my site (with different IPs and having something to do with CFNetwork). I have blocked CFNetwork from getting anything but a 403 but what is happening with the other UA that's getting what they request? How are they d... | It's clearly two bots, running from the same server, one for desktop, one for mobile. Personally, I'd focus more on the improvement of the content than worrying about things like these, they are not important and your hosting should be good enough to handle bots. It's impossible to block them all... they just change IP... |
106,303 | <p>Google Webmaster Tools/Search Console is giving me errors regarding duplicate title tags and meta descriptions.</p>
<p>The website in question is a static HTML website. All documents do have a <code>.html</code> extension. In order to remove the <code>.html</code> from all documents I am using the code below in my ... | [
{
"answer_id": 106304,
"author": "Goyllo",
"author_id": 58259,
"author_profile": "https://webmasters.stackexchange.com/users/58259",
"pm_score": 2,
"selected": false,
"text": "<p>Let's assign www.example.com/about - Is your main URL and that URL you want to index in Google.</p>\n\n<p>And... | 2017/05/14 | [
"https://webmasters.stackexchange.com/questions/106303",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78005/"
] | Google Webmaster Tools/Search Console is giving me errors regarding duplicate title tags and meta descriptions.
The website in question is a static HTML website. All documents do have a `.html` extension. In order to remove the `.html` from all documents I am using the code below in my *.htaccess* file:
```
RewriteCo... | If your `.html` URLs were already indexed at the time you changed your URLs (and removed the `.html` extension) then the only way to preserve your SEO and avoid duplicate content from the get go is to implement 301 redirects from the `.html` URL to your desired URL.
(This assumes you have changed all the URLs in your ... |
106,318 | <p>I got lot of 404 not found link in google crawl error am tried to fixed that 404 issue like below code in .htaccess,</p>
<pre><code>redirect 301 /448673-002-New-HP-WWAN-module-HP-07FW.html http://www.example.com
</code></pre>
<p>I got more than 500 link in 404 not found issue, I am redirect all url like above. Is ... | [
{
"answer_id": 106319,
"author": "Nicolas Guérinet",
"author_id": 30920,
"author_profile": "https://webmasters.stackexchange.com/users/30920",
"pm_score": 1,
"selected": false,
"text": "<p>If you can visit the webpage but if meanwhile, the same page returns a 404 in google search console... | 2017/05/15 | [
"https://webmasters.stackexchange.com/questions/106318",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78024/"
] | I got lot of 404 not found link in google crawl error am tried to fixed that 404 issue like below code in .htaccess,
```
redirect 301 /448673-002-New-HP-WWAN-module-HP-07FW.html http://www.example.com
```
I got more than 500 link in 404 not found issue, I am redirect all url like above. Is it correct or is there any... | If you can visit the webpage but if meanwhile, the same page returns a 404 in google search console, it means there is a problem. It means visitors can see the webpage but googlebot can't.
You should check the webpage that returns a 404 by going to "crawl" and "fetch as google" in Google search console to see if Goog... |
106,374 | <p>How do I redirect Pages from the main site with 404 Status to the Subdomain with same URL Structure?</p>
<p>This for example:</p>
<pre><code>https://www.example.com/rent
</code></pre>
<p>this returns a 404 Error and must be redirected to:</p>
<pre><code>http://subdomain.example.com/rent
</code></pre>
<p>Is this poss... | [
{
"answer_id": 106377,
"author": "smarttechy",
"author_id": 77461,
"author_profile": "https://webmasters.stackexchange.com/users/77461",
"pm_score": -1,
"selected": false,
"text": "<p>Do this in .htaccess file in main subdirectory</p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{HTTP_HO... | 2017/05/17 | [
"https://webmasters.stackexchange.com/questions/106374",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/62603/"
] | How do I redirect Pages from the main site with 404 Status to the Subdomain with same URL Structure?
This for example:
```
https://www.example.com/rent
```
this returns a 404 Error and must be redirected to:
```
http://subdomain.example.com/rent
```
Is this possible on WordPress? If it is how can we do it? | What you are looking to accomplish can be done via proxy. It sounds like your server is Apache because there are several mentions of htaccess without correction (Nginx doesn't use it).
I am not an Apache expert (I use Nginx), so I can't give you an exact example solution. I have only implemented reverse proxies with N... |
106,401 | <p>Is there anything i can use in my htaccess to send 410 code to all the links but not some links ?</p>
<p>Example:</p>
<p>I would like to 410 this urls (List is about 40k links)</p>
<pre><code>www.example.com/c1
www.example.com/c2
www.example.com/c3
www.example.com/c4
www.example.com/g1
www.example.com/g2
www.exam... | [
{
"answer_id": 106405,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n<pre><code>RewriteCond %{QUERY_STRING} c\n</code></pre>\n</blockquote>\n\n<p>Not sure why you are re... | 2017/05/17 | [
"https://webmasters.stackexchange.com/questions/106401",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78098/"
] | Is there anything i can use in my htaccess to send 410 code to all the links but not some links ?
Example:
I would like to 410 this urls (List is about 40k links)
```
www.example.com/c1
www.example.com/c2
www.example.com/c3
www.example.com/c4
www.example.com/g1
www.example.com/g2
www.example.com/g3
www.example.com/g... | >
>
> ```
> RewriteCond %{QUERY_STRING} c
>
> ```
>
>
Not sure why you are referencing the `QUERY_STRING` here? Your URLs don't appear to contain a query string?
It looks like the URLs you want to block start with a `c` or `g` and followed by a digit (I'll assume 1 or more digits). In which case, try something l... |
106,413 | <p>When embedding a YouTube video on a organisation's website, what is necessary to make this accessible and WCAG 2.0 AAA compliant?</p>
<p>It's my understanding that closed captions (toggleable subtitles) are a necessity. While YouTube can auto-generate these captions, it can have mistakes which reduce your complianc... | [
{
"answer_id": 106405,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n<pre><code>RewriteCond %{QUERY_STRING} c\n</code></pre>\n</blockquote>\n\n<p>Not sure why you are re... | 2017/05/18 | [
"https://webmasters.stackexchange.com/questions/106413",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18749/"
] | When embedding a YouTube video on a organisation's website, what is necessary to make this accessible and WCAG 2.0 AAA compliant?
It's my understanding that closed captions (toggleable subtitles) are a necessity. While YouTube can auto-generate these captions, it can have mistakes which reduce your compliance. If thes... | >
>
> ```
> RewriteCond %{QUERY_STRING} c
>
> ```
>
>
Not sure why you are referencing the `QUERY_STRING` here? Your URLs don't appear to contain a query string?
It looks like the URLs you want to block start with a `c` or `g` and followed by a digit (I'll assume 1 or more digits). In which case, try something l... |
106,438 | <p>Some of our pages in Google search are showing with a [3] in the title of the page. When this happens the title of the page is <code><page name> - [3]<domain name></code>. When it's not happening it's <code><page name> - <category> | <website name></code></p>
<p>You can see an examp... | [
{
"answer_id": 106446,
"author": "gabehou",
"author_id": 78097,
"author_profile": "https://webmasters.stackexchange.com/users/78097",
"pm_score": 1,
"selected": false,
"text": "<p>There are a few reasons why google wont use you title tag, </p>\n\n<p>For your site, it might be that google... | 2017/05/19 | [
"https://webmasters.stackexchange.com/questions/106438",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78149/"
] | Some of our pages in Google search are showing with a [3] in the title of the page. When this happens the title of the page is `<page name> - [3]<domain name>`. When it's not happening it's `<page name> - <category> | <website name>`
You can see an example:
<https://www.google.co.uk/search?q=designmynight&oq=design... | It seems to have to do with duplication of words in the Title. I ran a screaming frog of your site and noticed many Titles have the same words repeated.
Take a look at this search:
<https://www.google.co.uk/search?q=designmynight&oq=designmynight+&aqs=chrome..69i57j69i60l5.9033j0j4&sourceid=chrome&ie=UTF-8#q=designmyni... |
106,463 | <p>I read a few articles on why do we need to pay for domain name and what I understand from them is that you pay for the service which points the visitors to a particular server, otherwise your domain name will lead to nothing.</p>
<p>My question is, Let's say I've made a website a decided to host it on my own server... | [
{
"answer_id": 106464,
"author": "zoltar",
"author_id": 38361,
"author_profile": "https://webmasters.stackexchange.com/users/38361",
"pm_score": 4,
"selected": true,
"text": "<p>Yes. </p>\n\n<p>You don't need a domain to run a website, you just need the web server set up and listening fo... | 2017/05/20 | [
"https://webmasters.stackexchange.com/questions/106463",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78190/"
] | I read a few articles on why do we need to pay for domain name and what I understand from them is that you pay for the service which points the visitors to a particular server, otherwise your domain name will lead to nothing.
My question is, Let's say I've made a website a decided to host it on my own server. Now If I... | Yes.
You don't need a domain to run a website, you just need the web server set up and listening for visitors.
Now, when you say "launch", that is a marketing thing. If you want people to easily access your site on a certain advertised date, then the shorter and more memorable the better. Unfortunately, that can bec... |
106,590 | <p>I am looking into creating a web portal for my website. The web portal will be inside the directory of the main site and the web portal includes the navigation menu of the main site. e.g. the File paths will look like this:</p>
<pre><code>Main Site -> /var/www/html/MySite
Web Portal -> /var/www/html/MySite/We... | [
{
"answer_id": 106591,
"author": "Josh",
"author_id": 78376,
"author_profile": "https://webmasters.stackexchange.com/users/78376",
"pm_score": 4,
"selected": true,
"text": "<p>What you're describing are absolute links (<code>https://example.com/page1.htm</code>) and relative links (<code... | 2017/05/25 | [
"https://webmasters.stackexchange.com/questions/106590",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78373/"
] | I am looking into creating a web portal for my website. The web portal will be inside the directory of the main site and the web portal includes the navigation menu of the main site. e.g. the File paths will look like this:
```
Main Site -> /var/www/html/MySite
Web Portal -> /var/www/html/MySite/WebPortal
```
Inside... | What you're describing are absolute links (`https://example.com/page1.htm`) and relative links (`/page1.htm`).
It really doesn't make any difference for SEO or analytics.
The advantages/disadvantages of each approach are only significant when you move a website to a different location. |
106,603 | <p>Essentially what I'm wanting to know is, if I set up my website to collect user IP addresses using a mysql database to see when they first visited + when they last visited and other info like what pages they have visited on my website, do I have to put a privacy policy to let the users know this is going on?</p>
<p... | [
{
"answer_id": 106604,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 2,
"selected": true,
"text": "<p>Generally, web servers store those details in a log file in anyways. Info like: IP Address, Time of Visit, Ref... | 2017/05/26 | [
"https://webmasters.stackexchange.com/questions/106603",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78388/"
] | Essentially what I'm wanting to know is, if I set up my website to collect user IP addresses using a mysql database to see when they first visited + when they last visited and other info like what pages they have visited on my website, do I have to put a privacy policy to let the users know this is going on?
Also, do ... | Generally, web servers store those details in a log file in anyways. Info like: IP Address, Time of Visit, Referal URL etc. So, in my view, it should be perfectly all right store and analyse these info based on the need.
Also, instead of coding, storing and analysing, i would recommend you to use Google Analytics whic... |
106,641 | <p>My emails get stuffed into spam folder. I havent sent it to anyone but myself.</p>
<p>MxToolbox displays 1 error:</p>
<pre><code>dmarc DNS Record not found
</code></pre>
<p>These are my namecheap configurations regarding dmarc, dkim and sfp:</p>
<pre><code>--RECORD--|-----HOST------------|------------VALUE----... | [
{
"answer_id": 110107,
"author": "John",
"author_id": 82738,
"author_profile": "https://webmasters.stackexchange.com/users/82738",
"pm_score": 0,
"selected": false,
"text": "<p>The domain name must not be appended to _dmarc or dkim._domainkey</p>\n"
},
{
"answer_id": 112515,
... | 2017/05/28 | [
"https://webmasters.stackexchange.com/questions/106641",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/72427/"
] | My emails get stuffed into spam folder. I havent sent it to anyone but myself.
MxToolbox displays 1 error:
```
dmarc DNS Record not found
```
These are my namecheap configurations regarding dmarc, dkim and sfp:
```
--RECORD--|-----HOST------------|------------VALUE------------------
TXT _dmarc.example.co... | According to Namecheap's [documentation](https://www.namecheap.com/support/knowledgebase/article.aspx/317/2237/how-do-i-add-txtspfdkimdmarc-records-for-my-domain) on TXT records:
>
> **Note**: the domain name itself should not be included to the Host field.
>
>
>
Consequently, enter
* `dkim._domainkey` instead... |
106,685 | <p>In Search Console > HTML improvements > Duplicate meta descriptions I have errors of pages that I have a redirection in the .htaccess. I mean the Search Console see as duplicate the old page that does not exists anymore and the new page that substitutes it. </p>
<p>As I said, I redirected the old page to the new on... | [
{
"answer_id": 106706,
"author": "Mike -- No longer here",
"author_id": 46807,
"author_profile": "https://webmasters.stackexchange.com/users/46807",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>I have checked that the redirection works well. I have checked that there is ... | 2017/05/30 | [
"https://webmasters.stackexchange.com/questions/106685",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31473/"
] | In Search Console > HTML improvements > Duplicate meta descriptions I have errors of pages that I have a redirection in the .htaccess. I mean the Search Console see as duplicate the old page that does not exists anymore and the new page that substitutes it.
As I said, I redirected the old page to the new one in the .... | >
> I have checked that the redirection works well. I have checked that there is no link in my site that points to the old page. Is there anything else I should do?
>
>
>
Yes. Check again. If you have an advanced setup like myself, you can use a command line tool like curl to check a webpage and see if it returns ... |
106,741 | <p>When I visit my personal website on my phone (chrome app), the page language is detected as 'Portuguese' and asks me if I want to translate it. However the page is in English and I have set the language to English using the tag:</p>
<pre><code><html lang="en">
</code></pre>
<p>Why is my page being re... | [
{
"answer_id": 106742,
"author": "Steve",
"author_id": 16250,
"author_profile": "https://webmasters.stackexchange.com/users/16250",
"pm_score": 3,
"selected": false,
"text": "<p>Try this in the <code><head></code> section:</p>\n\n<pre><code><meta charset=\"UTF-8\">\n<meta ... | 2017/06/01 | [
"https://webmasters.stackexchange.com/questions/106741",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/60328/"
] | When I visit my personal website on my phone (chrome app), the page language is detected as 'Portuguese' and asks me if I want to translate it. However the page is in English and I have set the language to English using the tag:
```
<html lang="en">
```
Why is my page being registered as Portuguese and how can I pre... | One thing to note is that when Google suggests, "This page is in XYZ" and offers translation, it doesn't necessarily mean it thinks the entire page is in that language. Even if it thinks that just a very small part of the page is in that language it offers the same option to translate the page.
In your example, if you... |
106,781 | <p>Suppose I have been using a domain, say <code>www.bollywoodhatke.com</code> <strong>for 3 years</strong>, and it has a good Alexa (hypothetical situation). It has backlinks and its has 7,000 pages indexed and 50,000 images indexed, but later there is a reason I am forced to change the domain name where the website i... | [
{
"answer_id": 106782,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, you can move a website from one domain to different domain and maintain the ranking.</p>\n\n<p>This is ve... | 2017/06/03 | [
"https://webmasters.stackexchange.com/questions/106781",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/77410/"
] | Suppose I have been using a domain, say `www.bollywoodhatke.com` **for 3 years**, and it has a good Alexa (hypothetical situation). It has backlinks and its has 7,000 pages indexed and 50,000 images indexed, but later there is a reason I am forced to change the domain name where the website is served.
In that case →
... | Yes, you can move a website from one domain to different domain and maintain the ranking.
This is very common when business re-branding is done and website needs to move from one domain to a different domain.
All you need to do is, set a permanent 301-redirection from your old domain to the new domain. Set the perman... |
106,809 | <p>After changing my website to HTTPS, the pages indexed in the Google Webmaster Tools/Search Console, have dropped 80%. Do I have to add my website again, this time with the HTTPS version?</p>
| [
{
"answer_id": 106782,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, you can move a website from one domain to different domain and maintain the ranking.</p>\n\n<p>This is ve... | 2017/06/04 | [
"https://webmasters.stackexchange.com/questions/106809",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78664/"
] | After changing my website to HTTPS, the pages indexed in the Google Webmaster Tools/Search Console, have dropped 80%. Do I have to add my website again, this time with the HTTPS version? | Yes, you can move a website from one domain to different domain and maintain the ranking.
This is very common when business re-branding is done and website needs to move from one domain to a different domain.
All you need to do is, set a permanent 301-redirection from your old domain to the new domain. Set the perman... |
106,978 | <p>I have an odd issue. The SSLProtocol config is getting applied in my ssl.conf file but the SSLCipherSuite config is not. I have tested this by changing each option and running scan with Qualys SSL Labs.</p>
<p>After several hours of banging my head against the wall, I decided to try putting the SSLCipherSuite direc... | [
{
"answer_id": 107044,
"author": "Tom Brossman",
"author_id": 11962,
"author_profile": "https://webmasters.stackexchange.com/users/11962",
"pm_score": 1,
"selected": false,
"text": "<p>You are definitely taking the correct approach, so let's test a couple things. I will assume current st... | 2017/06/12 | [
"https://webmasters.stackexchange.com/questions/106978",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78887/"
] | I have an odd issue. The SSLProtocol config is getting applied in my ssl.conf file but the SSLCipherSuite config is not. I have tested this by changing each option and running scan with Qualys SSL Labs.
After several hours of banging my head against the wall, I decided to try putting the SSLCipherSuite directly in one... | Just hit a possibly similar or identical issue though with me it was to update a clients SSL to drop `TLSv1` and `TLSv1.1` support.
The default way is edit ssl.conf and set:
```
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
```
This didn't work, but the answer wasn't in `ssl.conf` or the `vhost` configuration but rather i... |
107,005 | <p>I have a site which let's people build a simple one page site (landing page) and host it on the site as a site page.</p>
<p>So if the main domain is domain.com a land page made by a user can be domain.com/4234</p>
<p>Now some people create landing pages that Google doesn't like (like those pages that mainly have a... | [
{
"answer_id": 107044,
"author": "Tom Brossman",
"author_id": 11962,
"author_profile": "https://webmasters.stackexchange.com/users/11962",
"pm_score": 1,
"selected": false,
"text": "<p>You are definitely taking the correct approach, so let's test a couple things. I will assume current st... | 2017/06/12 | [
"https://webmasters.stackexchange.com/questions/107005",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78924/"
] | I have a site which let's people build a simple one page site (landing page) and host it on the site as a site page.
So if the main domain is domain.com a land page made by a user can be domain.com/4234
Now some people create landing pages that Google doesn't like (like those pages that mainly have a link to some oth... | Just hit a possibly similar or identical issue though with me it was to update a clients SSL to drop `TLSv1` and `TLSv1.1` support.
The default way is edit ssl.conf and set:
```
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
```
This didn't work, but the answer wasn't in `ssl.conf` or the `vhost` configuration but rather i... |
107,017 | <p>I am using apache web server for my project. I am creating hyperlinks for local files in my system. The hyperlinks are getting displayed but the problem is when i click it says 403 Forbidden and gives a error that "The given path was above root path".</p>
<p>Please help with a solution. Thanks in advance.</p>
<p>F... | [
{
"answer_id": 107018,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<ul>\n<li><code>dummy-host.example.com</code>\n\n<ul>\n<li>All website local assets and pages must be stor... | 2017/06/13 | [
"https://webmasters.stackexchange.com/questions/107017",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78945/"
] | I am using apache web server for my project. I am creating hyperlinks for local files in my system. The hyperlinks are getting displayed but the problem is when i click it says 403 Forbidden and gives a error that "The given path was above root path".
Please help with a solution. Thanks in advance.
Following is my **... | * `dummy-host.example.com`
+ All website local assets and pages must be stored within `c:/Apache24/docs/dummy-host.example.com` and for example not `c:/Apache24/website/`, ensure that your content is contained within the same folder of your set virtual host enviroment.
* `dummy-host2.example.com`
+ Your DocumentRoot ... |
107,126 | <p>I have setup an EC2 instance with the Amazon Linux image and installed LAMP and Wordpress as per the Amazon docs.</p>
<p>It works fine, serves the default Wordpress page, but as soon as the instance is rebooted the web server no longer appears to work. The index page is no longer served. Curling localhost returns e... | [
{
"answer_id": 107132,
"author": "Brien Crean",
"author_id": 79069,
"author_profile": "https://webmasters.stackexchange.com/users/79069",
"pm_score": 3,
"selected": true,
"text": "<p>I figured out the issue. When an AWS instance is rebooted, the DNS address changes. As I am using Wordpre... | 2017/06/17 | [
"https://webmasters.stackexchange.com/questions/107126",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79069/"
] | I have setup an EC2 instance with the Amazon Linux image and installed LAMP and Wordpress as per the Amazon docs.
It works fine, serves the default Wordpress page, but as soon as the instance is rebooted the web server no longer appears to work. The index page is no longer served. Curling localhost returns empty.
I'm... | I figured out the issue. When an AWS instance is rebooted, the DNS address changes. As I am using Wordpress, I need to update the `siteurl` and `home` url in the MySQL Database for the wordpress site to the new DNS address.
In the pictures below for example localhost should be replaced with the DNS address of the inst... |
107,160 | <p>I have category page with this structure</p>
<pre><code>example.com/Category.php?Category_Id=10&Category_Title=some-text
</code></pre>
<p>i want to write htaccess rules to redirect from </p>
<pre><code>example.com/Category.php?Category_Id=10&Category_Title=some-text
</code></pre>
<p>to this</p>
<pre><co... | [
{
"answer_id": 107178,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": -1,
"selected": false,
"text": "<p>I think something like this should work. </p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{HTTP} off... | 2017/06/19 | [
"https://webmasters.stackexchange.com/questions/107160",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79112/"
] | I have category page with this structure
```
example.com/Category.php?Category_Id=10&Category_Title=some-text
```
i want to write htaccess rules to redirect from
```
example.com/Category.php?Category_Id=10&Category_Title=some-text
```
to this
```
example.com/Category/10/some-text
```
is there any way to force... | **tl;dr**
```
# Redirect /Category.php?Category_Id=10&Category_Title=some-text
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{QUERY_STRING} ^Category_Id=(\d+)&Category_Title=([\w-]+)$
RewriteRule ^Category\.php$ /Category/%1/%2? [R=301,L]
```
---
>
> i changed generated link from bad seo structure to seo frie... |
107,166 | <p>I am working on Multilingual site targeting different languages in one country. So, English version site has many pages while there are comparatively less pages on the FR version of the site. </p>
<p>we have change language toggle in the top header which works as a cross linking between these languages. As per best... | [
{
"answer_id": 107178,
"author": "norcal johnny",
"author_id": 69901,
"author_profile": "https://webmasters.stackexchange.com/users/69901",
"pm_score": -1,
"selected": false,
"text": "<p>I think something like this should work. </p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{HTTP} off... | 2017/06/19 | [
"https://webmasters.stackexchange.com/questions/107166",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/69373/"
] | I am working on Multilingual site targeting different languages in one country. So, English version site has many pages while there are comparatively less pages on the FR version of the site.
we have change language toggle in the top header which works as a cross linking between these languages. As per best SEO pract... | **tl;dr**
```
# Redirect /Category.php?Category_Id=10&Category_Title=some-text
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{QUERY_STRING} ^Category_Id=(\d+)&Category_Title=([\w-]+)$
RewriteRule ^Category\.php$ /Category/%1/%2? [R=301,L]
```
---
>
> i changed generated link from bad seo structure to seo frie... |
107,265 | <p>I run an eCommerce website that sells used printing equipment. We never have a quantity over 1 of any product because it is all unique used equipment, so our inventory is ever changing. I keep getting 404 errors for really odd permalinks that I would think Google wouldn't be indexing. </p>
<pre><code>/product-categ... | [
{
"answer_id": 107266,
"author": "Simon Hayter",
"author_id": 20604,
"author_profile": "https://webmasters.stackexchange.com/users/20604",
"pm_score": 2,
"selected": false,
"text": "<p>If you delete a page and it no longer exists then the correct status is 404. A 404 error does not imply... | 2017/06/22 | [
"https://webmasters.stackexchange.com/questions/107265",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79221/"
] | I run an eCommerce website that sells used printing equipment. We never have a quantity over 1 of any product because it is all unique used equipment, so our inventory is ever changing. I keep getting 404 errors for really odd permalinks that I would think Google wouldn't be indexing.
```
/product-category/mailing-fu... | Your best option here is to noindex, follow all paginated content. If you do this, only the first page of your product category will appear in search. Since there is probably something on the first page at all times (or at the very least, this page will exist even when there's nothing dynamically loading there), your u... |
107,271 | <p>Chrome seems to remember the last vertical scroll position of most websites when reloading the page or going back to it from another page. However, it's not working on my site. </p>
<p>The site is a fairly simple server-side generated layout, not using any client side rendering at all.</p>
<p>What could be causing... | [
{
"answer_id": 116795,
"author": "Pedro",
"author_id": 92016,
"author_profile": "https://webmasters.stackexchange.com/users/92016",
"pm_score": 2,
"selected": false,
"text": "<p>In my case was a css issue at body (Firefox, Safari not affected by the problem):</p>\n\n<pre><code>overflow: ... | 2017/06/22 | [
"https://webmasters.stackexchange.com/questions/107271",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16132/"
] | Chrome seems to remember the last vertical scroll position of most websites when reloading the page or going back to it from another page. However, it's not working on my site.
The site is a fairly simple server-side generated layout, not using any client side rendering at all.
What could be causing such a behaviour... | In my case was a css issue at body (Firefox, Safari not affected by the problem):
```
overflow: auto;
```
After I remove it, it seems to work well. |
107,379 | <p>Recently, I have enabled all my servers to serve everything over HTTP and HTTPS. Users can access any site via <a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a> or <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a>. All pages are identical betw... | [
{
"answer_id": 107359,
"author": "DoubleClickOnThis",
"author_id": 70238,
"author_profile": "https://webmasters.stackexchange.com/users/70238",
"pm_score": 1,
"selected": false,
"text": "<p>Hmm, how about getting backlinks from sites or improve traffic? I believe there are a few ways to ... | 2017/06/27 | [
"https://webmasters.stackexchange.com/questions/107379",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5806/"
] | Recently, I have enabled all my servers to serve everything over HTTP and HTTPS. Users can access any site via <http://www.example.com> or <https://www.example.com>. All pages are identical between the versions, so <http://www.example.com/about.php> is the same as <https://www.example.com/about.php> and so on.
URLs ar... | I think this is very common for many businesses.
You may try following:
1. Generally, in hospitality industry businesses have more quality photos. So, even if you are not updating content (text) regularly, you can update photos which is simple and quick and still, it will give some signal towards freshness.
2. You ma... |
107,435 | <p>I read lots of answer in <a href="https://webmasters.stackexchange.com/questions/tagged/canonical-url">canonical-url</a> tag, but I could not get a good answer for my question.</p>
<p>I have a web design company. Mainly I provide two service.</p>
<ol>
<li>Digital Marketing</li>
<li>Web Design</li>
</ol>
<p>There ... | [
{
"answer_id": 107359,
"author": "DoubleClickOnThis",
"author_id": 70238,
"author_profile": "https://webmasters.stackexchange.com/users/70238",
"pm_score": 1,
"selected": false,
"text": "<p>Hmm, how about getting backlinks from sites or improve traffic? I believe there are a few ways to ... | 2017/06/29 | [
"https://webmasters.stackexchange.com/questions/107435",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/78386/"
] | I read lots of answer in [canonical-url](https://webmasters.stackexchange.com/questions/tagged/canonical-url) tag, but I could not get a good answer for my question.
I have a web design company. Mainly I provide two service.
1. Digital Marketing
2. Web Design
There are separate two page for Digital Marketing (`examp... | I think this is very common for many businesses.
You may try following:
1. Generally, in hospitality industry businesses have more quality photos. So, even if you are not updating content (text) regularly, you can update photos which is simple and quick and still, it will give some signal towards freshness.
2. You ma... |
107,437 | <p>I have a wordpress website that has gotten too big for a single server. I need to decide whether I should host the database externally i.e. purchase another server for the DB or if i should host the images on a CDN.</p>
<p>Moving the DB externally is the quickest and easiest solution. It will lower I/O and RAM usag... | [
{
"answer_id": 107440,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 1,
"selected": false,
"text": "<p>The first step will be to check the server to see what is utilising the most system resources by wa... | 2017/06/29 | [
"https://webmasters.stackexchange.com/questions/107437",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/104877/"
] | I have a wordpress website that has gotten too big for a single server. I need to decide whether I should host the database externally i.e. purchase another server for the DB or if i should host the images on a CDN.
Moving the DB externally is the quickest and easiest solution. It will lower I/O and RAM usage which wi... | There's no reason that this has to be one way or the other. I would say to optimize both. If you have a large number of images, a CDN makes sense, regardless of what you do on the server. Also, even if that takes care of the problem, better database performance is helpful in general, so I would recommend tackling both ... |
107,530 | <p>I use a lot of directory listing on my website and want to make <code>.URL</code> shortcut files into functional links. These <code>.URL</code> shortcuts were made by dragging the websites' icons from my Firefox URL bar to my Windows desktop. </p>
<p><strong>The problem:</strong> Clicking a <code>.URL</code> item ... | [
{
"answer_id": 107575,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 3,
"selected": true,
"text": "<p>I'm not aware of an Apache specific way to do this \"automagically\".</p>\n\n<p>However, it's reasonably trivia... | 2017/07/03 | [
"https://webmasters.stackexchange.com/questions/107530",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79560/"
] | I use a lot of directory listing on my website and want to make `.URL` shortcut files into functional links. These `.URL` shortcuts were made by dragging the websites' icons from my Firefox URL bar to my Windows desktop.
**The problem:** Clicking a `.URL` item from a browser directory listing only displays the file's... | I'm not aware of an Apache specific way to do this "automagically".
However, it's reasonably trivial to script this yourself. You can use the Apache module "mod\_rewrite" (in `.htaccess`) to rewrite such requests to a PHP script that parses out the target URL to issue the redirect.
For example, in your root `.htacces... |
107,535 | <p>I am building a web app and trying to add two languages to the website. So I will make the same documents ending in <code>-gr</code>. Some examples of the files look like this:</p>
<p><strong>English Language paths:</strong></p>
<ul>
<li><code>www.example.com/index.html</code></li>
<li><code>www.example.com/Blog.h... | [
{
"answer_id": 107540,
"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>Is that possible to rename the greek files to something like the following ex... | 2017/07/03 | [
"https://webmasters.stackexchange.com/questions/107535",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/73522/"
] | I am building a web app and trying to add two languages to the website. So I will make the same documents ending in `-gr`. Some examples of the files look like this:
**English Language paths:**
* `www.example.com/index.html`
* `www.example.com/Blog.html`
**Greek Language path:**
* `www.example.com/index-gr.html`
* ... | **.htaccess:**
```
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)\/gr$ $1-gr.html [NC,L]
```
**HTML:**
Add this inside the **head** tags of every greek file (replacing **index-gr.html** with your current file):
```
<base href="https://gragop.herokuapp.com/index-gr.html">
```
Change the URLs that l... |
107,557 | <p>I'm working on a site where currently almost all pages have URLs like:</p>
<pre><code>http://example.com/page
</code></pre>
<p>regardless of the underlying directory structure of the site.</p>
<p>For example in that page the breadcrumb is</p>
<pre><code>homepage->category1->subcategory1->page
</code></pre>
... | [
{
"answer_id": 107561,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 2,
"selected": false,
"text": "<p>No, it's not compulsory to match the URL structure with folders.</p>\n\n<p>Generally, these days you see mult... | 2017/07/04 | [
"https://webmasters.stackexchange.com/questions/107557",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79577/"
] | I'm working on a site where currently almost all pages have URLs like:
```
http://example.com/page
```
regardless of the underlying directory structure of the site.
For example in that page the breadcrumb is
```
homepage->category1->subcategory1->page
```
I'm wondering if the URL should be, from an SEO point of ... | No, it's not compulsory to match the URL structure with folders.
Generally, these days you see multi-level URL structure which does not represent a physical folder. It is used to categorise the information.
A well-structured website helps users to navigate through the website easily and it also helps with SEO.
Also,... |
107,602 | <p>We have a server that is configured to serve several sites. </p>
<p>One of these sites is a WordPress site, and some of its pages are really Java web applications hosted by Tomcat. The Java web applications make a request to localhost to get the headers and footers so they when their pages are loaded, everything ma... | [
{
"answer_id": 107590,
"author": "DocRoot",
"author_id": 52912,
"author_profile": "https://webmasters.stackexchange.com/users/52912",
"pm_score": 3,
"selected": false,
"text": "<blockquote>\n <p>I believe no because the crawlers won't be able to crawl the old site to see the 301 status ... | 2017/07/05 | [
"https://webmasters.stackexchange.com/questions/107602",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79106/"
] | We have a server that is configured to serve several sites.
One of these sites is a WordPress site, and some of its pages are really Java web applications hosted by Tomcat. The Java web applications make a request to localhost to get the headers and footers so they when their pages are loaded, everything matches the ... | Your suspicions are right, with the exact reasoning that you mentioned. If you disallow robots from accessing the old site, they won't be able to see the 301 redirect. |
107,650 | <p>I just took a look in my bug tracking software and noticed a lot of client-side errors that look like this:</p>
<pre class="lang-none prettyprint-override"><code>SecurityError SecurityError (DOM Exception 18): Blocked a frame with origin "https://example.com" from accessing a frame with origin "https://staticxx.fac... | [
{
"answer_id": 109739,
"author": "Chris Rutherfurd",
"author_id": 60702,
"author_profile": "https://webmasters.stackexchange.com/users/60702",
"pm_score": 0,
"selected": false,
"text": "<p>I have found this issue occures often with the Google Chrome password autofill feature. What seems ... | 2017/07/07 | [
"https://webmasters.stackexchange.com/questions/107650",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2988/"
] | I just took a look in my bug tracking software and noticed a lot of client-side errors that look like this:
```none
SecurityError SecurityError (DOM Exception 18): Blocked a frame with origin "https://example.com" from accessing a frame with origin "https://staticxx.facebook.com". The frame being accessed set "documen... | This was a bug in the iOS autofill implementation: <https://bugs.chromium.org/p/chromium/issues/detail?id=709132>
The problem in Chrome was fixed, so after updating your browser to the latest available version the errors should disappear. |
107,723 | <p>I am adding structured data to a new page which could sensibly be defined as either an article (<a href="http://schema.org/Article" rel="nofollow noreferrer">http://schema.org/Article</a>) or an Item List (<a href="http://schema.org/ItemList" rel="nofollow noreferrer">http://schema.org/ItemList</a>), as it is a news... | [
{
"answer_id": 107732,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 3,
"selected": true,
"text": "<p>You can use both, if the <code>ItemList</code> is the primary thing the <code>Article</code> is about.</p>\n\n<p... | 2017/07/10 | [
"https://webmasters.stackexchange.com/questions/107723",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79775/"
] | I am adding structured data to a new page which could sensibly be defined as either an article (<http://schema.org/Article>) or an Item List (<http://schema.org/ItemList>), as it is a news article about a new top 10, where all 10 items exist on their own pages elsewhere on our site.
So this page has a title, author, s... | You can use both, if the `ItemList` is the primary thing the `Article` is about.
Use the **[`mainEntity`](http://schema.org/mainEntity) property** of the [`Article`](http://schema.org/Article) type to provide the [`ItemList`](http://schema.org/ItemList).
`mainEntity` is typically used to denote the primary thing a `W... |
107,728 | <p>I know adding <code><!DOCTYPE html></code> (if using HTML5) on the first line is mandatory. What will happen if I don't include it? Because my site still looked the same when I removed it.</p>
<pre><code><!DOCTYPE html>
<html>
<head>...</head>
<body>...</body>
</html>... | [
{
"answer_id": 107729,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 1,
"selected": false,
"text": "<p>It is always recommended to define the doctype at the beginning.</p>\n\n<p><a href=\"https://www.w3schools.co... | 2017/07/11 | [
"https://webmasters.stackexchange.com/questions/107728",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79722/"
] | I know adding `<!DOCTYPE html>` (if using HTML5) on the first line is mandatory. What will happen if I don't include it? Because my site still looked the same when I removed it.
```
<!DOCTYPE html>
<html>
<head>...</head>
<body>...</body>
</html>
``` | Nowadays browsers will auto correct a lot of issues found within the markup of the webpage, however older browsers not so much. So while you see no problem is not necessary true for other visitors.
So I advise that you have valid code to ensure that your website is displayed correctly not just to some visitors, but t... |
107,750 | <p>I am new to HTML and trying to build a form which basically gets the data from user as an input and by clicking on send it should send the details to admin via email + it should also notify user on dashboard that email is sent.</p>
<p>I have a page with an HTML form:</p>
<pre><code><form class="well form-horizo... | [
{
"answer_id": 107729,
"author": "TopQnA",
"author_id": 77604,
"author_profile": "https://webmasters.stackexchange.com/users/77604",
"pm_score": 1,
"selected": false,
"text": "<p>It is always recommended to define the doctype at the beginning.</p>\n\n<p><a href=\"https://www.w3schools.co... | 2017/07/11 | [
"https://webmasters.stackexchange.com/questions/107750",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79796/"
] | I am new to HTML and trying to build a form which basically gets the data from user as an input and by clicking on send it should send the details to admin via email + it should also notify user on dashboard that email is sent.
I have a page with an HTML form:
```
<form class="well form-horizontal" action=" " method=... | Nowadays browsers will auto correct a lot of issues found within the markup of the webpage, however older browsers not so much. So while you see no problem is not necessary true for other visitors.
So I advise that you have valid code to ensure that your website is displayed correctly not just to some visitors, but t... |
107,777 | <p>I want to write an if condition in an .htaccess file to check whether a cookie value is set. Example code:</p>
<pre><code><If "%{HTTP_COOKIE} == 'cookiename and value'">
...
</If>
</code></pre>
| [
{
"answer_id": 107832,
"author": "covener",
"author_id": 4447,
"author_profile": "https://webmasters.stackexchange.com/users/4447",
"pm_score": 2,
"selected": false,
"text": "<p>This seems to do the trick for me:</p>\n\n<pre><code><If \"%{HTTP_COOKIE} =~ /(^|; )cookie-name\\s*=\\s*som... | 2017/07/12 | [
"https://webmasters.stackexchange.com/questions/107777",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/79829/"
] | I want to write an if condition in an .htaccess file to check whether a cookie value is set. Example code:
```
<If "%{HTTP_COOKIE} == 'cookiename and value'">
...
</If>
``` | This seems to do the trick for me:
```
<If "%{HTTP_COOKIE} =~ /(^|; )cookie-name\s*=\s*some-val(;|$)/>
```
The \s\* part is probably overkill. |
107,798 | <p>My goal is to know if my android app and my browser are talking to my web server on http2. Using open source nginx stable 1.12 on linux.</p>
<p>Looking at the network or other tools of firefix (version 54) or chrome (version 59) can we tell that ?</p>
<p>Response Headers I get on hitting sub domain (like <a href="... | [
{
"answer_id": 107804,
"author": "Osvaldo",
"author_id": 6355,
"author_profile": "https://webmasters.stackexchange.com/users/6355",
"pm_score": 2,
"selected": false,
"text": "<p>I've uploaded the script bellow to a server with nginx/1.10.0 and it correctly identified Chrome (http2) and C... | 2017/07/13 | [
"https://webmasters.stackexchange.com/questions/107798",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/44492/"
] | My goal is to know if my android app and my browser are talking to my web server on http2. Using open source nginx stable 1.12 on linux.
Looking at the network or other tools of firefix (version 54) or chrome (version 59) can we tell that ?
Response Headers I get on hitting sub domain (like <https://a.my.com/>):
```... | From Stephen Ostermiller:
nginx log file. I know that Apache logs the HTTP version of every request. I'd assume that nginx does that, or can be configured to do that. |
107,873 | <p>I have always been in the belief that headings should always be in order - ie a <code>h2</code> comes before a <code>h3</code> but after a <code>h1</code>, unless it's within a separate section, then you can go back to a previous heading.</p>
<p>However, we have just teamed up with an external company to do our fro... | [
{
"answer_id": 107874,
"author": "Theo van der Zee",
"author_id": 79588,
"author_profile": "https://webmasters.stackexchange.com/users/79588",
"pm_score": 5,
"selected": true,
"text": "<p>No, in all likelihood this will have zero impact on your SEO. </p>\n\n<p>While it does offer some be... | 2017/07/17 | [
"https://webmasters.stackexchange.com/questions/107873",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/49753/"
] | I have always been in the belief that headings should always be in order - ie a `h2` comes before a `h3` but after a `h1`, unless it's within a separate section, then you can go back to a previous heading.
However, we have just teamed up with an external company to do our front end code and they have weird headings al... | No, in all likelihood this will have zero impact on your SEO.
While it does offer some benefits in terms of accessibility (because it helps the screen readers), the order of your headings doesn't appear to be linked to your SEO. |
107,926 | <p>In order to provide a better experience for users we have begun flushing our head section of our website well before we have accumulated and rendered the HTML to be sent to a client. This has many benefits, but one large downside: For what would normally be a 500 or 400 response, we are currently returning a 200.</... | [
{
"answer_id": 107933,
"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>In order to provide a better experience for users we have begun flushing our ... | 2017/07/18 | [
"https://webmasters.stackexchange.com/questions/107926",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/53477/"
] | In order to provide a better experience for users we have begun flushing our head section of our website well before we have accumulated and rendered the HTML to be sent to a client. This has many benefits, but one large downside: For what would normally be a 500 or 400 response, we are currently returning a 200.
we'r... | >
> In order to provide a better experience for users we have begun flushing our head section of our website well before we have accumulated and rendered the HTML to be sent to a client. This has many benefits...
>
>
>
The only thing that might appear to the user's screen instantly is a new title in the window bar... |