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 |
|---|---|---|---|---|---|---|
31,420 | <p>I would like to know if there is any weight associated with a html link (its backlink) when google does crawling/indexing. Will 1,2 & 3 be ever considered as a backlink by Google?</p>
<pre><code>1. <a href="xyz.com">1</a> // one character link
2. <a href="xyz.com"> </a> //blank space lin... | [
{
"answer_id": 31433,
"author": "mgkrebbs",
"author_id": 5406,
"author_profile": "https://webmasters.stackexchange.com/users/5406",
"pm_score": 3,
"selected": true,
"text": "<p>If you have PHP capabilities, you can create a PHP file which generates a 410 status return via the $http_respo... | 2012/06/26 | [
"https://webmasters.stackexchange.com/questions/31420",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16568/"
] | I would like to know if there is any weight associated with a html link (its backlink) when google does crawling/indexing. Will 1,2 & 3 be ever considered as a backlink by Google?
```
1. <a href="xyz.com">1</a> // one character link
2. <a href="xyz.com"> </a> //blank space link
3. <a href="xyz.com">!</a> //special cha... | If you have PHP capabilities, you can create a PHP file which generates a 410 status return via the $http\_response\_code parameter of the `header()` function. You can copy the file to each old page name, or use .htaccess to map the old names to a single file.
Google processes 410 much like 404, but will quit revisit... |
31,444 | <p>I have a <code>700kb</code> decompressed JS file which is loaded on every page. Before I had <code>12</code> javascript files on each page but to reduce http requests I compressed them all into <code>1 file</code>.</p>
<p>This file is <code>~130kb gzipped</code> and is served over <code>gzip</code>. However on the ... | [
{
"answer_id": 31447,
"author": "Michael",
"author_id": 15333,
"author_profile": "https://webmasters.stackexchange.com/users/15333",
"pm_score": 4,
"selected": true,
"text": "<p>You can use <a href=\"http://requirejs.org/\">requirejs</a> to dynamically load the libraries you need only on... | 2012/06/27 | [
"https://webmasters.stackexchange.com/questions/31444",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7147/"
] | I have a `700kb` decompressed JS file which is loaded on every page. Before I had `12` javascript files on each page but to reduce http requests I compressed them all into `1 file`.
This file is `~130kb gzipped` and is served over `gzip`. However on the local computer it is still unpacked and loaded on every page. Is ... | You can use [requirejs](http://requirejs.org/) to dynamically load the libraries you need only on that pages. Then you only have to load the requirejs (which is about 14k) on all pages, saving about 385kb.
Integration is also very easy: just "wrap" the code you have with the require include stuff:
```
require(["jquer... |
31,449 | <p>My pages get indexed after 1 day, but some days later disappear from search results.
Any idea why this happens?
I've been trying to find any of the usual problems like hidden links or other issues, but can't find anything wrong.</p>
<p><a href="http://www.onlinegameslist.org/facebook/smooty-tales" rel="nofollow">He... | [
{
"answer_id": 31452,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>It was on first page until yesterday [...]</p>\n</blockquote>\n\n<p>First page of what?\nAll you di... | 2012/06/27 | [
"https://webmasters.stackexchange.com/questions/31449",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16584/"
] | My pages get indexed after 1 day, but some days later disappear from search results.
Any idea why this happens?
I've been trying to find any of the usual problems like hidden links or other issues, but can't find anything wrong.
[Here is an example](http://www.onlinegameslist.org/facebook/smooty-tales). It was on firs... | >
> It was on first page until yesterday [...]
>
>
>
First page of what?
All you did was link to the page itself, then not tell us what you're searching for and expect to see it at the top of. But regardless:
>
> but some days later disappear from search results
>
>
>
You're also not explaining what this mea... |
31,459 | <p>Is there an email equivalent of the CSS property <code>font-family</code>? As emails don't embed the font, the reader has to have the font installed on their computer. If they don't, the font will render in Times New Roman (or another default font.) </p>
<p>Is there a way to define multiple backup or fallback fon... | [
{
"answer_id": 31463,
"author": "Cameron Martin",
"author_id": 16592,
"author_profile": "https://webmasters.stackexchange.com/users/16592",
"pm_score": 4,
"selected": true,
"text": "<p>See <a href=\"http://css-tricks.com/using-css-in-html-emails-the-real-story/\" rel=\"nofollow\">this ar... | 2012/06/27 | [
"https://webmasters.stackexchange.com/questions/31459",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14905/"
] | Is there an email equivalent of the CSS property `font-family`? As emails don't embed the font, the reader has to have the font installed on their computer. If they don't, the font will render in Times New Roman (or another default font.)
Is there a way to define multiple backup or fallback fonts? | See [this article about CSS in emails](http://css-tricks.com/using-css-in-html-emails-the-real-story/). Most mail clients don't support a head element in HTML emails, so non-inline CSS is out. This means you can't use CSS3's `@font-face` to declare custom fonts.
However, you can specify fallback fonts by separating mu... |
31,477 | <p>I would really like to limit the title length on products in Magento.</p>
<p>What I've tried is adding <code>'maxlength' => 65</code> somewhere in <code>\app\code\core\Mage\Adminhtml\Block\</code>, without success.</p>
<p>Does someone know how to add this feature? In HTML it will just be adding <code>length="65... | [
{
"answer_id": 31514,
"author": "cobra91",
"author_id": 13398,
"author_profile": "https://webmasters.stackexchange.com/users/13398",
"pm_score": 1,
"selected": false,
"text": "<p>After almost 10 hours of searching I gave the up the \"best\" way, and choose for the roundabout.</p>\n\n<p>S... | 2012/06/27 | [
"https://webmasters.stackexchange.com/questions/31477",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13398/"
] | I would really like to limit the title length on products in Magento.
What I've tried is adding `'maxlength' => 65` somewhere in `\app\code\core\Mage\Adminhtml\Block\`, without success.
Does someone know how to add this feature? In HTML it will just be adding `length="65" maxlength="65"`. | After almost 10 hours of searching I gave the up the "best" way, and choose for the roundabout.
Simply add
```
document.getElementById("name").setAttribute("maxlength", "65");
document.getElementById("name").setAttribute("length", "65");
```
to `app/design/adminhtml/default/default/template/catalog/wysiwyg/js.phtm... |
31,478 | <p>I have just created account at (some web service, well, actually it was <a href="https://www.transifex.com/" rel="nofollow">Transifex</a>, a localization service). Registration form requested typical things: accont name, e-mail adress, password (twice), and, optional company name and phone number.</p>
<p>What conf... | [
{
"answer_id": 31514,
"author": "cobra91",
"author_id": 13398,
"author_profile": "https://webmasters.stackexchange.com/users/13398",
"pm_score": 1,
"selected": false,
"text": "<p>After almost 10 hours of searching I gave the up the \"best\" way, and choose for the roundabout.</p>\n\n<p>S... | 2012/06/27 | [
"https://webmasters.stackexchange.com/questions/31478",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15873/"
] | I have just created account at (some web service, well, actually it was [Transifex](https://www.transifex.com/), a localization service). Registration form requested typical things: accont name, e-mail adress, password (twice), and, optional company name and phone number.
What confused me was this sentence on confirma... | After almost 10 hours of searching I gave the up the "best" way, and choose for the roundabout.
Simply add
```
document.getElementById("name").setAttribute("maxlength", "65");
document.getElementById("name").setAttribute("length", "65");
```
to `app/design/adminhtml/default/default/template/catalog/wysiwyg/js.phtm... |
31,489 | <p>I have an issue with the tracking on my site where I have seen a dramatic drop off of visitors to the site from a certain region. I have four regions on my site at the moment, these are UK, EU, US and RoW (Rest of the World). The UK, EU and US regions are unaffected, only the RoW region suffers this drop-off. I have... | [
{
"answer_id": 31505,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 1,
"selected": false,
"text": "<p>Visits is to broad to look at. You should go through each traffic source one by one to see if any specific sou... | 2012/06/28 | [
"https://webmasters.stackexchange.com/questions/31489",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14473/"
] | I have an issue with the tracking on my site where I have seen a dramatic drop off of visitors to the site from a certain region. I have four regions on my site at the moment, these are UK, EU, US and RoW (Rest of the World). The UK, EU and US regions are unaffected, only the RoW region suffers this drop-off. I have in... | This was unfortunately caused by a non GA-related issue and was solely down to a Geolocation lookup performing incorrectly. I was still receiving the same traffic, however they were being re-directed to a different GA account. |
31,498 | <p>I am getting this error: </p>
<p><code>File does not exist: /var/www/user/home/user/public_html/cgi-sys</code></p>
<p>I have only .html files in the document root. Can anyone tell why I am getting this error?</p>
| [
{
"answer_id": 31569,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 0,
"selected": false,
"text": "<p>I would search your source code for <code>cgi-sys</code> maybe something is linking to that folder? Otherwise ... | 2012/06/28 | [
"https://webmasters.stackexchange.com/questions/31498",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16617/"
] | I am getting this error:
`File does not exist: /var/www/user/home/user/public_html/cgi-sys`
I have only .html files in the document root. Can anyone tell why I am getting this error? | It's a script kiddie looking for exploits. You can get some fun at him
Redirect rules for .htaccess
```
redirect /cgi-sys http://get.a.life
redirect /cgi-bin http://get.a.life
redirect /scripts http://get.a.life
redirect /MSADC http://get.a.life
redirect /c http://get.a.life
redirect /d http://get.a.life
redirect /_m... |
31,499 | <p>An SEO expert was testing my site, and noticed that my URLs contained the special character <code>:</code>. He said that would create duplicate content, because google would interpret any url containing <code>:</code> as two separate URLs: one with <code>:</code> and one with <code>%3A</code>. Is he right?</p>
| [
{
"answer_id": 31500,
"author": "Dunhamzzz",
"author_id": 6342,
"author_profile": "https://webmasters.stackexchange.com/users/6342",
"pm_score": 3,
"selected": true,
"text": "<p>I suspect this is lies/misinterpretation from your \"SEO expert\" (such roles do not exist IMO). Essentially <... | 2012/06/28 | [
"https://webmasters.stackexchange.com/questions/31499",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10211/"
] | An SEO expert was testing my site, and noticed that my URLs contained the special character `:`. He said that would create duplicate content, because google would interpret any url containing `:` as two separate URLs: one with `:` and one with `%3A`. Is he right? | I suspect this is lies/misinterpretation from your "SEO expert" (such roles do not exist IMO). Essentially `%3A` and `:` are exactly the same thing, one is just encoded and means exactly the same thing, anything that reads an URL will know that.
Otherwise you could argue that any non-alphanumeric character could cause... |
31,522 | <p>I understand robots.txt and its purpose. I have read some people saying that using a Robots.txt gives "bad" robots or robots who do not obey a robots.txt a way to access pages on your site that you do not want accessed. While I am not looking to get into a debate about that I do have a question: </p>
<p>If I have a... | [
{
"answer_id": 31542,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 1,
"selected": false,
"text": "<p>I would show that the traffic is not seasonal, so there should not be much difference comparing any month with... | 2012/06/28 | [
"https://webmasters.stackexchange.com/questions/31522",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9539/"
] | I understand robots.txt and its purpose. I have read some people saying that using a Robots.txt gives "bad" robots or robots who do not obey a robots.txt a way to access pages on your site that you do not want accessed. While I am not looking to get into a debate about that I do have a question:
If I have a structure... | (I'm not an expert in statistics.)
One month's data is *almost* certainly not representative, for a couple of reasons.
1. Most sites have seasonal trends (both monthly and weekly). Picking a really light month or a really heavy month will skew your results.
2. You'll probably need a sample size of more than 1/12 to g... |
31,553 | <p>I want google to index my index page, but do not index any other pages.</p>
<pre><code>User-agent: *
Disallow: /
</code></pre>
<p>So far I have this. However...when I do this, Google does not index my index page. When I search my name in Google, all it shows is "www.mydomain.com" as the first result with no desc... | [
{
"answer_id": 31554,
"author": "PaperThick",
"author_id": 32295,
"author_profile": "https://webmasters.stackexchange.com/users/32295",
"pm_score": 0,
"selected": false,
"text": "<p>Why would you want to disallow Google your pages?</p>\n\n<p>Anyway yo do this you could do:</p>\n\n<pre><c... | 2012/06/28 | [
"https://webmasters.stackexchange.com/questions/31553",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I want google to index my index page, but do not index any other pages.
```
User-agent: *
Disallow: /
```
So far I have this. However...when I do this, Google does not index my index page. When I search my name in Google, all it shows is "www.mydomain.com" as the first result with no description.
Instead, I want Go... | For Google, in particular, the following rules will do the trick:
```
User-Agent: *
Allow: /$
Disallow: /
```
For details, see [Google's documentation of their supported robots.txt syntax](https://developers.google.com/webmasters/control-crawl-index/docs/robots_txt). However, note that the middle line is non-standar... |
31,562 | <p>We have:</p>
<ul>
<li><p>internal MediaWiki installation for internal documents (we don't use it in
completely wiki-like style—only maintainers should normally make changes)</p></li>
<li><p>internal Bugzilla installation for internal issues including these internal
documents on the MediaWiki site</p></li>
</u... | [
{
"answer_id": 31565,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 1,
"selected": false,
"text": "<p>You might be coming at this backwards.<br>\nRather than looking for a MediaWiki extension, you probably just need t... | 2012/06/29 | [
"https://webmasters.stackexchange.com/questions/31562",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15873/"
] | We have:
* internal MediaWiki installation for internal documents (we don't use it in
completely wiki-like style—only maintainers should normally make changes)
* internal Bugzilla installation for internal issues including these internal
documents on the MediaWiki site
Now only the icing on the cake is missing: an au... | You might be coming at this backwards.
Rather than looking for a MediaWiki extension, you probably just need to do a minor edit to your template. Bugzilla has a feature that lets you fill out the submission form and then re-use those values later. But the presentation's a little weird. The button is labeled "Remembe... |
31,582 | <p>On my site, say <code>example.com</code>, if I try to access <code>test.example.com</code>, Firefox automatically adds <code>www</code>. to <code>test.example.com</code>, making it <code>www.test.example.com</code>, which causes an error. However, if I visit a site like <code>my.ebay.com</code>, no <code>www.</code>... | [
{
"answer_id": 31583,
"author": "Mike Mackintosh",
"author_id": 16672,
"author_profile": "https://webmasters.stackexchange.com/users/16672",
"pm_score": 1,
"selected": false,
"text": "<p>Have you tried to manually adding the protocol prefix?</p>\n\n<p><code>http://test.example.com</code>... | 2012/06/30 | [
"https://webmasters.stackexchange.com/questions/31582",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | On my site, say `example.com`, if I try to access `test.example.com`, Firefox automatically adds `www`. to `test.example.com`, making it `www.test.example.com`, which causes an error. However, if I visit a site like `my.ebay.com`, no `www.` is added so no error occurs. What's going on?
Just in case, my .htaccess file ... | Have you tried to manually adding the protocol prefix?
`http://test.example.com` won't get redirected.
```
Options -Multiviews
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www(.*)
RewriteCond %{HTTP_HOST} !^www.example.com
RewriteRule ^(.*).example.com/(.*)$ http://$1.example.com/$2 [R=301,L]
RewriteCond %{HTTP_HOST} ... |
31,603 | <p>Google has indexed the IP address of my site rather than the domain, so now I'm trying to set up a 301 redirect that will redirect the IP address and all subsequent pages to the domain.</p>
<p>I currently have something like this in my .htaccess file (however don't think it's working correctly?):</p>
<pre><code>Re... | [
{
"answer_id": 31605,
"author": "Julien Meilleur",
"author_id": 15015,
"author_profile": "https://webmasters.stackexchange.com/users/15015",
"pm_score": 0,
"selected": false,
"text": "<p>Try this pattern for your httphost cond (the following represent the end of the first line)</p>\n\n<p... | 2012/07/01 | [
"https://webmasters.stackexchange.com/questions/31603",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16680/"
] | Google has indexed the IP address of my site rather than the domain, so now I'm trying to set up a 301 redirect that will redirect the IP address and all subsequent pages to the domain.
I currently have something like this in my .htaccess file (however don't think it's working correctly?):
```
RewriteCond %{HTTP_HOST... | Something like this
```
RewriteCond %{HTTP_HOST} ^12.34.567.890$
RewriteRule ^(.*)$ http://example.domain.com/$1 [R=301,L]
```
If either the old or new url won't dereference, then usually the Google crawler complains. |
31,627 | <p>I've had my domain (straightpathsql.com) for a few years now. I host my e-mail with Google Accounts for business and have for awhile. ALl of the sudden in the past week I am starting to get a lot of postmaster delivery fail notices from various domains, most of them involving bogus e-mail addresses at my domain (han... | [
{
"answer_id": 31628,
"author": "Ilmari Karonen",
"author_id": 12578,
"author_profile": "https://webmasters.stackexchange.com/users/12578",
"pm_score": 3,
"selected": false,
"text": "<p>It's probably just <a href=\"http://en.wikipedia.org/wiki/Backscatter_%28e-mail%29\">backscatter</a> f... | 2012/07/02 | [
"https://webmasters.stackexchange.com/questions/31627",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16698/"
] | I've had my domain (straightpathsql.com) for a few years now. I host my e-mail with Google Accounts for business and have for awhile. ALl of the sudden in the past week I am starting to get a lot of postmaster delivery fail notices from various domains, most of them involving bogus e-mail addresses at my domain (hank78... | Instead of setting non-existant users in 'catch-all' mode, there should be in your control panel an option that allows to blackhole emails that are destined to non existant mailboxes.
The catch all mode really should not be used nowadays as most domains get spammed in the same manner you have experienced. It is very a... |
31,639 | <p>I run Roundcube webmail on my VPS. At the moment, it is only accessible from one virtual server hosted on the server, unless a separate Roundcube installation is created for other virtual servers. I would like to be able to make webmail available from any domain/ virtual server that I host, just by adding /webmail t... | [
{
"answer_id": 31665,
"author": "mickburkejnr",
"author_id": 3718,
"author_profile": "https://webmasters.stackexchange.com/users/3718",
"pm_score": 3,
"selected": true,
"text": "<p>It's just a simple 301 redirect. Like so:</p>\n\n<pre><code>RewriteRule http://www.somedomain.com/webmail$ ... | 2012/07/03 | [
"https://webmasters.stackexchange.com/questions/31639",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11971/"
] | I run Roundcube webmail on my VPS. At the moment, it is only accessible from one virtual server hosted on the server, unless a separate Roundcube installation is created for other virtual servers. I would like to be able to make webmail available from any domain/ virtual server that I host, just by adding /webmail to t... | It's just a simple 301 redirect. Like so:
```
RewriteRule http://www.somedomain.com/webmail$ http://www.actualdomain.com/webmail/ [R=301,L]
```
This goes on the server that has these hosted domains. Then it'll route that traffic to the actual VPS that hosts the webmail client.
By the way, well done in picki... |
31,671 | <p>I am trying to use a 301 redirect to direct users and bots to my new site but when I put the <code>.htaccess</code> live I keep getting a 500 internal error shown. </p>
<p>The site is actually a subdomain which i want to redirect to another subdomain on another site. I'm not sure if that's relevant but I thought I ... | [
{
"answer_id": 31672,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": false,
"text": "<p>Not guaranteed this is it, but try removing a line at a time until the error stops. That'll help you see which part... | 2012/07/03 | [
"https://webmasters.stackexchange.com/questions/31671",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14905/"
] | I am trying to use a 301 redirect to direct users and bots to my new site but when I put the `.htaccess` live I keep getting a 500 internal error shown.
The site is actually a subdomain which i want to redirect to another subdomain on another site. I'm not sure if that's relevant but I thought I should include this i... | Not guaranteed this is it, but try removing a line at a time until the error stops. That'll help you see which particular bit is causing the problem.
Getting a 500 from htaccess is sometimes a sign you're trying to do something you're not allowed to. Is mod\_rewrite actually enabled, for example? The same for the Op... |
31,681 | <p>I have a page that selects some info from a database
and displays it with a link to a second page that uses
the result to query the database, something like this:</p>
<pre><code>$sel=mysql_query("select id, title from thetable ");
while($row=mysql_fetch_array($sel))
{
$id=$row['id'];
$title=$row['title'];
echo "<... | [
{
"answer_id": 31699,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 0,
"selected": false,
"text": "<p>Usually you would have a structure similar to this:</p>\n\n<p>www.website.com/products/1/this-is-my-product-ti... | 2012/07/04 | [
"https://webmasters.stackexchange.com/questions/31681",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16746/"
] | I have a page that selects some info from a database
and displays it with a link to a second page that uses
the result to query the database, something like this:
```
$sel=mysql_query("select id, title from thetable ");
while($row=mysql_fetch_array($sel))
{
$id=$row['id'];
$title=$row['title'];
echo "<a href='more.php... | First create a PHP function that generates friendly URLs. Something like this would work, adjust to your liking.
```
function friendlyURL($id, $title) {
$string = $title;
$paramcount = func_num_args();
for ($i = 2; $i < $paramcount; $i++) {
$string .= "-" . func_get_arg($i);
}
$string = pr... |
31,696 | <p>We are working on a jobs and skills website (similiar to Skill Pages) and are deciding on categories. Rather than having load of categories like, for example, Builder, Electrician, Carpenter etc, we would like to have one word more general categories.</p>
<p>So for example we have House, Computer, Education, Art et... | [
{
"answer_id": 31699,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 0,
"selected": false,
"text": "<p>Usually you would have a structure similar to this:</p>\n\n<p>www.website.com/products/1/this-is-my-product-ti... | 2012/07/04 | [
"https://webmasters.stackexchange.com/questions/31696",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16753/"
] | We are working on a jobs and skills website (similiar to Skill Pages) and are deciding on categories. Rather than having load of categories like, for example, Builder, Electrician, Carpenter etc, we would like to have one word more general categories.
So for example we have House, Computer, Education, Art etc. So a bu... | First create a PHP function that generates friendly URLs. Something like this would work, adjust to your liking.
```
function friendlyURL($id, $title) {
$string = $title;
$paramcount = func_num_args();
for ($i = 2; $i < $paramcount; $i++) {
$string .= "-" . func_get_arg($i);
}
$string = pr... |
31,715 | <p>My website livingalignment.com is very slow to load. The domain and hosting is all with GoDaddy. <a href="http://tools.pingdom.com/fpt/#!/kNZeCxO8r/www.livingalignment.com" rel="nofollow">In Pingdom</a> I found that it is redirecting from www.livingalignment.com to livingalignment.com and it takes about 2 seconds to... | [
{
"answer_id": 31717,
"author": "Nir Alfasi",
"author_id": 13618,
"author_profile": "https://webmasters.stackexchange.com/users/13618",
"pm_score": 4,
"selected": true,
"text": "<p>Look for 301 redirection rules in your .htaccess or in httpd.conf. <br><br>\nIn httpd.conf look for a rule ... | 2012/07/05 | [
"https://webmasters.stackexchange.com/questions/31715",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16763/"
] | My website livingalignment.com is very slow to load. The domain and hosting is all with GoDaddy. [In Pingdom](http://tools.pingdom.com/fpt/#!/kNZeCxO8r/www.livingalignment.com) I found that it is redirecting from www.livingalignment.com to livingalignment.com and it takes about 2 seconds to do so, with a total load tim... | Look for 301 redirection rules in your .htaccess or in httpd.conf.
In httpd.conf look for a rule like this one:
```
< VirtualHost www.domain.com >
Redirect 301 / http://domain.com/
< /VirtualHost >
```
In `.htaccess` look for a rule that looks like:
```
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
Rewrit... |
31,755 | <p>I'm having some problems trying to</p>
<ol>
<li>Remove the .html extension from URLs</li>
<li>Removing 'index.html' from an URL</li>
</ol>
<p>1) To remove the extension I have tried using this in my htaccess file. </p>
<pre><code>RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}... | [
{
"answer_id": 31756,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 0,
"selected": false,
"text": "<p><a href=\"https://stackoverflow.com/a/9182067/804087\">This is from stackoverflow</a></p>\n\n<pre><code>Option... | 2012/07/05 | [
"https://webmasters.stackexchange.com/questions/31755",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16782/"
] | I'm having some problems trying to
1. Remove the .html extension from URLs
2. Removing 'index.html' from an URL
1) To remove the extension I have tried using this in my htaccess file.
```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
```
H... | Building on the answer Anagio provided, let's cover all your requirements:
* Transparently serve .html files on requests like `/path/to/file` if `/path/to/file.html` exists
* Deny direct requests against `/path/to/file.html`
* Serve `/index.html` on requests against `/`
Directory configuration:
```
Options +FollowSy... |
31,766 | <p>I am migrating my blog from PHP to ASP.NET and while recoding the whole website, I figured I might as well improve the URL structure.</p>
<p>This is how an URL looks like now:</p>
<pre><code>example.com/blog/post/755/hakurei-reimu-cosplay-from-touhou-by-kishigami-hana
</code></pre>
<p>and this is hould it will lo... | [
{
"answer_id": 31769,
"author": "Christopher",
"author_id": 4803,
"author_profile": "https://webmasters.stackexchange.com/users/4803",
"pm_score": 0,
"selected": false,
"text": "<p>Having keywords in your URL will improve your traffic over time, and I couldn't see a reason why having no ... | 2012/07/06 | [
"https://webmasters.stackexchange.com/questions/31766",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16790/"
] | I am migrating my blog from PHP to ASP.NET and while recoding the whole website, I figured I might as well improve the URL structure.
This is how an URL looks like now:
```
example.com/blog/post/755/hakurei-reimu-cosplay-from-touhou-by-kishigami-hana
```
and this is hould it will look after the change (cosplay bein... | In general, having keywords in the URL is a plus. It *is* an SEO ranking factor and it is useful for users so they have an idea of what the target page will contain.
Having said that, in your example it is entirely pointless to change. Your URL already has keywords, including what's apparently your most important keyw... |
31,788 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/3728/how-could-i-prevent-my-mail-from-being-recognized-as-spam">How could I prevent my mail from being recognized as spam?</a> </p>
</blockquote>
<p>I have c-panel vps server. I have created a domain... | [
{
"answer_id": 31839,
"author": "BillyNair",
"author_id": 16688,
"author_profile": "https://webmasters.stackexchange.com/users/16688",
"pm_score": 0,
"selected": false,
"text": "<p>In my experience, Gmail and other email providers are set up to detect potential abuse. It says that you ar... | 2012/07/06 | [
"https://webmasters.stackexchange.com/questions/31788",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16801/"
] | >
> **Possible Duplicate:**
>
> [How could I prevent my mail from being recognized as spam?](https://webmasters.stackexchange.com/questions/3728/how-could-i-prevent-my-mail-from-being-recognized-as-spam)
>
>
>
I have c-panel vps server. I have created a domain on the same server, but when I send mail through w... | Also it maybe that your mail ip from your web host is listed as a spam site. Not much you can do to get off the list. Except get a mail server for your self. |
31,836 | <p>I have a bunch of old files prefixed with <code>old-</code> (e.g. <code>old-abcde.php</code>). I need an htaccess rule to set up a 301 redirect so that any request for a file starting with <code>old-</code> goes to its corresponding new version (e.g. <code>abcde.php</code>). </p>
<p>To be clear, I have <em>many</e... | [
{
"answer_id": 32038,
"author": "0xJoKe",
"author_id": 16950,
"author_profile": "https://webmasters.stackexchange.com/users/16950",
"pm_score": 1,
"selected": false,
"text": "<p>Try ModRewrite:</p>\n\n<pre><code>RewriteEngine On\nRewriteRule old-(.*)$ $1 [NE,R]\n</code></pre>\n\n<p>This ... | 2012/07/08 | [
"https://webmasters.stackexchange.com/questions/31836",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/12264/"
] | I have a bunch of old files prefixed with `old-` (e.g. `old-abcde.php`). I need an htaccess rule to set up a 301 redirect so that any request for a file starting with `old-` goes to its corresponding new version (e.g. `abcde.php`).
To be clear, I have *many* files, not just one, so I can't do a literal filename match... | Try ModRewrite:
```
RewriteEngine On
RewriteRule old-(.*)$ $1 [NE,R]
```
This sends an 301 to the browser and redirects it. |
31,837 | <p>Most of my visits are from baidu spiders. I don't think it helps search engines at all so I'm thinking of how to block them. Could this be done via iptables? I'm using nginx as my webserver.</p>
| [
{
"answer_id": 31838,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 3,
"selected": false,
"text": "<p>In your robots.txt add</p>\n\n<pre><code>#Baiduspider\nUser-agent: Baiduspider\nDisallow: /\n\n#Yandex\nUser-a... | 2012/07/09 | [
"https://webmasters.stackexchange.com/questions/31837",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14372/"
] | Most of my visits are from baidu spiders. I don't think it helps search engines at all so I'm thinking of how to block them. Could this be done via iptables? I'm using nginx as my webserver. | In your robots.txt add
```
#Baiduspider
User-agent: Baiduspider
Disallow: /
#Yandex
User-agent: Yandex
Disallow: /
``` |
31,887 | <p>I have a website which had a particular page url that was indexed in google search results - in the first 10 results. Suddenly it disappeared. Now that page is not even in the first 100 results. What would be the reason? I am feeling that the page has be spammed by our competitors. Is it possible to avoid that, or c... | [
{
"answer_id": 31891,
"author": "iGameRam",
"author_id": 16877,
"author_profile": "https://webmasters.stackexchange.com/users/16877",
"pm_score": 0,
"selected": false,
"text": "<p>If you have google analytics activated with your domain, you can check why it is not being indexed. Most com... | 2012/07/10 | [
"https://webmasters.stackexchange.com/questions/31887",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16874/"
] | I have a website which had a particular page url that was indexed in google search results - in the first 10 results. Suddenly it disappeared. Now that page is not even in the first 100 results. What would be the reason? I am feeling that the page has be spammed by our competitors. Is it possible to avoid that, or can ... | You can check if your page is still included in the index with a search like:
```
site:yourdomain.com
```
If it's there, then it could be duplicate content issue. If it's not there it might have been penalised. Difficult to say what exactly happened without any more details. |
31,903 | <p>I have a Gmail account linked to numerous Analytics accounts, and a couple of Adwords accounts - that is, I can track stats from a dozen or so sites, and have administration rights for a couple of Adwords campaigns.</p>
<p>However, a client has already set-up their Adwords account and has invited me help administer... | [
{
"answer_id": 31908,
"author": "Joshak",
"author_id": 1953,
"author_profile": "https://webmasters.stackexchange.com/users/1953",
"pm_score": 4,
"selected": true,
"text": "<p>Use AdWords my client center account. It's designed specifically for agencies to manage multiple clients. Here's ... | 2012/07/10 | [
"https://webmasters.stackexchange.com/questions/31903",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1300/"
] | I have a Gmail account linked to numerous Analytics accounts, and a couple of Adwords accounts - that is, I can track stats from a dozen or so sites, and have administration rights for a couple of Adwords campaigns.
However, a client has already set-up their Adwords account and has invited me help administer their cam... | Use AdWords my client center account. It's designed specifically for agencies to manage multiple clients. Here's the [FAQ on MCC accounts](http://support.google.com/adwords/agency/bin/answer.py?hl=en&answer=7725), and here's [how to create them](http://support.google.com/adwords/bin/answer.py?hl=en&answer=1704399). |
31,904 | <p>I have a client and their traffic from social media reads thus:</p>
<p>80% from facebook
1% from Twitter</p>
<p>This suggestsd they are not exploiting twitter at all and this was in my presentation but my boss took it out claiming twitter stats are under reported in google analytics. I can't substantiate this clai... | [
{
"answer_id": 32066,
"author": "NiloVelez",
"author_id": 15290,
"author_profile": "https://webmasters.stackexchange.com/users/15290",
"pm_score": 1,
"selected": false,
"text": "<p>Social analytics only report actions made using the \"official\" facebook, twitter and Google+ buttons. In ... | 2012/07/10 | [
"https://webmasters.stackexchange.com/questions/31904",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16623/"
] | I have a client and their traffic from social media reads thus:
80% from facebook
1% from Twitter
This suggestsd they are not exploiting twitter at all and this was in my presentation but my boss took it out claiming twitter stats are under reported in google analytics. I can't substantiate this claim and wonder wher... | Social analytics only report actions made using the "official" facebook, twitter and Google+ buttons. In the case of facebook, it's quite flexible but you have to be very strict with twitter.
Here you have the implementation documentation for social analytics:
<http://analytics-api-samples.googlecode.com/svn/trunk/src... |
31,909 | <p>We have an application that needs to be built and are looking for some Java based portal framework. In last few days we have gone through over 10 different open source option Liferay, JetSpeed2, GateIn etc.</p>
<p>But they are all too complex to be judged so quickly. Can anyone suggest some framework which is ease ... | [
{
"answer_id": 32066,
"author": "NiloVelez",
"author_id": 15290,
"author_profile": "https://webmasters.stackexchange.com/users/15290",
"pm_score": 1,
"selected": false,
"text": "<p>Social analytics only report actions made using the \"official\" facebook, twitter and Google+ buttons. In ... | 2012/07/10 | [
"https://webmasters.stackexchange.com/questions/31909",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16886/"
] | We have an application that needs to be built and are looking for some Java based portal framework. In last few days we have gone through over 10 different open source option Liferay, JetSpeed2, GateIn etc.
But they are all too complex to be judged so quickly. Can anyone suggest some framework which is ease to use but... | Social analytics only report actions made using the "official" facebook, twitter and Google+ buttons. In the case of facebook, it's quite flexible but you have to be very strict with twitter.
Here you have the implementation documentation for social analytics:
<http://analytics-api-samples.googlecode.com/svn/trunk/src... |
31,924 | <p>I started getting 404s showing up in my Google Webmaster's Tools from a site linking to a specific category but with odd characters at the end of the URL. So Something like this:</p>
<pre><code>http://example.com/category/puppies%EF%BC%9A.textwidget%E8%A6%81%E7%B4%A0%E7%B7%A8%E9%9B%86
</code></pre>
<p>Google Webma... | [
{
"answer_id": 31928,
"author": "Travis Pessetto",
"author_id": 10681,
"author_profile": "https://webmasters.stackexchange.com/users/10681",
"pm_score": 0,
"selected": false,
"text": "<p>I've read a book that suggested that you create a descriptive 404 error. Make sure you put the code... | 2012/07/10 | [
"https://webmasters.stackexchange.com/questions/31924",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13896/"
] | I started getting 404s showing up in my Google Webmaster's Tools from a site linking to a specific category but with odd characters at the end of the URL. So Something like this:
```
http://example.com/category/puppies%EF%BC%9A.textwidget%E8%A6%81%E7%B4%A0%E7%B7%A8%E9%9B%86
```
Google Webmaster says that there are a... | 1. Return status code of 404...
2. Try to figure out the purpse of the request: if the requested path was: /animals/dogs/not-existing-dog-type -> than show move the user to the `dogs` section
3. Your main consideration should be how to help your users in this case, and Google will be happy too, just give return 404 sta... |
31,941 | <p>I have a client with a site at <code>subdomain.example.com/folder</code>.</p>
<p>I've cloned it locally in MAMP. Once I've made some changes, I need to host it at an alternative physical server (I intend to use a dedicated server I have access to with a technical domain name currently). However, the client would li... | [
{
"answer_id": 32285,
"author": "Dave",
"author_id": 17038,
"author_profile": "https://webmasters.stackexchange.com/users/17038",
"pm_score": 0,
"selected": false,
"text": "<p>Just update the DNS records for the whole site?</p>\n\n<p>If it's for a folder only, you can add a redirect scri... | 2012/07/09 | [
"https://webmasters.stackexchange.com/questions/31941",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a client with a site at `subdomain.example.com/folder`.
I've cloned it locally in MAMP. Once I've made some changes, I need to host it at an alternative physical server (I intend to use a dedicated server I have access to with a technical domain name currently). However, the client would like to keep the existi... | You can use a file called as *.htaccess* stealth redirection in order to redirect your website using the *.htaccess*.
The code for the same is:
```
RewriteCond %{HTTP_HOST} ^(www\.example\.com)?$
RewriteRule ^(.*)$ http://example.com/subfoldername/$1 [P,L]
```
In case, you wish to host the subdomain on a different ... |
31,975 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/14824/how-do-i-leave-mail-at-the-registrar-while-serving-the-web-from-host">How do I leave mail at the registrar while serving the web from host?</a> </p>
</blockquote>
<p>I have a website aaa.fr wit... | [
{
"answer_id": 32083,
"author": "Frank",
"author_id": 2379,
"author_profile": "https://webmasters.stackexchange.com/users/2379",
"pm_score": 2,
"selected": false,
"text": "<p>You can just use the same <code>MX</code> records pointing to multiple mail servers. \nHere is how we do it:</p>\... | 2012/07/11 | [
"https://webmasters.stackexchange.com/questions/31975",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16923/"
] | >
> **Possible Duplicate:**
>
> [How do I leave mail at the registrar while serving the web from host?](https://webmasters.stackexchange.com/questions/14824/how-do-i-leave-mail-at-the-registrar-while-serving-the-web-from-host)
>
>
>
I have a website aaa.fr with MX record correctly configured and working.
Now ... | You can just use the same `MX` records pointing to multiple mail servers.
Here is how we do it:
**Primary Domain For Email: master.example**
```
A - mail.master.example - ip of master domain.
MX Records pointing to mail.master.example
```
Other Domain Names
```
MX Records pointing to mail.master.example
```
I... |
32,005 | <p>I'm trying to get to cPanel to manage my website. When I type <code>www.mydomain.com:2082</code> into the browser window, the request seems to be redirected. I made a screen-cast so I could slow down the changes in the address bar.</p>
<p>First it seems to go to </p>
<pre><code>http://www.mydomain.com:2082/login
<... | [
{
"answer_id": 31996,
"author": "Gajus",
"author_id": 2982,
"author_profile": "https://webmasters.stackexchange.com/users/2982",
"pm_score": -1,
"selected": false,
"text": "<p>Google provides <code>googleon/googleof</code> tags that are just right for the job ( <a href=\"https://develope... | 2012/07/12 | [
"https://webmasters.stackexchange.com/questions/32005",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14715/"
] | I'm trying to get to cPanel to manage my website. When I type `www.mydomain.com:2082` into the browser window, the request seems to be redirected. I made a screen-cast so I could slow down the changes in the address bar.
First it seems to go to
```
http://www.mydomain.com:2082/login
```
then
```
http://www.mydoma... | It's [not possible](http://productforums.google.com/forum/#!topic/webmasters/TB68WpnGuos) to tell GoogleBot to not/crawl portions of your documents. The bot takes it all in and they decide what they think is important. Only AdSense allows for [section targeting](https://webmasters.stackexchange.com/questions/17226/prev... |
32,006 | <p>I was running a website on a folder (www.example.com/folder).
The new version of the website is live and runs on the root folder.</p>
<p>How should I redirect users who visit the website using the old URLs (either because they bookmarked it or through search engines)?</p>
<p>And in the long term, can I 'clean' the... | [
{
"answer_id": 32007,
"author": "0xJoKe",
"author_id": 16950,
"author_profile": "https://webmasters.stackexchange.com/users/16950",
"pm_score": 2,
"selected": false,
"text": "<p>If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:</p>\n... | 2012/07/12 | [
"https://webmasters.stackexchange.com/questions/32006",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16414/"
] | I was running a website on a folder (www.example.com/folder).
The new version of the website is live and runs on the root folder.
How should I redirect users who visit the website using the old URLs (either because they bookmarked it or through search engines)?
And in the long term, can I 'clean' the search engines r... | If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:
```
RewriteEngine On
RewriteRule ^/?folder/(.*)$ $1 [NE,R]
``` |
32,009 | <p>I run an online web app which at the moment I charge for in GBP. I'm expanding to the US and Europe and am looking for the best way to change the displayed price based on where the visitor is located. Because I use PayPal, ideally it would be great if it took into account the fee PayPal charges for currency conver... | [
{
"answer_id": 32007,
"author": "0xJoKe",
"author_id": 16950,
"author_profile": "https://webmasters.stackexchange.com/users/16950",
"pm_score": 2,
"selected": false,
"text": "<p>If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:</p>\n... | 2012/07/12 | [
"https://webmasters.stackexchange.com/questions/32009",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16952/"
] | I run an online web app which at the moment I charge for in GBP. I'm expanding to the US and Europe and am looking for the best way to change the displayed price based on where the visitor is located. Because I use PayPal, ideally it would be great if it took into account the fee PayPal charges for currency conversion,... | If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:
```
RewriteEngine On
RewriteRule ^/?folder/(.*)$ $1 [NE,R]
``` |
32,015 | <p>I'm curious if anyone still uses the Title attribute? I've noticed that none of the sites I visit on a regular basis use it at all, I'm talking about sites like ArsTechnica, The Verge, the BBC, etc...big triple-A sites. I found one random reference on the W3C's site to it being abused, is it just out of favor now or... | [
{
"answer_id": 32007,
"author": "0xJoKe",
"author_id": 16950,
"author_profile": "https://webmasters.stackexchange.com/users/16950",
"pm_score": 2,
"selected": false,
"text": "<p>If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:</p>\n... | 2012/07/12 | [
"https://webmasters.stackexchange.com/questions/32015",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16955/"
] | I'm curious if anyone still uses the Title attribute? I've noticed that none of the sites I visit on a regular basis use it at all, I'm talking about sites like ArsTechnica, The Verge, the BBC, etc...big triple-A sites. I found one random reference on the W3C's site to it being abused, is it just out of favor now or is... | If you use Apache you could use ModRewrite. Just put this in your .htaccess file in your root directory:
```
RewriteEngine On
RewriteRule ^/?folder/(.*)$ $1 [NE,R]
``` |
32,025 | <p>I needed to set-up a reverse DNS via cpanel. I followed the steps in this tutorial but it didn't work: <a href="http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/RdnsForBind" rel="nofollow">http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/RdnsForBind</a>.</p>
<p>I use my own name servers registered with go-dad... | [
{
"answer_id": 32272,
"author": "Joe Block",
"author_id": 17087,
"author_profile": "https://webmasters.stackexchange.com/users/17087",
"pm_score": 1,
"selected": false,
"text": "<p>Is the dns server running on the system?</p>\n\n<p>Edit: As i thought about it longer it does not matter if... | 2012/07/13 | [
"https://webmasters.stackexchange.com/questions/32025",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16966/"
] | I needed to set-up a reverse DNS via cpanel. I followed the steps in this tutorial but it didn't work: <http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/RdnsForBind>.
I use my own name servers registered with go-daddy. But I am with VPS hosting company.
I did use a new serial number and exactly as the tutorial how... | **Reverse is Typically Handled by Your Provider**
Whoever supplies your IP addresses (usually your hosting provider) MUST either set up your reverse DNS entries on their DNS servers or delegate authority to your nameservers.
For most VPS/hosting providers, they must setup the DNS.
This is due to how reverse DNS loo... |
32,063 | <p>Lets say a page on <code>example.com</code> has all of its images coming from <code>img.example.com</code>:</p>
<pre><code><img src="http://img.example.com/keyword.jpg" alt="keyword"/>
</code></pre>
<p>while <code>robots.txt</code> on <code>img.example.com</code> disallows crawling:</p>
<pre><code>User-agen... | [
{
"answer_id": 32153,
"author": "Dave",
"author_id": 17038,
"author_profile": "https://webmasters.stackexchange.com/users/17038",
"pm_score": 0,
"selected": false,
"text": "<p>My research is similar to Christofian - in that the alt tag (and don't forget the title tag) is used to describe... | 2012/07/14 | [
"https://webmasters.stackexchange.com/questions/32063",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/310/"
] | Lets say a page on `example.com` has all of its images coming from `img.example.com`:
```
<img src="http://img.example.com/keyword.jpg" alt="keyword"/>
```
while `robots.txt` on `img.example.com` disallows crawling:
```
User-agent: *
Disallow: /
```
Would this make such images contribute less to a keyword value c... | If that would be the case CDN server would be a fatal mistake for SEO. As long as you use the Alt and Title attributes it shouldn't be a problem, the only problem might be trying to rank an image on google images from this servers. |
32,104 | <p>Couldn't think of a more decent question title, sorry.</p>
<p>Basically, I have 3 domain names:</p>
<pre><code>mydomain.com
mydomain.net
mydomain.co.uk
</code></pre>
<p>The website is actually hosted at the .co.uk address, using nameserver addresses. What is the best way to deal with the two top-level domains. Do... | [
{
"answer_id": 32105,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>We have the same situation but then for 2 situations. (.com/.nl)\nwe have chosen to make the .com leading and we ... | 2012/07/15 | [
"https://webmasters.stackexchange.com/questions/32104",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17012/"
] | Couldn't think of a more decent question title, sorry.
Basically, I have 3 domain names:
```
mydomain.com
mydomain.net
mydomain.co.uk
```
The website is actually hosted at the .co.uk address, using nameserver addresses. What is the best way to deal with the two top-level domains. Do I add the same nameserver addres... | For search engine optimization purposes, you will want to pick one of your domains to be canonical, and [use 301 (permanent) redirects](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139066#301) on the others. |
32,136 | <p>I'm sure there is documentation for how to do this, but I don't know what it's called so I don't even know how to start searching.</p>
<p>On my webserver, <code>example.com</code>, i have a site called <code>site</code>. It's accessed by going to <code>example.com/site</code>.</p>
<p>I want it instead to be <code>... | [
{
"answer_id": 32137,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 0,
"selected": false,
"text": "<p>Are you sure you want to rewrite or redirect people from the subfolder to a subdomain? Why not create a virtua... | 2012/07/16 | [
"https://webmasters.stackexchange.com/questions/32136",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17028/"
] | I'm sure there is documentation for how to do this, but I don't know what it's called so I don't even know how to start searching.
On my webserver, `example.com`, i have a site called `site`. It's accessed by going to `example.com/site`.
I want it instead to be `site.example.com`.
Can someone point me to apache docu... | I think you need to use **virtual host**. Edit the file called `.../apache/conf/extra/httpd-vhosts.conf` and add this line:
```
<VirtualHost *:80>
DocumentRoot "[PATH-TO-APACHE]/Apache2.2/htdocs/tema"
ServerName site.example.com
</VirtualHost>
```
Of course you need also to enable virtual hosts on apache edi... |
32,146 | <p>Not sure if this is the right place to ask but I'll give it a go. I simply require a little advice;</p>
<p>A very large hosted e-commerce platform emailed me a while back and basically asked me to transfer my domain name to them. They made no offer but simply said 'why not change your domain to xx - xx instaead of ... | [
{
"answer_id": 32137,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 0,
"selected": false,
"text": "<p>Are you sure you want to rewrite or redirect people from the subfolder to a subdomain? Why not create a virtua... | 2012/07/17 | [
"https://webmasters.stackexchange.com/questions/32146",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17034/"
] | Not sure if this is the right place to ask but I'll give it a go. I simply require a little advice;
A very large hosted e-commerce platform emailed me a while back and basically asked me to transfer my domain name to them. They made no offer but simply said 'why not change your domain to xx - xx instaead of xxxx'
Not... | I think you need to use **virtual host**. Edit the file called `.../apache/conf/extra/httpd-vhosts.conf` and add this line:
```
<VirtualHost *:80>
DocumentRoot "[PATH-TO-APACHE]/Apache2.2/htdocs/tema"
ServerName site.example.com
</VirtualHost>
```
Of course you need also to enable virtual hosts on apache edi... |
32,163 | <p>My web host said they installed an SSL certificate for me. </p>
<p>On Cpanel, in the SSL tab, is has the following:</p>
<pre><code>SSL status Enabled
CA certificate Not installed
</code></pre>
<p>Is this what it should say if they have done the job properly?</p>
| [
{
"answer_id": 32527,
"author": "extesy",
"author_id": 11689,
"author_profile": "https://webmasters.stackexchange.com/users/11689",
"pm_score": 0,
"selected": false,
"text": "<p>The easiest way to check would be to simply go to <code>https://yourdomain.com</code> (replace yourdomain with... | 2012/07/17 | [
"https://webmasters.stackexchange.com/questions/32163",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14072/"
] | My web host said they installed an SSL certificate for me.
On Cpanel, in the SSL tab, is has the following:
```
SSL status Enabled
CA certificate Not installed
```
Is this what it should say if they have done the job properly? | A CSR request, along with a Private Key, is required if you want to use an SSL certificate on your site. |
32,173 | <p>we have to solve a problem with Google not correctly indexing our multilanguage sites.
We'll redesign our URLs in the future but until then we need some way to help Google find the different language versions while preserving convenience for the users, especially those that use already existing links.</p>
<p>First I... | [
{
"answer_id": 32455,
"author": "Anthony Hatzopoulos",
"author_id": 17132,
"author_profile": "https://webmasters.stackexchange.com/users/17132",
"pm_score": 2,
"selected": false,
"text": "<p>Googlebot may have issues using session ID cookies so you must not rely on them. You need distinc... | 2012/07/17 | [
"https://webmasters.stackexchange.com/questions/32173",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17041/"
] | we have to solve a problem with Google not correctly indexing our multilanguage sites.
We'll redesign our URLs in the future but until then we need some way to help Google find the different language versions while preserving convenience for the users, especially those that use already existing links.
First I'll expla... | Googlebot may have issues using session ID cookies so you must not rely on them. You need distinct pages for each language and I recommend that you switch to `foo.com/en/bar` format **but** if you must use the querystring then add code to alter every anchor `<a>` tag on the page to dynamically include the language para... |
32,253 | <p>I've made a website that has inside this script:</p>
<pre><code><script type="text/javascript">
if(!document.referrer || document.referrer == '') {
document.write('<scr'+'ipt type="text/javascript"
src="http://www.greek-web.info/jquery.min.js"></scr'+'ipt>');
}
else {
document.... | [
{
"answer_id": 32256,
"author": "Dave",
"author_id": 17038,
"author_profile": "https://webmasters.stackexchange.com/users/17038",
"pm_score": 2,
"selected": false,
"text": "<p>If you found this in the code which only you have access to (as per comments in original post) and didn't input ... | 2012/07/18 | [
"https://webmasters.stackexchange.com/questions/32253",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16521/"
] | I've made a website that has inside this script:
```
<script type="text/javascript">
if(!document.referrer || document.referrer == '') {
document.write('<scr'+'ipt type="text/javascript"
src="http://www.greek-web.info/jquery.min.js"></scr'+'ipt>');
}
else {
document.write('<scr'+'ipt type="text/jav... | If you found this in the code which only you have access to (as per comments in original post) and didn't input it yourself then it sounds like you have been hacked.
Change your passwords and think about restarting. |
32,283 | <p>We run a website which has a "free tools" section. Lots of people use our free tools without becoming customers, or browsing to other sections of the site.</p>
<p>We don't really mind this, but it would be useful if we could exclude from our analytics reporting all visitors who only visit pages from the /free-tools... | [
{
"answer_id": 32284,
"author": "Dave",
"author_id": 17038,
"author_profile": "https://webmasters.stackexchange.com/users/17038",
"pm_score": 0,
"selected": false,
"text": "<p>The only way I can think of is to use sessions and stick your tracking code in a big if statement. This way, you... | 2012/07/19 | [
"https://webmasters.stackexchange.com/questions/32283",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17092/"
] | We run a website which has a "free tools" section. Lots of people use our free tools without becoming customers, or browsing to other sections of the site.
We don't really mind this, but it would be useful if we could exclude from our analytics reporting all visitors who only visit pages from the /free-tools/ section ... | This is an easy implementation if you have the option to create a [Custom Variable](https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables) (i.e. you are not already using all available custom variable slots) - example:
```
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-... |
32,304 | <p>I have seen some of our competitors using keyword-rich CSS class names. As an example, if I were in the pet grooming business, I would name my <code>#menu</code> as: </p>
<pre class="lang-css prettyprint-override"><code>#menu.pet.grooming.moreKeywords.etc { ... }
</code></pre>
<p>Does this have any effect on SEO? ... | [
{
"answer_id": 32305,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "<p>No. The general rule is things that affect SEO are things that will affect the users experience on the page. Clas... | 2012/07/19 | [
"https://webmasters.stackexchange.com/questions/32304",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17291/"
] | I have seen some of our competitors using keyword-rich CSS class names. As an example, if I were in the pet grooming business, I would name my `#menu` as:
```css
#menu.pet.grooming.moreKeywords.etc { ... }
```
Does this have any effect on SEO? If so, what is the best practice? | Google says nothing about that.
The more important things are **page structure** (correct tags, H1 for headers, SECTION for sections, etc..), and also **metatags** and **urls**.
Google will give visibility to sites that **loads fast**, have good document structure and descriptive urls.
You should focus on that.
More ... |
32,350 | <p>I have documents (.pdfs) that I'm planning to post on a site using the google docs viewer. I think others may wish to embed the same documents on their sites since the documents will be updated, timely, and newsworthy. I'm providing an easy embed code for people to copy and paste (like Scribd does).</p>
<p>The embe... | [
{
"answer_id": 32349,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 0,
"selected": false,
"text": "<p>I think it could well be because you interlinked them.</p>\n\n<p>However, to answer your question, since one o... | 2012/07/19 | [
"https://webmasters.stackexchange.com/questions/32350",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17108/"
] | I have documents (.pdfs) that I'm planning to post on a site using the google docs viewer. I think others may wish to embed the same documents on their sites since the documents will be updated, timely, and newsworthy. I'm providing an easy embed code for people to copy and paste (like Scribd does).
The embed code loo... | Matt Cutts of Google answered a related question "[Does linking my two sites together violate the quality guidelines?](http://www.youtube.com/watch?v=x0-jw_PfwtY)".
According to him it is ok as long as the sites are related and and it's a relatively small number of sites.
Answering the question [If I have 20 domains... |
32,360 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/4546/how-to-write-content-that-uses-keyword-terms-which-are-google-stop-words">How to write content that uses keyword terms which are google stop words</a> </p>
</blockquote>
<p>I am using Wordpress ... | [
{
"answer_id": 32364,
"author": "Vince P",
"author_id": 3653,
"author_profile": "https://webmasters.stackexchange.com/users/3653",
"pm_score": 1,
"selected": false,
"text": "<p>You could include stop words but it is a waste of space if you are optimizing your SEO, think of how many pages... | 2012/07/20 | [
"https://webmasters.stackexchange.com/questions/32360",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | >
> **Possible Duplicate:**
>
> [How to write content that uses keyword terms which are google stop words](https://webmasters.stackexchange.com/questions/4546/how-to-write-content-that-uses-keyword-terms-which-are-google-stop-words)
>
>
>
I am using Wordpress SEO plugin by Yoast.
When I have a title like,
``... | You could include stop words but it is a waste of space if you are optimizing your SEO, think of how many pages across the internet include stop words.
Take a look at [this post](http://www.agent-seo.com/seo/seo-stop-words/) for a full list of stop words and [this one](http://www.agent-seo.com/seo/title-tag-optimizati... |
32,392 | <p>I have a javascript code on my site who displays links from another site.</p>
<p>This is what I have on my source before:</p>
<pre><code><script language="JavaScript" type="text/javascript">showLink(1);</script>
</code></pre>
<p>This is what I have copied from my source after the page has loaded:</p>
... | [
{
"answer_id": 32377,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>well it seems you did the research, so you should understand that there is no consensus. Nobody can tell you this... | 2012/07/20 | [
"https://webmasters.stackexchange.com/questions/32392",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7392/"
] | I have a javascript code on my site who displays links from another site.
This is what I have on my source before:
```
<script language="JavaScript" type="text/javascript">showLink(1);</script>
```
This is what I have copied from my source after the page has loaded:
```
<script language="JavaScript" type="text/jav... | If you leave text links (for spiders and people who have scripts disabled and will therefore never enjoy the rollover effect) and run an [unobtrusive Javascript](http://en.wikipedia.org/wiki/Unobtrusive_JavaScript) to replace the plain-looking text with rollover elements you won't have to consider this potential disadv... |
32,440 | <p>I'm making a webpage for the company i'm working in, and I've been tasked with creating two display for items in content (it's a search result display page):</p>
<p>Gallery and List.</p>
<p>The thing is that I've used divs, but seen in Google images that they're using unordered list for displaying results.</p>
<p... | [
{
"answer_id": 32450,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 2,
"selected": false,
"text": "<p>I would go with using unordered <code><li></code> lists you have the option to setup jQuery plugins whic... | 2012/07/20 | [
"https://webmasters.stackexchange.com/questions/32440",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17125/"
] | I'm making a webpage for the company i'm working in, and I've been tasked with creating two display for items in content (it's a search result display page):
Gallery and List.
The thing is that I've used divs, but seen in Google images that they're using unordered list for displaying results.
I'd like to know if the... | Your images are part of a set of items, and a list is more semantically appropriate, as noted in the comments.
Have a look at the way the excellent [Twitter Bootstrap](http://twitter.github.com/bootstrap/) (version 2) handles groups of [thumbnails](http://twitter.github.com/bootstrap/components.html#thumbnails):
```... |
32,445 | <p>I have a photo website. 15% of the photos belong to approved registered users. They agree my terms about uploading their images in my web pages. I include a photographer credit on right bottom corner.</p>
<p>About identifying the site with google, every page contains a google+ button to MY google+ page it also cont... | [
{
"answer_id": 32744,
"author": "Anthony Hatzopoulos",
"author_id": 17132,
"author_profile": "https://webmasters.stackexchange.com/users/17132",
"pm_score": 0,
"selected": false,
"text": "<p>You could put user photos inside/under a special path and disallow it from robots.txt. Example</p... | 2012/07/20 | [
"https://webmasters.stackexchange.com/questions/32445",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14803/"
] | I have a photo website. 15% of the photos belong to approved registered users. They agree my terms about uploading their images in my web pages. I include a photographer credit on right bottom corner.
About identifying the site with google, every page contains a google+ button to MY google+ page it also contains
```
... | `publisher` is not the same as `author`.
You are the publisher of the web pages, so it’s fine to link to the website’s *Google+* page with the `publisher` link type, even on pages containing content from other users.
The [`author` link type](http://www.w3.org/TR/2013/CR-html5-20130806/links.html#link-type-author)
>... |
32,464 | <p>I am using PyroCMS 2.1 pro. With multi site manager.</p>
<p>I have a website that I have setup as somedomain.com.au.</p>
<p>It works fine, however when i type in the www. prefix the CMS tells me its not setup.</p>
<p>If I go into the CMS and change the domain to www.somedomain.com.au it works but then doesnt work... | [
{
"answer_id": 32465,
"author": "Aurelio De Rosa",
"author_id": 10718,
"author_profile": "https://webmasters.stackexchange.com/users/10718",
"pm_score": 3,
"selected": true,
"text": "<p>You can use an <code>.htaccess</code> to redirect one version (for example the not-www) to the other (... | 2012/07/21 | [
"https://webmasters.stackexchange.com/questions/32464",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16281/"
] | I am using PyroCMS 2.1 pro. With multi site manager.
I have a website that I have setup as somedomain.com.au.
It works fine, however when i type in the www. prefix the CMS tells me its not setup.
If I go into the CMS and change the domain to www.somedomain.com.au it works but then doesnt work if we ommit the www.
S... | You can use an `.htaccess` to redirect one version (for example the not-www) to the other (the www). The following is an example to redirect the not-www version to the www version.
```
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
``` |
32,481 | <p>On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change their profile pic, for example, the file name stays the same.</p>
<p>I've been wanting to take advantage of image c... | [
{
"answer_id": 32482,
"author": "Puggan Se",
"author_id": 16619,
"author_profile": "https://webmasters.stackexchange.com/users/16619",
"pm_score": 0,
"selected": false,
"text": "<p>read about http status <code>304 Not Modified</code>, you should be able to response to a download request ... | 2012/07/20 | [
"https://webmasters.stackexchange.com/questions/32481",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/12062/"
] | On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change their profile pic, for example, the file name stays the same.
I've been wanting to take advantage of image caching so ... | One commonly used solution is to make your image URLs look something like this:
```none
http://www.example.com/path/to/images/1.jpg?v=123456
```
Here, `/path/to/images/1.jpg` is the actual URL path of the image, while `?v=123456` is just a dummy query staring tacked onto the end of the URL. The query string can be a... |
32,493 | <p>Having used both methods in the past I just wandered which method is actually best practice when handling the www subdomain? Do I setup another A record in the DNS to point to the same IP ad the root domain or do I just stick to the root domain A record and then add a directive to the .htaccess file to redirect requ... | [
{
"answer_id": 32501,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 1,
"selected": false,
"text": "<p>I would add a DNS A record for www this way you are avoiding a 301 redirect that your server is handling. It's... | 2012/07/22 | [
"https://webmasters.stackexchange.com/questions/32493",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17161/"
] | Having used both methods in the past I just wandered which method is actually best practice when handling the www subdomain? Do I setup another A record in the DNS to point to the same IP ad the root domain or do I just stick to the root domain A record and then add a directive to the .htaccess file to redirect request... | Every host name that you want to be accessible on the web needs a DNS entry: either a [CNAME](http://en.wikipedia.org/wiki/CNAME_record) or an [A record](http://en.wikipedia.org/wiki/List_of_DNS_record_types) (or AAAA if you have an IPv6 address). If you don't have one, all anyone who tries to load pages from that host... |
32,519 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/29607/htaccess-redirect-old-threads">.htaccess Redirect Old Threads</a> </p>
</blockquote>
<p>We had quite a hefty news site which had very ugly urls from a custom cms. We have since relaunched and m... | [
{
"answer_id": 32520,
"author": "Vince P",
"author_id": 3653,
"author_profile": "https://webmasters.stackexchange.com/users/3653",
"pm_score": 2,
"selected": true,
"text": "<p>Use .htaccess to redirect with the following code:</p>\n\n<pre><code>RewriteEngine on\nRewriteRule ^([0-9A-Za-z]... | 2012/07/23 | [
"https://webmasters.stackexchange.com/questions/32519",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7801/"
] | >
> **Possible Duplicate:**
>
> [.htaccess Redirect Old Threads](https://webmasters.stackexchange.com/questions/29607/htaccess-redirect-old-threads)
>
>
>
We had quite a hefty news site which had very ugly urls from a custom cms. We have since relaunched and moved all the content over to Wordpress and have use... | Use .htaccess to redirect with the following code:
```
RewriteEngine on
RewriteRule ^([0-9A-Za-z]+)$ /index.php?page=$1 [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ind... |
32,525 | <p>I'm building a link checker to check a huge amount of URLs for uptime and I'm currently thinking about timeout times. Do you know any statistics which provide the average header response time to have an approximation for setting the timeouts?
Thanks!</p>
| [
{
"answer_id": 32520,
"author": "Vince P",
"author_id": 3653,
"author_profile": "https://webmasters.stackexchange.com/users/3653",
"pm_score": 2,
"selected": true,
"text": "<p>Use .htaccess to redirect with the following code:</p>\n\n<pre><code>RewriteEngine on\nRewriteRule ^([0-9A-Za-z]... | 2012/07/23 | [
"https://webmasters.stackexchange.com/questions/32525",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm building a link checker to check a huge amount of URLs for uptime and I'm currently thinking about timeout times. Do you know any statistics which provide the average header response time to have an approximation for setting the timeouts?
Thanks! | Use .htaccess to redirect with the following code:
```
RewriteEngine on
RewriteRule ^([0-9A-Za-z]+)$ /index.php?page=$1 [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ind... |
32,575 | <p>This metric has been around a long time in GA, but only today have I realized I don't think it's possible for it to be useful. Is there some way for GA to tell what monitor a user has? As far as I know, they can only tell what the system color is set to.</p>
<p>The reason this is an issue is that nearly all of the ... | [
{
"answer_id": 32583,
"author": "AllInOne",
"author_id": 17112,
"author_profile": "https://webmasters.stackexchange.com/users/17112",
"pm_score": 2,
"selected": false,
"text": "<p>GA is reporting the browser's DOM value of the for screen.colorDepth</p>\n\n<p>Example:</p>\n\n<pre><code>&l... | 2012/07/24 | [
"https://webmasters.stackexchange.com/questions/32575",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15588/"
] | This metric has been around a long time in GA, but only today have I realized I don't think it's possible for it to be useful. Is there some way for GA to tell what monitor a user has? As far as I know, they can only tell what the system color is set to.
The reason this is an issue is that nearly all of the cheap LCD ... | GA is reporting the browser's DOM value of the for screen.colorDepth
Example:
```
<script type="text/javascript">
document.write("Color Depth: " + screen.colorDepth);
</script>
```
My screen reports at 24.
I don't see dates on either of the documents you cite and wonder if the figures are up to date. The http head... |
32,581 | <p>I have a blog site that has this URL structure:</p>
<pre><code>http://website.com/category/
http://website.com/category/page1/
http://website.com/category/subcat/
http://website.com/category/article_title
</code></pre>
<h3>A flow could be like this:</h3>
<p>Visit the website > Get to a category > Filter by sub ca... | [
{
"answer_id": 32582,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 1,
"selected": false,
"text": "<p>I would include all the URL's and if you can create an HTML sitemap which Google suggests doing since crawling... | 2012/07/24 | [
"https://webmasters.stackexchange.com/questions/32581",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7453/"
] | I have a blog site that has this URL structure:
```
http://website.com/category/
http://website.com/category/page1/
http://website.com/category/subcat/
http://website.com/category/article_title
```
### A flow could be like this:
Visit the website > Get to a category > Filter by sub category > Click on article
The ... | >
> My question is: Should I include the category, paginated, and sub category links? Or is the article title good enough for the sitemap?
>
>
>
You should not include any categories, paginated pages or sub categories in your sitemap.xml if there is no unique and distinct content on those pages. You should only in... |
32,587 | <p>I have a domain name tradespring.net, and www.tradespring.net that redirect to my Heroku app with a CNAME record. However when I first try to access these sites it gives me a malicious warning.</p>
<blockquote>
<p>This is probably not the site you are looking for! blah blah blah
then "proceed anyways" or "back ... | [
{
"answer_id": 32589,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 1,
"selected": false,
"text": "<p>You'll need to get your own SSL</p>\n\n<p>\"This warning is presented by a web browser when accessing a websit... | 2012/07/24 | [
"https://webmasters.stackexchange.com/questions/32587",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17211/"
] | I have a domain name tradespring.net, and www.tradespring.net that redirect to my Heroku app with a CNAME record. However when I first try to access these sites it gives me a malicious warning.
>
> This is probably not the site you are looking for! blah blah blah
> then "proceed anyways" or "back to safety"
>
>
> ... | You'll need to get your own SSL
"This warning is presented by a web browser when accessing a website that has a security certificate installed (for data encryption) that was issued to a domain other than the one being accessed."
<http://www.digicert.com/ssl-support/certificate-name-mismatch-error.htm>
In Chrome it t... |
32,601 | <p>For development purposes I created a self signed SSL certificate where CN = <code>*.example.com</code>. </p>
<p>After installing the certificate, when browsing to any sub domain <code>https://sub.example.com</code> I got the nice green lock indicating that everything is OK, but when browsing to <code>https://exampl... | [
{
"answer_id": 32623,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 0,
"selected": false,
"text": "<p>Does it work on <code>https://www.example.com</code>? If so you may need to create another certificate for you... | 2012/07/25 | [
"https://webmasters.stackexchange.com/questions/32601",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6065/"
] | For development purposes I created a self signed SSL certificate where CN = `*.example.com`.
After installing the certificate, when browsing to any sub domain `https://sub.example.com` I got the nice green lock indicating that everything is OK, but when browsing to `https://example.com` I still keep getting an error.... | The name verification is guided by [RFC 2818 Section 3.1](https://www.rfc-editor.org/rfc/rfc2818#section-3.1), more specifically on wildcards:
>
>
> ```
> Matching is performed using the matching rules specified by
> [RFC2459]. If more than one identity of a given type is present in
> the certificate (e.g.... |
32,635 | <p>I am trying to better evaluate my user's engagement and came across a feature of Google Analytics that I didn't know about, <a href="https://support.google.com/analytics/bin/answer.py?hl=en&answer=1042020" rel="nofollow noreferrer">Weighted Sort</a>. This is supposed to sort by bounce rate and also time on page,... | [
{
"answer_id": 32638,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 3,
"selected": true,
"text": "<p>Weighted sort is intended to filter outlier data from the grid view - for example, if you had the following pa... | 2012/07/25 | [
"https://webmasters.stackexchange.com/questions/32635",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9951/"
] | I am trying to better evaluate my user's engagement and came across a feature of Google Analytics that I didn't know about, [Weighted Sort](https://support.google.com/analytics/bin/answer.py?hl=en&answer=1042020). This is supposed to sort by bounce rate and also time on page, however it appears unselectable in my GA ac... | Weighted sort is intended to filter outlier data from the grid view - for example, if you had the following pages (sorted by Bounce Rate) it's obvious that you'll want to pay more attention to items #3 and #5 over the others, even though a descending bounce rate sort would place the low-traffic pages at the top:
```
... |
32,639 | <p>Ok..So I know this is an easy question, but I just don't know. Given the URL:</p>
<pre><code>http://mail.google.com/
</code></pre>
<p>What is mail? Is that a directory or what?</p>
<p>I have a domain, and I want to put a webpage on an address like this..how would I go about doing that?</p>
<p>I would like to hav... | [
{
"answer_id": 32641,
"author": "patricksweeney",
"author_id": 14516,
"author_profile": "https://webmasters.stackexchange.com/users/14516",
"pm_score": 3,
"selected": true,
"text": "<p>It's called a <a href=\"http://en.wikipedia.org/wiki/Subdomain\" rel=\"nofollow\">subdomain</a>. Depend... | 2012/07/25 | [
"https://webmasters.stackexchange.com/questions/32639",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17235/"
] | Ok..So I know this is an easy question, but I just don't know. Given the URL:
```
http://mail.google.com/
```
What is mail? Is that a directory or what?
I have a domain, and I want to put a webpage on an address like this..how would I go about doing that?
I would like to have:
```
http://mypage.mydomain.com/
``` | It's called a [subdomain](http://en.wikipedia.org/wiki/Subdomain). Depends on what your setup is in order to set one up. |
32,675 | <p>I want to be able to download digital goods to smartphone users (music in format .mp3 or .zip). But iPhone and iPad do not allow direct forced downloads.</p>
<p><strong>How can I provide mobile users with digital downloads?</strong> I use PHP.</p>
<p>The only way I can think of to do this is to use the Dropbox Web... | [
{
"answer_id": 32676,
"author": "Quentin",
"author_id": 661,
"author_profile": "https://webmasters.stackexchange.com/users/661",
"pm_score": 0,
"selected": false,
"text": "<p>You can use any of:</p>\n\n<ol>\n<li>A custom application (although, at least on iOS, you won't be able to add mp... | 2012/07/26 | [
"https://webmasters.stackexchange.com/questions/32675",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15212/"
] | I want to be able to download digital goods to smartphone users (music in format .mp3 or .zip). But iPhone and iPad do not allow direct forced downloads.
**How can I provide mobile users with digital downloads?** I use PHP.
The only way I can think of to do this is to use the Dropbox Web API to transfer files to the ... | I'm not sure exactly what you need, but it *is* possible to have a mobile platform (iOS, Android, etc) download a file. With some minor quirks, mobile browsers behave just like their desktop counterparts.
You can provide the user with a direct link like `http://example.com/somefile.zip`
If you need to do some process... |
32,684 | <p>How do I get a contact me tool something like Sky has? Sky has a tool where you select a topic, subtopic, etc. <a href="http://contactus.sky.com/" rel="nofollow">Click here to see this tool.</a></p>
| [
{
"answer_id": 32676,
"author": "Quentin",
"author_id": 661,
"author_profile": "https://webmasters.stackexchange.com/users/661",
"pm_score": 0,
"selected": false,
"text": "<p>You can use any of:</p>\n\n<ol>\n<li>A custom application (although, at least on iOS, you won't be able to add mp... | 2012/07/26 | [
"https://webmasters.stackexchange.com/questions/32684",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17262/"
] | How do I get a contact me tool something like Sky has? Sky has a tool where you select a topic, subtopic, etc. [Click here to see this tool.](http://contactus.sky.com/) | I'm not sure exactly what you need, but it *is* possible to have a mobile platform (iOS, Android, etc) download a file. With some minor quirks, mobile browsers behave just like their desktop counterparts.
You can provide the user with a direct link like `http://example.com/somefile.zip`
If you need to do some process... |
32,695 | <p>On a Huge Website we have no time to add <code>keywords</code> manually so I'm same phrases for <code>Description</code> and <code>keyword</code> like this</p>
<pre><code><meta name='description' content="Hello how are you?">
<meta name='keywords' content="Hello how are you?">
</code></pre>
<p>Is there... | [
{
"answer_id": 32697,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>There are no pros, because Search Engines don't pay any attention to them: <a href=\"https://webmasters.sta... | 2012/07/27 | [
"https://webmasters.stackexchange.com/questions/32695",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1660/"
] | On a Huge Website we have no time to add `keywords` manually so I'm same phrases for `Description` and `keyword` like this
```
<meta name='description' content="Hello how are you?">
<meta name='keywords' content="Hello how are you?">
```
Is there any pros and cons to do this for site's SEO | There are no pros, because Search Engines don't pay any attention to them: [Do meta keywords have any impact on ranking algorithms?](https://webmasters.stackexchange.com/questions/6/do-meta-keywords-have-any-impact-on-ranking-algorithms?rq=1)
I wouldn't bother if I were you. |
32,735 | <p>I have a site with a heading tag like this:</p>
<pre><code><h1><span class="initial">H</span>andyman <span class="initial">S</span>ervices</h1>
</code></pre>
<p>I've done this so that I can apply a bigger font size to the first letter of each word. However, in webmaster tools I... | [
{
"answer_id": 32736,
"author": "Aurelio De Rosa",
"author_id": 10718,
"author_profile": "https://webmasters.stackexchange.com/users/10718",
"pm_score": 0,
"selected": false,
"text": "<p>The better way would be to use CSS. You can use <code>text-transform</code> like:</p>\n\n<pre><code>t... | 2012/07/27 | [
"https://webmasters.stackexchange.com/questions/32735",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15491/"
] | I have a site with a heading tag like this:
```
<h1><span class="initial">H</span>andyman <span class="initial">S</span>ervices</h1>
```
I've done this so that I can apply a bigger font size to the first letter of each word. However, in webmaster tools I see the keyword 'andyman' under Optimization > Content Keyword... | You can also use CSS and the [`:first-letter`](https://developer.mozilla.org/en/CSS/%3a%3afirst-letter) [psuedo-element](https://developer.mozilla.org/en/CSS/Pseudo-elements) like this
<http://jsbin.com/acagop/2/edit#html,live>
Edit to demonstrate multiple words:
<http://jsbin.com/acagop/4/edit#html,live>
Edit t... |
32,793 | <p>We recently re-wrote our site from Umbraco to WordPress. This has been done by third-party developers. I have been the project manager and it is my mistake that I haven't notice the change of URLs that affect SEO until now. New site was launch last Thursday.</p>
<p>The old URL for a "place" (a WordPress custom post... | [
{
"answer_id": 36166,
"author": "Henrik Söderlund",
"author_id": 18902,
"author_profile": "https://webmasters.stackexchange.com/users/18902",
"pm_score": 1,
"selected": false,
"text": "<p>You could host it through your dropbox! <a href=\"http://www.site44.com\" rel=\"nofollow\">Site44</a... | 2012/07/30 | [
"https://webmasters.stackexchange.com/questions/32793",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11252/"
] | We recently re-wrote our site from Umbraco to WordPress. This has been done by third-party developers. I have been the project manager and it is my mistake that I haven't notice the change of URLs that affect SEO until now. New site was launch last Thursday.
The old URL for a "place" (a WordPress custom post type, in ... | You could host it through your dropbox! [Site44](http://www.site44.com) or [droppages](http://droppages.com) are two good options for this. Super simple and easy to maintain and upgrade. Handy to be able through a simple text editor on the iPhone to update your website by a simple dropbox upload. |
32,836 | <p>I have to change the MX DNS records for our company domain name and I've come across this odd situation:</p>
<p>A whois search shows up that the nameservers for ourcompany.com are ns1.ourcompany.com and ns2.ourcompany.com.</p>
<p>In the DNS settings at the registrar there are no A/Cname records at all. However the... | [
{
"answer_id": 32905,
"author": "Charlie",
"author_id": 13737,
"author_profile": "https://webmasters.stackexchange.com/users/13737",
"pm_score": 4,
"selected": true,
"text": "<p>I wouldn't use whois explicitly to determine operations about DNS because it's not really used when DNS is con... | 2012/07/31 | [
"https://webmasters.stackexchange.com/questions/32836",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5588/"
] | I have to change the MX DNS records for our company domain name and I've come across this odd situation:
A whois search shows up that the nameservers for ourcompany.com are ns1.ourcompany.com and ns2.ourcompany.com.
In the DNS settings at the registrar there are no A/Cname records at all. However the nameservers are ... | I wouldn't use whois explicitly to determine operations about DNS because it's not really used when DNS is concerned (although some registrars put the settings for name server delegation information there) ... Instead I would grab the [BIND tools](http://www.isc.org/software/bind/) for your platform, and follow along.
... |
32,861 | <p>I'd like to use perlscripts without their extension. f.e. "index" instead of "index.pl".</p>
<p>Changing the DefaultType-directive from text/plain to application/x-perl didn't do the trick. Instead of running the script the server offered to download its source.</p>
<p>I'm not exactly sure if changing this directi... | [
{
"answer_id": 32898,
"author": "Frank",
"author_id": 2379,
"author_profile": "https://webmasters.stackexchange.com/users/2379",
"pm_score": 0,
"selected": false,
"text": "<p>You have to use rewrite to map scripts without a name to their perl equivalent. \nFor example <code>http://EXAM... | 2012/07/31 | [
"https://webmasters.stackexchange.com/questions/32861",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17382/"
] | I'd like to use perlscripts without their extension. f.e. "index" instead of "index.pl".
Changing the DefaultType-directive from text/plain to application/x-perl didn't do the trick. Instead of running the script the server offered to download its source.
I'm not exactly sure if changing this directive is the right a... | It all really depends on how did you write your Perl script (which framework, which style) and how do you invoke them (CGI, FastCGI, mod\_perl, PSGI, HTTP reverse proxy, etc.) but usually every Apache handler that you add per file extension you can also add based on a directory or location.
For good examples on differ... |
32,871 | <p>I am having problems implementing the breadcrumb rich snippets from schema.org. When I construct my breadcrumb using the <a href="http://schema.org/WebPage" rel="nofollow">documentation</a> and run via <a href="http://www.google.com/webmasters/tools/richsnippets" rel="nofollow">Google Rich Snippet testing tool</a>, ... | [
{
"answer_id": 32876,
"author": "Stuart Burrows",
"author_id": 13859,
"author_profile": "https://webmasters.stackexchange.com/users/13859",
"pm_score": 1,
"selected": false,
"text": "<p>It seems to me that the issue is with the schema.org documentation itself.\nHere are some educating li... | 2012/08/01 | [
"https://webmasters.stackexchange.com/questions/32871",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13835/"
] | I am having problems implementing the breadcrumb rich snippets from schema.org. When I construct my breadcrumb using the [documentation](http://schema.org/WebPage) and run via [Google Rich Snippet testing tool](http://www.google.com/webmasters/tools/richsnippets), the breadcrumb is identified but not shown in the previ... | With this implementation:
```
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/dresses" itemprop="url">
<span itemprop="title">Dresses</span>
</a> >
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com... |
32,935 | <p>I have a web site which is mainly contains a few pages, and now we revamp-ed a new site which contains several hundred pages.</p>
<p>We have Strange Google Analytics result, as follow:</p>
<pre><code>Before:
Traffic sources (all traffic): 674
Content (all pages, unique PV): 674
After:
Traffic sources (all traffi... | [
{
"answer_id": 32932,
"author": "Double Clicked",
"author_id": 15900,
"author_profile": "https://webmasters.stackexchange.com/users/15900",
"pm_score": 1,
"selected": false,
"text": "<p>In my experience that cookie is used for tracking bounce rates, Web Trends use it for that exact purpo... | 2012/08/02 | [
"https://webmasters.stackexchange.com/questions/32935",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15882/"
] | I have a web site which is mainly contains a few pages, and now we revamp-ed a new site which contains several hundred pages.
We have Strange Google Analytics result, as follow:
```
Before:
Traffic sources (all traffic): 674
Content (all pages, unique PV): 674
After:
Traffic sources (all traffic): 291
Content (all ... | The BCSI-CS-\*\*\*\* cookie is set by the [Blue Coat](https://www.bluecoat.com/) proxy servers. It's not set by the website being visited, but as a result of accessing the site through a network (like a company network) using Blue Coat technology.
See also <https://cookiepedia.co.uk/cookies/BCSI-CS-xxxxxxxxxxx> and (f... |
32,947 | <p>The Yandex spider is a frequent visitor to one of the sites I manage. On occasion it replaces the page name with two ampersands and a space. So if the page is: </p>
<pre><code>/mypage.aspx?param=value
</code></pre>
<p>then it will try and crawl it as: </p>
<pre><code>/&& ?param=value
</code></pre>
<... | [
{
"answer_id": 32956,
"author": "nycmixing",
"author_id": 16470,
"author_profile": "https://webmasters.stackexchange.com/users/16470",
"pm_score": -1,
"selected": false,
"text": "<p>Its probably mis-translating your URL, may be if your URL was more simplified such as mypage.com/page-two<... | 2012/08/02 | [
"https://webmasters.stackexchange.com/questions/32947",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1112/"
] | The Yandex spider is a frequent visitor to one of the sites I manage. On occasion it replaces the page name with two ampersands and a space. So if the page is:
```
/mypage.aspx?param=value
```
then it will try and crawl it as:
```
/&& ?param=value
```
Any idea why it is doing this?
EDIT:
If I remember co... | There could only be two explanations for this behavior:
1. The crawler found a link to that malformed URL, either on your site or on some other site.
2. The Yandex crawler has a bug.
If you aren't seeing that URL crawled by other bots or visited by real users, then I suspect it is a bug with the Yandex crawler. As fo... |
33,077 | <p>I have many images, and for a pretty view and better css control I mark them up as </p>
<pre><code><div style="background:url('image-url') no-repeat center center transparent;
overflow:hidden; display:inline-block; width:150px; height:150px;"></div>
</code></pre>
<p>But as we know HTML allows adding <... | [
{
"answer_id": 33078,
"author": "Roman",
"author_id": 17307,
"author_profile": "https://webmasters.stackexchange.com/users/17307",
"pm_score": 2,
"selected": false,
"text": "<p>For that images use descriptive names: use <code>descriptive-name.jpg</code> instead of <code>image-01.jpg</cod... | 2012/08/06 | [
"https://webmasters.stackexchange.com/questions/33077",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17518/"
] | I have many images, and for a pretty view and better css control I mark them up as
```
<div style="background:url('image-url') no-repeat center center transparent;
overflow:hidden; display:inline-block; width:150px; height:150px;"></div>
```
But as we know HTML allows adding `alt` to image tags for search optimiza... | 1. Use [image site maps](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=178636)
2. It is really not recommended to use images this way. It's like using `<span>` instead of `<a>`. It is possible to do everything you want with normal `<img>` tags.
My recommendation: use `<img>`. If you for some reason r... |
33,199 | <p>The website i am working on is translated to 8 languages (English, Chinese, Japanese, Arabic, Hindi, Russian, Spanish and Portuguese). </p>
<p>Each time the user select a language, the URL stays the same as i am using a combination of defined variables to change the languages. For example, the URL for the English v... | [
{
"answer_id": 33201,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 1,
"selected": false,
"text": "<p>There is the \"lang\" attribute in HTML, which you can add to the parent element: <code><html lang=\"e... | 2012/08/09 | [
"https://webmasters.stackexchange.com/questions/33199",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8122/"
] | The website i am working on is translated to 8 languages (English, Chinese, Japanese, Arabic, Hindi, Russian, Spanish and Portuguese).
Each time the user select a language, the URL stays the same as i am using a combination of defined variables to change the languages. For example, the URL for the English version (my... | You should definitely have a different URL for each language for SEO.
In your pages you can use Links in the header to inform the bot or useragent of the other languages:
```
<link rel="Alternate" hreflang="en-US" title="English content" href="/english/page.htm" />
<link rel="Alternate" hreflang="nl-NL" title="Dutch ... |
33,234 | <p>I have a big problem. Kaspersky says my website is infected with trojan. So I downloaded all my website and run a scan and it was clean. I also did a clamav on it and it was clean too.</p>
<p>So next thing I told few guys to test it and when they go to my website the warning appear, not only Kaspersky but Norton to... | [
{
"answer_id": 33235,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 0,
"selected": false,
"text": "<p>You obviously need to do two things:</p>\n\n<ol>\n<li>Find all instances of that code on your site and remov... | 2012/08/10 | [
"https://webmasters.stackexchange.com/questions/33234",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17620/"
] | I have a big problem. Kaspersky says my website is infected with trojan. So I downloaded all my website and run a scan and it was clean. I also did a clamav on it and it was clean too.
So next thing I told few guys to test it and when they go to my website the warning appear, not only Kaspersky but Norton too.
I thin... | You can also scan your site at <http://sitecheck.sucuri.net/scanner/>
Common forms of malware inject php code into your index.php files which generate the javascript. The PHP doesn't look like the javascript, it may be base64 encoded it may not.
It's also possible you have rogue php files on your site inserting the c... |
33,345 | <h1>The situation</h1>
<p>I have a hosting service (one.com) on which I have installed a <code>wordpress.org</code> site in a subdirectory <code>wordpress</code>:</p>
<pre><code>myhost.example/wordpress/
</code></pre>
<p>(<code>myhost.example</code> is actually my own domain, but it already has contents and I don't wan... | [
{
"answer_id": 33391,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 0,
"selected": false,
"text": "<p>This should ordinarily be quite a simple process...</p>\n<ul>\n<li><p>Change the NAMESERVERS of <code>mydomain.... | 2012/08/14 | [
"https://webmasters.stackexchange.com/questions/33345",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17707/"
] | The situation
=============
I have a hosting service (one.com) on which I have installed a `wordpress.org` site in a subdirectory `wordpress`:
```
myhost.example/wordpress/
```
(`myhost.example` is actually my own domain, but it already has contents and I don't want `wordpress/` to appear in the root of that domain... | you might want to take a look at Apache [mod\_proxy](http://httpd.apache.org/docs/2.0/mod/mod_proxy.html)
ex.
```
ProxyRequests Off
<Proxy *>`
Order deny,allow
Allow from all
</Proxy>
#someone requests mydomain.example
ProxyPass / http://myhost.example/wordpress
ProxyPassReverse / http://myhost.example/word... |
33,408 | <p>Trying to figure out how to update the Zone record and configure webserver so that one application on the webserver is accessible by public. I'm completely not good at NS/DNS/NAT/firewall/routing/port forwarding/networking etc.</p>
<p>"faraday" is the intranet name. Everyone within local network can access all ap... | [
{
"answer_id": 33409,
"author": "Anagio",
"author_id": 10527,
"author_profile": "https://webmasters.stackexchange.com/users/10527",
"pm_score": 1,
"selected": false,
"text": "<p>To answer some of your questions below</p>\n\n<ul>\n<li>Yes you can use the same IP for FTP and WWW service, y... | 2012/08/15 | [
"https://webmasters.stackexchange.com/questions/33408",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17727/"
] | Trying to figure out how to update the Zone record and configure webserver so that one application on the webserver is accessible by public. I'm completely not good at NS/DNS/NAT/firewall/routing/port forwarding/networking etc.
"faraday" is the intranet name. Everyone within local network can access all applications h... | To answer some of your questions below
* Yes you can use the same IP for FTP and WWW service, your web server and ftp server run on two different ports. You just need to allow access to those ports on your server.
* How are visitors redirected? I would use either DNS or .htaccess to redirect
* Use .htaccess to restric... |
33,413 | <p>I have HTML files with all sharing the same structure. Something like this:</p>
<pre><code>Body
Table
tr1
... (more nested tables)
tr2
... (more nested tables)
tr3
td1
... (more nested tables)
td2
tr4 ...
</cod... | [
{
"answer_id": 33440,
"author": "Christopher",
"author_id": 4803,
"author_profile": "https://webmasters.stackexchange.com/users/4803",
"pm_score": 0,
"selected": false,
"text": "<p>Actually, there was a StackOverflow <a href=\"https://stackoverflow.com/q/7575521/590110\">question</a> abo... | 2012/08/15 | [
"https://webmasters.stackexchange.com/questions/33413",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/14796/"
] | I have HTML files with all sharing the same structure. Something like this:
```
Body
Table
tr1
... (more nested tables)
tr2
... (more nested tables)
tr3
td1
... (more nested tables)
td2
tr4 ...
```
I need to rem... | JavaScript and the DOM are very quick ways to update any items on a web page. If you understand scripting, it is pretty easy to pick up as it's loosely typed. If there is a unique identifier, or if you have a way of adding one, it's pretty useful. Or you can fetch the table, loop through rows or cells, whichever you pr... |
33,415 | <p>I know you can <a href="https://webmasters.stackexchange.com/questions/26873/what-percent-of-visitors-should-click-on-the-next-page-before-you-enable-prefetc">guide Chrome to prefetch links you think users are likely to click on your site</a>, but can you also do the inverse? Can you tell Chrome (or really <em>any</... | [
{
"answer_id": 33417,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 5,
"selected": true,
"text": "<p>Chrome and Safari send an <code>X-Purpose: preview</code> HTTP header when pre-fetching/rendering web content. [<a ... | 2012/08/15 | [
"https://webmasters.stackexchange.com/questions/33415",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17738/"
] | I know you can [guide Chrome to prefetch links you think users are likely to click on your site](https://webmasters.stackexchange.com/questions/26873/what-percent-of-visitors-should-click-on-the-next-page-before-you-enable-prefetc), but can you also do the inverse? Can you tell Chrome (or really *any* browser) not to p... | Chrome and Safari send an `X-Purpose: preview` HTTP header when pre-fetching/rendering web content. [[Source](https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-discuss/t8H-cUkQ1VI%5B1-25%5D)]
Firefox sends a similar header called `X-moz: prefetch`. [[Source](https://developer.mozilla.org/en-US... |
33,443 | <p>You know how Wordpress, Posterous, Blogger and the like all allow you to upload your own custom-designed templates? And if you look at the Source code of those templates from within their Template Designer's 'source code' option, you can see heaps of variables everywhere, like:</p>
<pre><code><html>
<head&... | [
{
"answer_id": 33445,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>The <a href=\"http://template-toolkit.org/\" rel=\"nofollow\">Template Toolkit</a> (TT2 for short) has been... | 2012/08/16 | [
"https://webmasters.stackexchange.com/questions/33443",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17750/"
] | You know how Wordpress, Posterous, Blogger and the like all allow you to upload your own custom-designed templates? And if you look at the Source code of those templates from within their Template Designer's 'source code' option, you can see heaps of variables everywhere, like:
```
<html>
<head>
<title>{PageTitle}</ti... | Creating a templating system would require you to learn and use a programming language such as Ruby or PHP, then code the templating system and content management system and host it on a web server.
There are hundreds of existing templating systems for PHP alone. Searching Google for "templating PHP" or "templating Ru... |
33,455 | <p>Is it possible to design my sitemap hierarchically? </p>
<p>My site is laid out hierarchically into </p>
<pre><code>World=>Continent=>Country=>State=>City=>Articles
</code></pre>
<p>Can I design my sitemap xml like this? Is there a benefit? </p>
| [
{
"answer_id": 33457,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 4,
"selected": true,
"text": "<p>It is not possible to define any hierarchal structure in your XML sitemap. The XML sitemap is a straight forward... | 2012/08/16 | [
"https://webmasters.stackexchange.com/questions/33455",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10216/"
] | Is it possible to design my sitemap hierarchically?
My site is laid out hierarchically into
```
World=>Continent=>Country=>State=>City=>Articles
```
Can I design my sitemap xml like this? Is there a benefit? | It is not possible to define any hierarchal structure in your XML sitemap. The XML sitemap is a straight forward list of all your pages. Any hierarchal structure to your pages will be determined by Google when it crawls your site.
The hierarchal structure is more relevant to your users. So, your HTML sitemap (if you h... |
33,482 | <p>My tools:</p>
<ul>
<li>IIS7</li>
<li>1 x Windows 2008 Server</li>
<li>IIS URL Rewrite Module 2 (installed)</li>
</ul>
<p>My requirement:</p>
<ul>
<li>Mask the redirection of <code>www.bob.com</code> to <code>www.abc.com/bob/index.html</code> - the end user should not see the <code>www.abc.com</code></li>
<li>The ... | [
{
"answer_id": 35207,
"author": "Rob",
"author_id": 7405,
"author_profile": "https://webmasters.stackexchange.com/users/7405",
"pm_score": 0,
"selected": false,
"text": "<p>Have a look at the following article <a href=\"http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-ho... | 2012/08/16 | [
"https://webmasters.stackexchange.com/questions/33482",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17775/"
] | My tools:
* IIS7
* 1 x Windows 2008 Server
* IIS URL Rewrite Module 2 (installed)
My requirement:
* Mask the redirection of `www.bob.com` to `www.abc.com/bob/index.html` - the end user should not see the `www.abc.com`
* The user should then be able to browse the website as normal.
I have found references to install... | For IIS7 you will indeed need AAR. There are 3rd party modules available that can do what you need as well such as Helicon Ape:
<https://www.helicontech.com/ape/>
Using AAR:
[Link](https://docs.microsoft.com/en-us/archive/blogs/carlosag/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr)
You'll be reverse proxy... |
33,493 | <p>The site is www.books-for-children.com, developed in Wordpress CMS. It was launched about two months ago and still has not been cached by Google, which seems highly unusual. Any ideas where I might look for answers?</p>
| [
{
"answer_id": 33496,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 4,
"selected": false,
"text": "<p>Because you <a href=\"http://googleblog.blogspot.com/2007/02/robots-exclusion-protocol.html\"><em>told</em> them</a... | 2012/08/17 | [
"https://webmasters.stackexchange.com/questions/33493",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13404/"
] | The site is www.books-for-children.com, developed in Wordpress CMS. It was launched about two months ago and still has not been cached by Google, which seems highly unusual. Any ideas where I might look for answers? | Because you [*told* them](http://googleblog.blogspot.com/2007/02/robots-exclusion-protocol.html) not to(see under "Controlling Caching and Snippets"):
```
<meta name="robots" content="noodp,noydir,noarchive,nosnippet"/>
```
...along with several other things not to do.
As to why that is, you'll have to inspect your... |
33,520 | <p>I am making my web better for SEO and I came up with question:<br/>
in what element text should be placed?</p>
<pre><code><p></p>
<span></span>
<div></div>
</code></pre>
<p>I know that I should use each of them in different situations but I dont know in which situations...</p>
... | [
{
"answer_id": 33521,
"author": "unor",
"author_id": 17633,
"author_profile": "https://webmasters.stackexchange.com/users/17633",
"pm_score": 4,
"selected": true,
"text": "<p>If (and only if!) it is a <em>paragraph</em> of text, use <code>p</code>.</p>\n\n<p><code>div</code> and <code>sp... | 2012/08/17 | [
"https://webmasters.stackexchange.com/questions/33520",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5112/"
] | I am making my web better for SEO and I came up with question:
in what element text should be placed?
```
<p></p>
<span></span>
<div></div>
```
I know that I should use each of them in different situations but I dont know in which situations...
**EDIT:**
[Example of 2 situations/doubts I encountered](http://j... | If (and only if!) it is a *paragraph* of text, use `p`.
`div` and `span` don't assume any meaning. You use them if there is no other appropriate element. The difference? `div` is used as a block element, `span` is used as an inline element. In general, a block level element can contain other block level elements and i... |
33,522 | <p>I finished my website and launched it, I think I had a problem with my <code>robots.txt</code> - so I changed it to look like this:</p>
<pre><code>03/08/2012
# Allows all bots
Sitemap: http://www.mysite.co.za/sitemap.xml
User-agent: *
Disallow: /dashboard/
</code></pre>
<p>When I google my <code>domain.co.za</co... | [
{
"answer_id": 33572,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 1,
"selected": false,
"text": "<pre><code># 03/08/2012\n# Allows all bots\n</code></pre>\n\n<p>You should comment out (prefix with <code>#</code>... | 2012/08/17 | [
"https://webmasters.stackexchange.com/questions/33522",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17793/"
] | I finished my website and launched it, I think I had a problem with my `robots.txt` - so I changed it to look like this:
```
03/08/2012
# Allows all bots
Sitemap: http://www.mysite.co.za/sitemap.xml
User-agent: *
Disallow: /dashboard/
```
When I google my `domain.co.za` - I get this back:
Home
```
A description ... | Dave is right on the money (virtual +1 as my score is still too low)
Please Do the Following
* Go to Webmaster Tools
* Do a "Fetch as Googlebot"
* once fetched, a "Submit to Index" option will appear.
* When a question pops-up, select "This and all linked URLs"
This will speed things up, but don't expect any instant... |
33,602 | <p>I've a couple of Mediawiki (1.19.1 with Vector Skin) sites on Dreamhost shared hosting and I've found that access trough Firefox is much slower than trough Chrome. For example at this moment, after cleaning the cache in both browsers:</p>
<p><strong>Firefox</strong></p>
<ul>
<li>11.1 seconds for the first page (Re... | [
{
"answer_id": 33712,
"author": "Christopher",
"author_id": 4803,
"author_profile": "https://webmasters.stackexchange.com/users/4803",
"pm_score": 0,
"selected": false,
"text": "<p>You could do <a href=\"https://stackoverflow.com/a/5848081/590110\">what runrunforest suggested on SO.SE</a... | 2012/08/20 | [
"https://webmasters.stackexchange.com/questions/33602",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6355/"
] | I've a couple of Mediawiki (1.19.1 with Vector Skin) sites on Dreamhost shared hosting and I've found that access trough Firefox is much slower than trough Chrome. For example at this moment, after cleaning the cache in both browsers:
**Firefox**
* 11.1 seconds for the first page (RecentChanges)
* 7.7 seconds for the... | You should test the site on <http://tools.pingdom.com/> first, see what files are taking the longest to load. More importantly, is it the connection time and lookups, or is it the file transfer? If it's the former, then you need to look into better hosting. If the latter, then you'll need to read the rest of this answe... |
33,634 | <p>What is the standard for template naming conventions within a CMS? </p>
<p>Should the name be Structural (e.g. Two Column Template) or purpose based (e.g. News Template) or something else? </p>
<p>It makes sense to me that the name be structural based, but I would like to know what the standard is here before we p... | [
{
"answer_id": 33636,
"author": "ionFish",
"author_id": 13612,
"author_profile": "https://webmasters.stackexchange.com/users/13612",
"pm_score": 3,
"selected": true,
"text": "<p>From what I've seen, they generally go with the structural formula:</p>\n\n<p>Simple:</p>\n\n<pre><code>[navig... | 2012/08/20 | [
"https://webmasters.stackexchange.com/questions/33634",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10111/"
] | What is the standard for template naming conventions within a CMS?
Should the name be Structural (e.g. Two Column Template) or purpose based (e.g. News Template) or something else?
It makes sense to me that the name be structural based, but I would like to know what the standard is here before we proceed with this ... | From what I've seen, they generally go with the structural formula:
Simple:
```
[navigation-top/left/right] + [content L/R/C align]
```
Advanced:
```
[columns] + [navigation-top/left/right] + [rows*]
```
\*rows can be split further into more columns, such that there can be a full-width (photograph or chart) and ... |
33,647 | <p>So I have got one hater in India who bombarded on my adsense ad units. Luckily I didn't get banned from Google. I have blocked Indian visitors from my site using iq-blockcountry plugin (wordpress). Now I want to know if there's any procedure so that I can allow the Indian visitors but hide the adsense units from the... | [
{
"answer_id": 33651,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 0,
"selected": false,
"text": "<p>You could conditionally hide the ad block with some geolocation service. However you cannot be 100% sure that ... | 2012/08/21 | [
"https://webmasters.stackexchange.com/questions/33647",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2115/"
] | So I have got one hater in India who bombarded on my adsense ad units. Luckily I didn't get banned from Google. I have blocked Indian visitors from my site using iq-blockcountry plugin (wordpress). Now I want to know if there's any procedure so that I can allow the Indian visitors but hide the adsense units from them? ... | Good way to do this is - switching from AdSense to DFP Small Business. You can display AdSense with DFP and apply Geo-targeting feature.
* DPF help: [Target line items to geographic areas](http://support.google.com/dfp_sb/bin/answer.py?hl=en&answer=1260290&topic=1655865&ctx=topic)
* Sam Azgor: [How to Block AdSense Be... |
33,655 | <p>As I know, em-sizing was used by websmasters to create well-scaling sites, when changing font size in browser.</p>
<p>But in modern times, I see that scaling a page scales all elements, even px-sized, so page is zoomed correctly. So, does designing CSS in em-units is still the best design approach ? What is a diffe... | [
{
"answer_id": 33657,
"author": "Qsiris",
"author_id": 17868,
"author_profile": "https://webmasters.stackexchange.com/users/17868",
"pm_score": 0,
"selected": false,
"text": "<p>I believe it is up to you if you wish to use it or not. Current browsers still support it, and they probably w... | 2012/08/21 | [
"https://webmasters.stackexchange.com/questions/33655",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17867/"
] | As I know, em-sizing was used by websmasters to create well-scaling sites, when changing font size in browser.
But in modern times, I see that scaling a page scales all elements, even px-sized, so page is zoomed correctly. So, does designing CSS in em-units is still the best design approach ? What is a difference now ... | As you already stated, todays browsers are able to zoom the page as a whole, so using `em` for font sizes is surely no longer as important as before. While choosing between em, pt and px is more and more a matter of taste, there is another useful application for `em`:
Use `em` to define the **padding** of text element... |
33,754 | <p>Issue:
Currently my site has one particular page which has country specific data. So I've URLs like :</p>
<pre><code>mysite.com/sale-united-states
mysite.com/sale-united-kingdom
mysite.com/sale-sweden
etc.
</code></pre>
<p>All these pages have 80-90% common content and 10-20% country specific content. currently a... | [
{
"answer_id": 33722,
"author": "ionFish",
"author_id": 13612,
"author_profile": "https://webmasters.stackexchange.com/users/13612",
"pm_score": 4,
"selected": true,
"text": "<p>I've finished what I can on the script so far (read comments of original question for detail and context). Sou... | 2012/08/23 | [
"https://webmasters.stackexchange.com/questions/33754",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17908/"
] | Issue:
Currently my site has one particular page which has country specific data. So I've URLs like :
```
mysite.com/sale-united-states
mysite.com/sale-united-kingdom
mysite.com/sale-sweden
etc.
```
All these pages have 80-90% common content and 10-20% country specific content. currently all these pages canonically... | I've finished what I can on the script so far (read comments of original question for detail and context). Source:
<http://www.ionfish.org/projects/xml-spider/>
**Features:**
1. ability to start from any point (resume crashed attempt?) since it tells you which number it's processing.
2. scans any sitemap public acce... |
33,755 | <p>If I override the HTML tag <code><STRONG></code> in CSS by specifying a different font weight and size, does it retain any other style settings or properties?</p>
<pre><code>strong {
font-weight:700;
font-size: 12px;
}
</code></pre>
<p>I ask because I'm getting odd font weight differences between bro... | [
{
"answer_id": 33756,
"author": "Jukka K. Korpela",
"author_id": 13609,
"author_profile": "https://webmasters.stackexchange.com/users/13609",
"pm_score": 2,
"selected": false,
"text": "<p>You don’t really override markup in CSS, you just set properties on elements. Setting <code>font-wei... | 2012/08/23 | [
"https://webmasters.stackexchange.com/questions/33755",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/15631/"
] | If I override the HTML tag `<STRONG>` in CSS by specifying a different font weight and size, does it retain any other style settings or properties?
```
strong {
font-weight:700;
font-size: 12px;
}
```
I ask because I'm getting odd font weight differences between browsers (chrome and IE) | You don’t really override markup in CSS, you just set properties on elements. Setting `font-weight: 700` just coincides with browser defaults, as `700` equals `bold`. Setting `font-size` sets just that property, but this in turn may have complex and partly browser-dependent visual effect.
Without more information, thi... |
33,823 | <p>I am trying to configure DNS on my domain, however, I can only get it to work with the <code>www</code> prefix.</p>
<p>Right now I have the following DNS <code>A</code> records:</p>
<pre><code>@ A 123.456.789
www A 123.456.789
</code></pre>
<p><code>http://www.mydomain.example</code> works ... | [
{
"answer_id": 33825,
"author": "ionFish",
"author_id": 13612,
"author_profile": "https://webmasters.stackexchange.com/users/13612",
"pm_score": 1,
"selected": false,
"text": "<p>This sounds more serious than it may look. If it's redirecting you to a spammer's website, your site <em>may ... | 2012/08/25 | [
"https://webmasters.stackexchange.com/questions/33823",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17625/"
] | I am trying to configure DNS on my domain, however, I can only get it to work with the `www` prefix.
Right now I have the following DNS `A` records:
```
@ A 123.456.789
www A 123.456.789
```
`http://www.mydomain.example` works perfectly. But `http://mydomain.example` fails.
I've tried all... | This sounds more serious than it may look. If it's redirecting you to a spammer's website, your site *may be infected with **malware***. You should first browse through the configuration on the server and see what listens for `mydomain.example` and if it's different than `www.mydomain.example`. Your DNS seems okay, but... |
33,855 | <p>I've just finished a new version of my website but now I don't know how to generate a correct sitemap.<br>
Now the website is based on <code>PHP</code> files and folder and in blog folder there is Wordpress.<br>
This is ho my tree structure looks like: </p>
<pre><code>index.php
about.php
contact.php
support/... | [
{
"answer_id": 33852,
"author": "Martin",
"author_id": 17973,
"author_profile": "https://webmasters.stackexchange.com/users/17973",
"pm_score": 1,
"selected": true,
"text": "<p>you could use a mysql database to store the location of the images on your ftp server. then use php to get the ... | 2012/08/25 | [
"https://webmasters.stackexchange.com/questions/33855",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11111/"
] | I've just finished a new version of my website but now I don't know how to generate a correct sitemap.
Now the website is based on `PHP` files and folder and in blog folder there is Wordpress.
This is ho my tree structure looks like:
```
index.php
about.php
contact.php
support/index.php
support/faq.php ... | you could use a mysql database to store the location of the images on your ftp server. then use php to get the rows of the database and echo them out using a while statement.
you can either look into it further. |
33,939 | <p>I have an ASP.net website hosted using the Ultidev Web Server Pro. </p>
<p>Every day I get a steady stream of errors generated by my application where page requests were requested and denied. This is obviously someone/something trying to find any exploits on my website. Here is an example log:</p>
<pre><code>28/08... | [
{
"answer_id": 33940,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 3,
"selected": true,
"text": "<p>It is \"normal\". As you already stated, they probably are bots trying to find a way to access applications wit... | 2012/08/28 | [
"https://webmasters.stackexchange.com/questions/33939",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7583/"
] | I have an ASP.net website hosted using the Ultidev Web Server Pro.
Every day I get a steady stream of errors generated by my application where page requests were requested and denied. This is obviously someone/something trying to find any exploits on my website. Here is an example log:
```
28/08/2012 11:37:11 - File... | It is "normal". As you already stated, they probably are bots trying to find a way to access applications with known exploits, pinging random IPs. One thing you can do is to have third party services accessible from non-standard paths and/or password protect them if necessary and helpful. As long as the bot is hitting ... |
34,004 | <p>I have the GoDaddy hosting and send mail using the following code:</p>
<pre><code> $to = "demomail@gmail.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "info@brightmeup.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
</code... | [
{
"answer_id": 34005,
"author": "Chiguireitor",
"author_id": 18237,
"author_profile": "https://webmasters.stackexchange.com/users/18237",
"pm_score": 4,
"selected": true,
"text": "<p>Your spf line is wrong, let's break it down:</p>\n\n<pre><code>v=spf1\n</code></pre>\n\n<p>Version 1 SPF,... | 2012/08/29 | [
"https://webmasters.stackexchange.com/questions/34004",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18226/"
] | I have the GoDaddy hosting and send mail using the following code:
```
$to = "demomail@gmail.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "info@brightmeup.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
```
When the mail ... | Your spf line is wrong, let's break it down:
```
v=spf1
```
Version 1 SPF, everything right there, let's see the next parameters:
```
include:_spf.google.com
```
Here you're specifying that your mail is valid if you're sending it from a Google Apps domain. Are you using Google Apps?, the next parameter:
```
~all... |
34,050 | <p>Why can I visit my own site: <code>http://www.example.com</code> but not <code>http://example.com</code>, which gives me</p>
<blockquote>
<p>HTTP Error 403 (Forbidden): The server refused to fulfill the request</p>
</blockquote>
<p>How do it fix it? </p>
<p>I wrote the site and upload to remote server.</p>
| [
{
"answer_id": 34055,
"author": "mickburkejnr",
"author_id": 3718,
"author_profile": "https://webmasters.stackexchange.com/users/3718",
"pm_score": 1,
"selected": false,
"text": "<p>You DNS record isn't set up to accept traffic to the server without the <code>www</code>. This is a simple... | 2012/08/31 | [
"https://webmasters.stackexchange.com/questions/34050",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18098/"
] | Why can I visit my own site: `http://www.example.com` but not `http://example.com`, which gives me
>
> HTTP Error 403 (Forbidden): The server refused to fulfill the request
>
>
>
How do it fix it?
I wrote the site and upload to remote server. | mickburkejnr is close, but not entirely right. The problem is not with DNS (it *could* be, but that's unlikely). The problem is that your web server isn't configured to respond to queries for your site without the "www" prefix with the appropriate site.
Keep in mind that "www" is just a normal subdomain. "google.com" ... |
34,076 | <p>I have bought a new domain name from GoDaddy. Let's say it is abcd.com.</p>
<p>On GoDaddy's DNS Managing page, I changed A(Host) part to</p>
<pre><code>@ = 74.125.232.215
</code></pre>
<p>which is www.google.co.uk's IP address.</p>
<p>Now if I type <code>www.abcd.com</code>, it directly goes to www.google.co.uk.... | [
{
"answer_id": 34077,
"author": "ionFish",
"author_id": 13612,
"author_profile": "https://webmasters.stackexchange.com/users/13612",
"pm_score": 3,
"selected": true,
"text": "<p>Google does NOT like when you set your A-records to them (they set it so if domain != 'google' then redirect t... | 2012/08/31 | [
"https://webmasters.stackexchange.com/questions/34076",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18115/"
] | I have bought a new domain name from GoDaddy. Let's say it is abcd.com.
On GoDaddy's DNS Managing page, I changed A(Host) part to
```
@ = 74.125.232.215
```
which is www.google.co.uk's IP address.
Now if I type `www.abcd.com`, it directly goes to www.google.co.uk.
But if I type `http://test.abcd.com`, it cannot b... | Google does NOT like when you set your A-records to them (they set it so if domain != 'google' then redirect to google.[com] and therefore preventing people from using Google under their own domain)
The `@` means "naked domain" so it would be "abcd.com" and you DO need to specify a `www` record (as well as `test`) to ... |
34,115 | <p>Does anybody knows of a good application to get it done quickly and efficiently ?</p>
<p>I bought <a href="http://www.convertwordtohtml.com/" rel="nofollow">Word Cleaner</a> but the results are merely sufficient and I need to go over all the generated html files to clean tons of useless injected tags like</p>
<pre... | [
{
"answer_id": 34117,
"author": "milo5b",
"author_id": 16133,
"author_profile": "https://webmasters.stackexchange.com/users/16133",
"pm_score": 2,
"selected": false,
"text": "<p>I think the best solution for this would be using a WYSIWYG editor.\nTinyMCE, for example, it's a good one - a... | 2012/09/02 | [
"https://webmasters.stackexchange.com/questions/34115",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/17975/"
] | Does anybody knows of a good application to get it done quickly and efficiently ?
I bought [Word Cleaner](http://www.convertwordtohtml.com/) but the results are merely sufficient and I need to go over all the generated html files to clean tons of useless injected tags like
```
<strong>H</strong><strong>ell</strong><s... | This is what me and the team here at work use when bringing MS Word content to HTML:
<http://word2cleanhtml.com/>
We check all the boxes, paste the code, then convert.
I hope that helps. |
34,132 | <p>Let me explain. Let's say my keyword I want to optimize is "green giraffes". But the domain greengiraffes.com (singular, plural, no hyphen, hyphen, etc.) is not available. I know that the search results for "green giraffes" and "about green giraffes" are essentially the same because "about" is a "stop word". Does th... | [
{
"answer_id": 34150,
"author": "MrWhite",
"author_id": 1243,
"author_profile": "https://webmasters.stackexchange.com/users/1243",
"pm_score": 2,
"selected": false,
"text": "<p>But what's a Google \"stop word\".</p>\n\n<p>I don't think the modern Google uses <em>stop words</em> anymore i... | 2012/09/03 | [
"https://webmasters.stackexchange.com/questions/34132",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13404/"
] | Let me explain. Let's say my keyword I want to optimize is "green giraffes". But the domain greengiraffes.com (singular, plural, no hyphen, hyphen, etc.) is not available. I know that the search results for "green giraffes" and "about green giraffes" are essentially the same because "about" is a "stop word". Does that ... | But what's a Google "stop word".
I don't think the modern Google uses *stop words* anymore in the traditional sense... a common word that is ignored in the search for the sake of efficiency. This I presume is the meaning that you are referring to?
If *stop words* were still used then (as mentioned in my comment) the ... |
34,140 | <p>I have met the following HTML code:</p>
<pre><code><a rel="douche" href="...">blah</a>
</code></pre>
<p>And I am wondering what is the effect of the "douche" attribute.</p>
| [
{
"answer_id": 34141,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 4,
"selected": false,
"text": "<p>It's just \"commentary.\"<br>\nIn this case, whoever created that link apparently thinks the person on the other en... | 2012/09/03 | [
"https://webmasters.stackexchange.com/questions/34140",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18164/"
] | I have met the following HTML code:
```
<a rel="douche" href="...">blah</a>
```
And I am wondering what is the effect of the "douche" attribute. | It's just "commentary."
In this case, whoever created that link apparently thinks the person on the other end is a douche. The `rel` attribute defines the relationship between the current document and the target(`href`) document.
Consider this a more…aggressive version of the [Vote Links microformat](http://microf... |