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 |
|---|---|---|---|---|---|---|
12,425 | <p>I have a website that I made for a friend who runs his own business.</p>
<p>I designed and built the website for him and then hosted it on MY hosting package and URL - Lets call this URL 1.</p>
<p>He was happy with everything so he then bought hosting and I gave him all the files and he put them on his hosting pac... | [
{
"answer_id": 12426,
"author": "Brent Friar",
"author_id": 2613,
"author_profile": "https://webmasters.stackexchange.com/users/2613",
"pm_score": 3,
"selected": false,
"text": "<p>If URL 1 and URL 2 are different, then Google is not simply going to start showing the new URL. You have to... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12425",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a website that I made for a friend who runs his own business.
I designed and built the website for him and then hosted it on MY hosting package and URL - Lets call this URL 1.
He was happy with everything so he then bought hosting and I gave him all the files and he put them on his hosting package and URL - le... | If URL 1 and URL 2 are different, then Google is not simply going to start showing the new URL. You have to let Google know of the change in order for them to update their listings. To do this, you will need to use 301 redirects from the old pages to the new so Google can update their URLs.
Assuming you are in a LAMP ... |
12,439 | <p>I have a website on one CMS and I wish to switch to another CMS. What are some problems SEO-wise that I could run into?</p>
<p>I am aware that the way each CMS handles urls is different, so I'll make sure that urls are handled the same:</p>
<pre><code>mysite.com/page-about-something
mysite.com/node2
</code></pre>... | [
{
"answer_id": 12442,
"author": "Joe",
"author_id": 6467,
"author_profile": "https://webmasters.stackexchange.com/users/6467",
"pm_score": -1,
"selected": false,
"text": "<p>It depends on how well the site is linked. If you have links going to abc.com/def.hml and the new is abc.com/xyz.h... | 2011/04/19 | [
"https://webmasters.stackexchange.com/questions/12439",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5013/"
] | I have a website on one CMS and I wish to switch to another CMS. What are some problems SEO-wise that I could run into?
I am aware that the way each CMS handles urls is different, so I'll make sure that urls are handled the same:
```
mysite.com/page-about-something
mysite.com/node2
```
**What are some other proble... | Having migrated a few CMS's before, the URLs are the biggest hurdles.
Some other pain points are:
1. Ensuring content mapping and content layout (in the HTML) isn't radically different - normally achieved by ensuring the templates are the same.
2. Ensuring that meta data is correctly transferred - page titles, meta d... |
12,447 | <p>I am looking for information regarding tabs, spaces, and line-breaks in HTML/XHTML markup and whether it affects SEO.</p>
<p>I have found sources which state that extra white space hurts search engine optimization.</p>
<p>Example:</p>
<pre><code><div>
<p>
Text for a paragraph
</p>... | [
{
"answer_id": 12448,
"author": "Pekka",
"author_id": 1780,
"author_profile": "https://webmasters.stackexchange.com/users/1780",
"pm_score": 4,
"selected": true,
"text": "<p>According to <a href=\"http://jamesmartell.com/matt-cutts/is-excessive-whitespace-in-the-html-source-bad/\" rel=\"... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12447",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5048/"
] | I am looking for information regarding tabs, spaces, and line-breaks in HTML/XHTML markup and whether it affects SEO.
I have found sources which state that extra white space hurts search engine optimization.
Example:
```
<div>
<p>
Text for a paragraph
</p>
<p>
More text for another paragr... | According to [this SEO blog entry](http://jamesmartell.com/matt-cutts/is-excessive-whitespace-in-the-html-source-bad/), which is transcribing what the head of Google's webspam team [Matt Cutts](http://www.mattcutts.com/blog/about-me/) says in the Video, no.
>
> We really don’t care that much. We’re pretty good that ... |
12,453 | <p>URL rewriting has become quite popular, but I think it only adds more complexity to the Web. Old fashioned URL's are often called "dirty URLs", so I'll use that term. </p>
<p>It is argued that with rewriting it makes the URL more "discoverable" but how is it more discoverable with this URL</p>
<pre><code>www.mag... | [
{
"answer_id": 12454,
"author": "ninjagecko",
"author_id": 7355,
"author_profile": "https://webmasters.stackexchange.com/users/7355",
"pm_score": 3,
"selected": false,
"text": "<p>I wouldn't so much call it \"URL rewriting\" so much as \"having a sane URL schema\". There is a good and ba... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12453",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2481/"
] | URL rewriting has become quite popular, but I think it only adds more complexity to the Web. Old fashioned URL's are often called "dirty URLs", so I'll use that term.
It is argued that with rewriting it makes the URL more "discoverable" but how is it more discoverable with this URL
```
www.magic.com/date/2010/02/02 ... | I wouldn't so much call it "URL rewriting" so much as "having a sane URL schema". There is a good and bad place for everything.
In the example you give, you are absolutely correct; you have an unordered set of 'parameters' as it were, and the key=value&key2=value2&... syntax is excellent for that.
However with the da... |
12,486 | <p>We currently host multiple sites on the same domain that all live in the same physical directory on the server. Each is database driven and lives at a unique subdomain. For example, site1.example.com, site2.example.com, etc. However, because all of these sites live in the same directory, they share a robots.txt file... | [
{
"answer_id": 12556,
"author": "Kevin Ji",
"author_id": 6973,
"author_profile": "https://webmasters.stackexchange.com/users/6973",
"pm_score": 2,
"selected": false,
"text": "<p>You can use a <a href=\"http://en.wikipedia.org/wiki/Meta_element#The_robots_attribute\" rel=\"nofollow\">meta... | 2011/04/19 | [
"https://webmasters.stackexchange.com/questions/12486",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6966/"
] | We currently host multiple sites on the same domain that all live in the same physical directory on the server. Each is database driven and lives at a unique subdomain. For example, site1.example.com, site2.example.com, etc. However, because all of these sites live in the same directory, they share a robots.txt file.
... | I ended up using `mod_rewrite` to accomplish what I need:
```
RewriteEngine On
RewriteCond %{HTTP_HOST} ^demo\.example\.com
RewriteRule ^robots\.txt$ robots-demo\.txt
RewriteCond %{HTTP_HOST} !^demo\.example\.com
RewriteRule ^robots\.txt$ robots-othersites\.txt
``` |
12,548 | <p>I sent out a link in an email that had a typo in the URL. I need to make a quick change for tracking purposes so that any incoming hits to the URL are instead parsed to another URL.</p>
<p>From the link sent out: </p>
<pre><code>/app/prog1.php?id=1234
</code></pre>
<p>To the version I want to track:</p>
<pre><co... | [
{
"answer_id": 12549,
"author": "jimg",
"author_id": 5942,
"author_profile": "https://webmasters.stackexchange.com/users/5942",
"pm_score": 1,
"selected": false,
"text": "<p>This works. </p>\n\n<p>RewriteRule ^app/prog1.php$ /app/prog2.php [L]</p>\n"
},
{
"answer_id": 22088,
... | 2011/04/20 | [
"https://webmasters.stackexchange.com/questions/12548",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5942/"
] | I sent out a link in an email that had a typo in the URL. I need to make a quick change for tracking purposes so that any incoming hits to the URL are instead parsed to another URL.
From the link sent out:
```
/app/prog1.php?id=1234
```
To the version I want to track:
```
/app/prog2.php?id=1234
```
How do I set... | This works.
RewriteRule ^app/prog1.php$ /app/prog2.php [L] |
12,731 | <p>Microsoft on their website seems to get the avatar server side, and then serve it as an image from their servers. IE:</p>
<pre><code><img src="avatar.jpg?username=Tom" />
</code></pre>
<p>I currently just link directly to Gravatar in the image tag itself.</p>
<pre><code><img src="http://www.gravatar.com... | [
{
"answer_id": 12734,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>This doesn't make any difference for image search at all. Either an image is relevant for the search term or ... | 2011/04/21 | [
"https://webmasters.stackexchange.com/questions/12731",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | Microsoft on their website seems to get the avatar server side, and then serve it as an image from their servers. IE:
```
<img src="avatar.jpg?username=Tom" />
```
I currently just link directly to Gravatar in the image tag itself.
```
<img src="http://www.gravatar.com/hash?=etc" />
```
Is there an advantage as a... | This doesn't make any difference for image search at all. Either an image is relevant for the search term or it isn't. Where it is hosted doesn't matter.
Image search is affected by other factors such as ALT text, text proximity, (if part of a hyper link) anchor text and/or keywords in the URL of the hyperlink, etc. |
12,755 | <p>I’ve applied some HTML around my aggregate review. I just wondered if anyone could tell me if it is valid (even though the Google test tool says it is) and that non of the extra HTML or style affects it being able to be read by Google:</p>
<pre class="lang-html prettyprint-override"><code> <div class="hrevi... | [
{
"answer_id": 13257,
"author": "Dan Blows",
"author_id": 6858,
"author_profile": "https://webmasters.stackexchange.com/users/6858",
"pm_score": 0,
"selected": false,
"text": "<p>Microformats don't require an exact piece of HTML, they are parsing the overall structure, using the class na... | 2011/04/21 | [
"https://webmasters.stackexchange.com/questions/12755",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I’ve applied some HTML around my aggregate review. I just wondered if anyone could tell me if it is valid (even though the Google test tool says it is) and that non of the extra HTML or style affects it being able to be read by Google:
```html
<div class="hreview-aggregate">
<div class="item">
... | >
> My site had not yet had the rating and
> reviews index under my links, where
> other websites have and they use the
> bare minimum. Also, having the same
> micro formats on multiple pages affect
> this too?
>
>
>
Just because you use microformats doesn't mean Google will automatically include rich snippet... |
12,837 | <p>I have a hosted rails application that gives every account a sub domain eg company.hosted_site.com</p>
<p>I have pointed our customers own domain to their subdomain via a A record and a cname so it looks like their own site.</p>
<p>But now i have 2 versions of the same site running so i need to now redirect the su... | [
{
"answer_id": 12838,
"author": "KoKo",
"author_id": 11961,
"author_profile": "https://webmasters.stackexchange.com/users/11961",
"pm_score": 0,
"selected": false,
"text": "<p>as long as you get 301 site moved permanently, you'll be fine, doesn't matter which method you use to redirect, ... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12837",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a hosted rails application that gives every account a sub domain eg company.hosted\_site.com
I have pointed our customers own domain to their subdomain via a A record and a cname so it looks like their own site.
But now i have 2 versions of the same site running so i need to now redirect the subdomain to the c... | There are a couple of things you can use. First, assuming you have signed the domain up for Google Webmaster tools, you can select the prefered version of the URL. <http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html>
I would also add an HTACCESS rule to redirect visitors to the preferred UR... |
12,893 | <p>I'm laying out the structure of my page like this:</p>
<pre><code><hgroup>
<h1>Heading One</h1>
<h2>Tagline</h2>
</hgroup>
</code></pre>
<p>And while I don't have a tagline per se, I have a short description about the company that totals up to 22 words. Should I put this... | [
{
"answer_id": 12894,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": false,
"text": "<p>Put the content in a paragraph. That's what paragraphs are for. The h2 should be a section's heading which i... | 2011/04/25 | [
"https://webmasters.stackexchange.com/questions/12893",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm laying out the structure of my page like this:
```
<hgroup>
<h1>Heading One</h1>
<h2>Tagline</h2>
</hgroup>
```
And while I don't have a tagline per se, I have a short description about the company that totals up to 22 words. Should I put this in the h2, or should I drop the hgroup altogether and use put... | Put the content in a paragraph. That's what paragraphs are for. The h2 should be a section's heading which is a concise summary of what the next content will be about.
```
<h2>About Company Name</h2>
<p>
This is twenty two words that describes our company. It is in a paragraph because it is content and not a heading... |
12,957 | <p>I am trying to improve my SEO Ranking, will linking my content to other pages on the site hinder or help my results. For instance if I was to link back to the home page every time I mentioned the company name.</p>
<p>Example</p>
<pre><code>The frog was almost the size of a <a href="toadinfo.html">toad</a&... | [
{
"answer_id": 12959,
"author": "Eric Petroelje",
"author_id": 343,
"author_profile": "https://webmasters.stackexchange.com/users/343",
"pm_score": 0,
"selected": false,
"text": "<p>To the extent that the links are useful, it might help Google to understand the keywords relevant to the p... | 2011/04/26 | [
"https://webmasters.stackexchange.com/questions/12957",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am trying to improve my SEO Ranking, will linking my content to other pages on the site hinder or help my results. For instance if I was to link back to the home page every time I mentioned the company name.
Example
```
The frog was almost the size of a <a href="toadinfo.html">toad</a>. <a href="toadinfo.html">Toad... | Linking between pages is important for two reasons. First it gives the crawlers a good understanding of what pages exists in your site and second it passes the page rank that exists on some of your pages around to other pages. This is actually a fairly complex issue. Here are a couple of things to consider:
1. If you ... |
12,966 | <p>Imagine my current flat-file no-CMS website with an URL like <code>http://example.com/en/tomato</code>.</p>
<p>This is of course very unsexy and could be anything really from <em>tomato soup</em>, <em>tomato the music band</em>, <em>tomato the movie</em>, or more unlikely but still... <em>just about tomatos!</em></... | [
{
"answer_id": 12967,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>The URL should be as descriptive as possible and it should in context with the contents it display. I also work o... | 2011/03/06 | [
"https://webmasters.stackexchange.com/questions/12966",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | Imagine my current flat-file no-CMS website with an URL like `http://example.com/en/tomato`.
This is of course very unsexy and could be anything really from *tomato soup*, *tomato the music band*, *tomato the movie*, or more unlikely but still... *just about tomatos!*
So, I want to make it more specific for both real... | I think you might have selected the best answer prematurely?
**Question 1:**
My pick would be `example.com/en/tomato/just-about-tomatos` - my rationale being:
* `/en/` is a primary language folder that encompasses all of the content therein so is best suited to appear directly after the domain, and is the [best c... |
13,053 | <p>I'm new to SEO and website management, but eager to learn. I manage a newly revamped site and I'm tracking it on Google Analytics and in Google Webmaster tools.
The Webmaster tools show that I get about 3200 impressions and 180 click through's a week. Google Analytics show that no traffic comes from search engins, a... | [
{
"answer_id": 14607,
"author": "Ciaran",
"author_id": 4306,
"author_profile": "https://webmasters.stackexchange.com/users/4306",
"pm_score": 1,
"selected": false,
"text": "<p>Here's one possible scenario.</p>\n\n<ul>\n<li>Google Webmaster Tools tracks searches and clicks TO your domain<... | 2011/04/28 | [
"https://webmasters.stackexchange.com/questions/13053",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7172/"
] | I'm new to SEO and website management, but eager to learn. I manage a newly revamped site and I'm tracking it on Google Analytics and in Google Webmaster tools.
The Webmaster tools show that I get about 3200 impressions and 180 click through's a week. Google Analytics show that no traffic comes from search engins, all ... | Here's one possible scenario.
* Google Webmaster Tools tracks searches and clicks TO your domain
* Google Analytics records page views and keywords ON your domain
* So between leaving Google and reaching your pages with the GA tag, the keywords are getting stripped
Things to check:
* Analytics is correctly configure... |
13,056 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/9/who-is-a-great-domain-registrar-company">Who is a great domain registrar company?</a> </p>
</blockquote>
<p>What is the best place to buy/register a domain name? (eg. to get a web site like www.mys... | [
{
"answer_id": 14607,
"author": "Ciaran",
"author_id": 4306,
"author_profile": "https://webmasters.stackexchange.com/users/4306",
"pm_score": 1,
"selected": false,
"text": "<p>Here's one possible scenario.</p>\n\n<ul>\n<li>Google Webmaster Tools tracks searches and clicks TO your domain<... | 2011/04/28 | [
"https://webmasters.stackexchange.com/questions/13056",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | >
> **Possible Duplicate:**
>
> [Who is a great domain registrar company?](https://webmasters.stackexchange.com/questions/9/who-is-a-great-domain-registrar-company)
>
>
>
What is the best place to buy/register a domain name? (eg. to get a web site like www.mysite.com) Also, once I have that how can I add conte... | Here's one possible scenario.
* Google Webmaster Tools tracks searches and clicks TO your domain
* Google Analytics records page views and keywords ON your domain
* So between leaving Google and reaching your pages with the GA tag, the keywords are getting stripped
Things to check:
* Analytics is correctly configure... |
13,131 | <p>How do I point one domain name to two IPs? For example, I'd like to have the setup:</p>
<pre><code>app.example.com IN A 192.0.2.1
app.example.com IN A 192.0.2.2
</code></pre>
<p>The hostname should resolve to whichever IP is up.</p>
| [
{
"answer_id": 13132,
"author": "Journeyman Geek",
"author_id": 5216,
"author_profile": "https://webmasters.stackexchange.com/users/5216",
"pm_score": 2,
"selected": false,
"text": "<p>Its called round robin DNS - you just set them both as A type records, and it should connect to either ... | 2011/04/30 | [
"https://webmasters.stackexchange.com/questions/13131",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | How do I point one domain name to two IPs? For example, I'd like to have the setup:
```
app.example.com IN A 192.0.2.1
app.example.com IN A 192.0.2.2
```
The hostname should resolve to whichever IP is up. | Its called round robin DNS - you just set them both as A type records, and it should connect to either one. |
13,154 | <p>I've got an url coming in as:</p>
<pre><code>/index.php?/location/&gclid=287ejek22kj
</code></pre>
<p>This is going to a 404 page because of the gclid... </p>
<p>I need it to go to:</p>
<pre><code>/index.php?/location
</code></pre>
<p>I've tried this, with no success:</p>
<pre><code>RewriteEngine On
Rewrit... | [
{
"answer_id": 13155,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>This is pretty much answered in concept at least here: <a href=\"https://stackoverflow.com/questions/2111182/rewr... | 2011/05/01 | [
"https://webmasters.stackexchange.com/questions/13154",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I've got an url coming in as:
```
/index.php?/location/&gclid=287ejek22kj
```
This is going to a 404 page because of the gclid...
I need it to go to:
```
/index.php?/location
```
I've tried this, with no success:
```
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)&gclid=(.*)$ $1 [L]
```
All help is appreci... | This is pretty much answered in concept at least here: <https://stackoverflow.com/questions/2111182/rewriting-url-with-selected-query-string-parameters-in-htaccess> |
13,181 | <p>My domain points to a rails app hosted on Heroku. Is it possible to have blog.mydomain.com point to a WordPress installation somewhere else, e.g. Dreamhost?</p>
| [
{
"answer_id": 13182,
"author": "Chris_O",
"author_id": 3214,
"author_profile": "https://webmasters.stackexchange.com/users/3214",
"pm_score": 1,
"selected": false,
"text": "<p>Add a DNS A record to point the subdomain to the different server's ip address:</p>\n\n<pre><code>mydomain.com ... | 2011/05/01 | [
"https://webmasters.stackexchange.com/questions/13181",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | My domain points to a rails app hosted on Heroku. Is it possible to have blog.mydomain.com point to a WordPress installation somewhere else, e.g. Dreamhost? | Add a DNS A record to point the subdomain to the different server's ip address:
```
mydomain.com IN A 321.1.22.55
blog IN A 123.2.33.45.
``` |
13,194 | <p>Which one is correct?</p>
<pre><code>User-agent: *
Disallow: index.php
</code></pre>
<p>or</p>
<pre><code>User-agent: *
Disallow: /index.php
</code></pre>
<p>inorder to block all pages like <code>index.php?day=7</code> <code>index.php?day=15</code> <code>index.php?day=30</code></p>
| [
{
"answer_id": 13195,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>The second one is better form as it clearly marks the index.php as being the in web root and not in some oth... | 2011/05/02 | [
"https://webmasters.stackexchange.com/questions/13194",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/23/"
] | Which one is correct?
```
User-agent: *
Disallow: index.php
```
or
```
User-agent: *
Disallow: /index.php
```
inorder to block all pages like `index.php?day=7` `index.php?day=15` `index.php?day=30` | You can use the following robots.txt file if you wish to block all robots from accessing your pages.
```
# robots.txt for www.domain.com to block all bots
User-agent: *
Disallow: /
```
If you wish to block all all URLs that include a question mark (?) you can use the following format
```
# robots.txt for www.do... |
13,210 | <p>Does anyone know about a technique to make links on a website function as deep links to an embedded vimeo/youtube video on that same page? </p>
<p>That way one could include video's in a blog post or similar, and reference certain portions of the video through deep linked time codes. I suspect one would need some j... | [
{
"answer_id": 13241,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 0,
"selected": false,
"text": "<p>For YouTube, this is how you link using timecodes to get to the bit you want: <a href=\"http://www.google.c... | 2011/05/02 | [
"https://webmasters.stackexchange.com/questions/13210",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7240/"
] | Does anyone know about a technique to make links on a website function as deep links to an embedded vimeo/youtube video on that same page?
That way one could include video's in a blog post or similar, and reference certain portions of the video through deep linked time codes. I suspect one would need some javascript ... | You can embed deep-linked YouTube videos by using the 'start' attribute to make playback start at a specific time, like this:
```
<iframe id="video" width="560" height="349" src="http://www.youtube.com/embed/3CR5y8qZf0Y?start=20" frameborder="0" allowfullscreen></iframe>
```
You could modify the start time using Jav... |
13,226 | <p>My website was hacked, with the following code added to the end of the page: </p>
<pre><code><img heigth="1" width="1" border="0"
src="http://imgddd.net/t.php?id=########">
</code></pre>
<p>(The id had an 8 digit number in place of the ########) </p>
<p>The link didn't work. Also, the page would crash... | [
{
"answer_id": 13229,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 2,
"selected": false,
"text": "<p><code>imgddd.net</code> shows up on <a href=\"http://www.malwaredomains.com/\" rel=\"nofollow\">MalwareDomain... | 2011/05/03 | [
"https://webmasters.stackexchange.com/questions/13226",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6536/"
] | My website was hacked, with the following code added to the end of the page:
```
<img heigth="1" width="1" border="0"
src="http://imgddd.net/t.php?id=########">
```
(The id had an 8 digit number in place of the ########)
The link didn't work. Also, the page would crash until I removed the link.
What else do... | `imgddd.net` shows up on [MalwareDomains.com](http://www.malwaredomains.com/)'s list (as of 4/26/2011) as a malware distributor; it appears as though the `t.php` script has been taken down, however, the main page remains active with what appears to be a Flash-based exploit; I'm not interested in seeing it in action, an... |
13,252 | <p>We're trying to do SEO on our company website. Our company logo is just text (in image form), but has two colors in it. Our company name appears a lot in our website's text/copy. For example, the sentence,</p>
<pre><code>This is our company name: COMPANY.
</code></pre>
<p>is coded as,</p>
<pre><code>This is our c... | [
{
"answer_id": 13253,
"author": "Simone Carletti",
"author_id": 1647,
"author_profile": "https://webmasters.stackexchange.com/users/1647",
"pm_score": 4,
"selected": true,
"text": "<p>This isn't very friendly. Search Engines can understand the content but might not be able to consider CO... | 2010/02/24 | [
"https://webmasters.stackexchange.com/questions/13252",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7785/"
] | We're trying to do SEO on our company website. Our company logo is just text (in image form), but has two colors in it. Our company name appears a lot in our website's text/copy. For example, the sentence,
```
This is our company name: COMPANY.
```
is coded as,
```
This is our company name:
<span class="logo_black... | This isn't very friendly. Search Engines can understand the content but might not be able to consider COMPANY as one single word.
My suggestion is to use JavaScript.
You can write something like
```
This is our company name: <span class="company">COMPANY</span>.
```
Then use JavaScript to
* load the content of the... |
13,269 | <p>I know the general advice is that its no longer necessary to support IE6, but I've also heard the best data is the analytics of actual users to your site. All of my sites are currently low traffic so I can't really use my data on this. Can anyone share their findings regarding IE6 and what types of sites (if any) ar... | [
{
"answer_id": 13270,
"author": "user7265",
"author_id": 7265,
"author_profile": "https://webmasters.stackexchange.com/users/7265",
"pm_score": -1,
"selected": false,
"text": "<p>IE6 has too low of percentage to even count it. </p>\n\n<p>Here are stats of browsers from a site that receiv... | 2011/05/03 | [
"https://webmasters.stackexchange.com/questions/13269",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8331/"
] | I know the general advice is that its no longer necessary to support IE6, but I've also heard the best data is the analytics of actual users to your site. All of my sites are currently low traffic so I can't really use my data on this. Can anyone share their findings regarding IE6 and what types of sites (if any) are v... | Here is the percentage of IE users for a website for a vacation city in the US. It gets approximately 50,000 visitors a month.
```
Msie 9.0 2.6 %
Msie 8.0 42.6 %
Msie 7.0 13.9 %
Msie 6.0 2.6 %
Firefox 13.4 % (all versions)
Chrome 6.3 % (all versions)
Safari 16 % (all versions)
``` |
13,385 | <p>I have a <a href="http://roundaboutmk.com" rel="nofollow">website</a> with some images, and I want them to be in the middle, now on my screen they are in the middle. Because I've put them there by moving them to one side, when I get my friends to look at it, the image is off to one side.</p>
<p>On a 13.5" screen it... | [
{
"answer_id": 13387,
"author": "ajcw",
"author_id": 2739,
"author_profile": "https://webmasters.stackexchange.com/users/2739",
"pm_score": 2,
"selected": false,
"text": "<p>This problem can be easily solved with cascading stylesheets (CSS).</p>\n\n<p>You can centre the image by using CS... | 2011/05/05 | [
"https://webmasters.stackexchange.com/questions/13385",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7319/"
] | I have a [website](http://roundaboutmk.com) with some images, and I want them to be in the middle, now on my screen they are in the middle. Because I've put them there by moving them to one side, when I get my friends to look at it, the image is off to one side.
On a 13.5" screen it will look to be in the middle. | This problem can be easily solved with cascading stylesheets (CSS).
You can centre the image by using CSS to add an automatic margin to your image, and converting it to a block element.
Adding this CSS to your page will add an auto margin to the left and right of your minecraft image.
```
#minecraft2 {
margin: 0... |
13,390 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/13418/any-problems-with-divs-inside-a-table-cell">Any problems with DIVs inside a table cell?</a> </p>
</blockquote>
<p>Ok so I've got a header and a footer with absolute positioning and heights of 1... | [
{
"answer_id": 13391,
"author": "SubTypical",
"author_id": 3535,
"author_profile": "https://webmasters.stackexchange.com/users/3535",
"pm_score": 1,
"selected": false,
"text": "<p>Sounds to me like no matter what, you're wanting the footer to be at the very bottom of the screen, even if ... | 2011/05/05 | [
"https://webmasters.stackexchange.com/questions/13390",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7304/"
] | >
> **Possible Duplicate:**
>
> [Any problems with DIVs inside a table cell?](https://webmasters.stackexchange.com/questions/13418/any-problems-with-divs-inside-a-table-cell)
>
>
>
Ok so I've got a header and a footer with absolute positioning and heights of 144px. The content div in the middle area needs to b... | Simply add the following CSS:
```
html, body{
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#content{
position: absolute;
top: 144px;
bottom: 144px;
left: 0px;
width: 100%;
overflow: auto;
}
```
And presto. |
13,438 | <p>I've upgraded one primary page of a site to use the async version of the GA tracking code. Since the upgrade, number of visits has increased by 60%, avg. time on site has decreased by 40% and the bounce rate of the said page is now always zero. Pageviews are intact.</p>
<p>I suspect this has to do with using both t... | [
{
"answer_id": 13439,
"author": "Ewan Heming",
"author_id": 5718,
"author_profile": "https://webmasters.stackexchange.com/users/5718",
"pm_score": 3,
"selected": true,
"text": "<p>I notice that your calling <code>_trackPageview</code> before <code>_setDomainName</code>. That could cause ... | 2011/05/05 | [
"https://webmasters.stackexchange.com/questions/13438",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7366/"
] | I've upgraded one primary page of a site to use the async version of the GA tracking code. Since the upgrade, number of visits has increased by 60%, avg. time on site has decreased by 40% and the bounce rate of the said page is now always zero. Pageviews are intact.
I suspect this has to do with using both the traditi... | I notice that your calling `_trackPageview` before `_setDomainName`. That could cause some problems with the cookies. Try putting `_trackPageview` at the end of the command list and see if it solves the problem. |
13,465 | <p>I'm trying to find a generic enough modrewrite rule that will acomplish following:</p>
<ul>
<li>Redirect anyHost.anyTld to www.anyHost.anyTld</li>
<li>Not mess with any other subdomains, for examle other.anyHost.anyTLD should be left alone</li>
</ul>
<p>Can you help?
Does this slow down server too much?</p>
| [
{
"answer_id": 13473,
"author": "Zach Morgan",
"author_id": 7350,
"author_profile": "https://webmasters.stackexchange.com/users/7350",
"pm_score": -1,
"selected": false,
"text": "<p>You should be able to use something like this:</p>\n\n<p>RewriteCond %{HTTP_HOST} !^www.(.*)$</p>\n\n<p>Re... | 2011/05/06 | [
"https://webmasters.stackexchange.com/questions/13465",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7562/"
] | I'm trying to find a generic enough modrewrite rule that will acomplish following:
* Redirect anyHost.anyTld to www.anyHost.anyTld
* Not mess with any other subdomains, for examle other.anyHost.anyTLD should be left alone
Can you help?
Does this slow down server too much? | Zach's answer will not work with subdomains like `forum.example.com`, the next rules checks whether the host equals `example.com`. If it does, it will be redirected to `www.example.com`. No rules will be processed after this one (`L` = Last).
```
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRul... |
13,475 | <p>I'm trying to redirect a subdomain to a subfolder e.g. forums.domain.com to www.domain.com/forums</p>
<p>Note that I started the forums in the subfolder format but worried that members might mistakenly try to access the forums using the subdomain format.</p>
<pre><code>RewriteCond %{HTTP_HOST} ^(www\.)?forums\.dom... | [
{
"answer_id": 13493,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": false,
"text": "<p>Try this:</p>\n\n<pre><code>Options +FollowSymLinks \nRewriteEngine on\nRewriteCond %{HTTP_HOST} !^(www)\\. ... | 2011/05/07 | [
"https://webmasters.stackexchange.com/questions/13475",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7351/"
] | I'm trying to redirect a subdomain to a subfolder e.g. forums.domain.com to www.domain.com/forums
Note that I started the forums in the subfolder format but worried that members might mistakenly try to access the forums using the subdomain format.
```
RewriteCond %{HTTP_HOST} ^(www\.)?forums\.domain\.com
RewriteRule ... | Try this:
```
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www)\. [NC]
RewriteCond %{HTTP_HOST} ^(.*)\.domain\.com [NC]
RewriteRule (.*) http://www.domain.com/%1 [R=301,L]
```
This is generic and will redirect all subdomains to a subdirectory. If you have only one subdomain you want to redir... |
13,485 | <p>I have several <code>.pdf</code> files, which should be viewed on my website by clicking a link on a page. But when a pdf file opens, in the address bar the directory where all .pdf files reside is visible. So if the user enters <code>http://example.com/myDir</code> in the address bar he will see and be able to down... | [
{
"answer_id": 13486,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 1,
"selected": false,
"text": "<p>Create an empty file named <code>index.html</code> in your <code>myDir</code> folder. Anyone visiting that folder ... | 2011/05/07 | [
"https://webmasters.stackexchange.com/questions/13485",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/861/"
] | I have several `.pdf` files, which should be viewed on my website by clicking a link on a page. But when a pdf file opens, in the address bar the directory where all .pdf files reside is visible. So if the user enters `http://example.com/myDir` in the address bar he will see and be able to download all files at once. B... | You should disallow directory browsing. There are a few ways you could to that, depending upon what sort of access you have to the server, but [using htaccess](http://www.htaccess-guide.com/disable-directory-listings/) is the simplest.
For example, to prevent all PDF files from being listed:
```
IndexIgnore *.pdf
``... |
13,503 | <p>I have a newly registered domain <code>example.co.uk</code> which I have bought from 123-reg.co.uk and I want to point it to IP address <code>192.0.2.0</code> which is a VPS hosted by a different company.</p>
<p>What DNS records do I need to create on 123-reg.co.uk in order to point <code>example.co.uk</code> and <c... | [
{
"answer_id": 13504,
"author": "Mike Scott",
"author_id": 4311,
"author_profile": "https://webmasters.stackexchange.com/users/4311",
"pm_score": 1,
"selected": false,
"text": "<p>That will do fine as long as you're happy for 123-reg.co.uk to act as the authoritative name server for the ... | 2011/05/07 | [
"https://webmasters.stackexchange.com/questions/13503",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7371/"
] | I have a newly registered domain `example.co.uk` which I have bought from 123-reg.co.uk and I want to point it to IP address `192.0.2.0` which is a VPS hosted by a different company.
What DNS records do I need to create on 123-reg.co.uk in order to point `example.co.uk` and `www.example.co.uk` to `192.0.2.0`? Is the f... | That will do fine as long as you're happy for 123-reg.co.uk to act as the authoritative name server for the domain (which means that if their name servers go down, then your website is effectively offline), you don't care what happens to email sent to `@example.co.uk` email addresses, and you don't have an IPV6 address... |
13,554 | <p>I was interested in tracking the versions of QuickTime my users have installed. As suggested in an <a href="https://webmasters.stackexchange.com/questions/13405/can-i-use-google-analytics-to-count-quicktime-installations">earlier question</a>, I have set up a custom variable and built a report around it. Here is my... | [
{
"answer_id": 13555,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>The <code>_setCustomVar</code> function takes a string for a value and you're setting ver to a number 0. I ... | 2011/05/09 | [
"https://webmasters.stackexchange.com/questions/13554",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6624/"
] | I was interested in tracking the versions of QuickTime my users have installed. As suggested in an [earlier question](https://webmasters.stackexchange.com/questions/13405/can-i-use-google-analytics-to-count-quicktime-installations), I have set up a custom variable and built a report around it. Here is my code for the c... | Your problem is that `0` is a falsy value in JavaScript. So, any number EXCEPT zero will just be cast to a string if you pass it as a Number. But, since `0` evaluates as false, it gets interpreted that you're not passing a value for a required field, and the `setCustomVar` fails. So, yes, setting it to `"0"` instead of... |
13,646 | <p>I have a local test server, and I am attempting to write a file with PHP. I am getting a message that the folder (<code>../uploads/</code>) does not exist or I do not have permission.</p>
<p>My directory structure is </p>
<pre><code>D:\xampp\htdocs\website\ //<--root
D:\xampp\htdocs\website\library //<--wher... | [
{
"answer_id": 13653,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>I'm not an expert on this but as long as the directory is not set to be read only, and it usually isn't by d... | 2011/05/11 | [
"https://webmasters.stackexchange.com/questions/13646",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4751/"
] | I have a local test server, and I am attempting to write a file with PHP. I am getting a message that the folder (`../uploads/`) does not exist or I do not have permission.
My directory structure is
```
D:\xampp\htdocs\website\ //<--root
D:\xampp\htdocs\website\library //<--where script runs
D:\xampp\htdocs\website\... | I'm not an expert on this but as long as the directory is not set to be read only, and it usually isn't by default, it should be writable. Are you 100% sure your path is correct? Have you tried the full path instead of a relative path? |
13,657 | <p>As some people might know, adding share buttons from Facebook and Twitter can cause a page to slow down. I've seen many sites pass on the common iframe implementations that these sites offer and simply create icons that link to a sharer url for better control of page performance.
<a href="http://www.facebook.com/sh... | [
{
"answer_id": 13664,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 3,
"selected": false,
"text": "<p>You can still use the following link formats to share pages*, being sure to escape the URLs:</p>\n\n<p><strong>Twi... | 2011/05/12 | [
"https://webmasters.stackexchange.com/questions/13657",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7445/"
] | As some people might know, adding share buttons from Facebook and Twitter can cause a page to slow down. I've seen many sites pass on the common iframe implementations that these sites offer and simply create icons that link to a sharer url for better control of page performance.
<http://www.facebook.com/sharer/sharer.... | You can still use the following link formats to share pages\*, being sure to escape the URLs:
**Twitter:**
```
<a href="http://twitter.com/home?status=Your%20message%20here:%20http://yourshorturl.com">Share on twitter</a>
```
**Facebook:**
```
<a href="http://www.facebook.com/sharer.php?u=http://yourshorturl.com&t... |
13,694 | <p>In a web debugger, the html of a 301 redirect page shows up as:</p>
<pre><code><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a hre... | [
{
"answer_id": 13703,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>Ideally you will send a 301 HTTP response status code. If you can't do that a meta refresh that is immediate ... | 2011/05/12 | [
"https://webmasters.stackexchange.com/questions/13694",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6033/"
] | In a web debugger, the html of a 301 redirect page shows up as:
```
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.website.com/webpage.htm">here</a>.</p>
</body></html>
```
I'm... | Ideally you will send a 301 HTTP response status code. If you can't do that a meta refresh that is immediate will also work and be [counted as a 301 or 302 redirect depending on the search engine](http://sebastians-pamphlets.com/google-and-yahoo-treat-undelayed-meta-refresh-as-301-redirect/).
```
<meta http-equiv="ref... |
13,699 | <p>I'd like to allow users to text to a certian number in order to complete actions on their accounts. An example would be</p>
<pre><code>update name with Captain
</code></pre>
<p>Basically what I'm asking is about is a service that can receive texts and has an API so that I can use them for my site... Thanks for any... | [
{
"answer_id": 13703,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>Ideally you will send a 301 HTTP response status code. If you can't do that a meta refresh that is immediate ... | 2011/05/13 | [
"https://webmasters.stackexchange.com/questions/13699",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7462/"
] | I'd like to allow users to text to a certian number in order to complete actions on their accounts. An example would be
```
update name with Captain
```
Basically what I'm asking is about is a service that can receive texts and has an API so that I can use them for my site... Thanks for any help! | Ideally you will send a 301 HTTP response status code. If you can't do that a meta refresh that is immediate will also work and be [counted as a 301 or 302 redirect depending on the search engine](http://sebastians-pamphlets.com/google-and-yahoo-treat-undelayed-meta-refresh-as-301-redirect/).
```
<meta http-equiv="ref... |
13,717 | <p>I know there are lots of answers both here (e.g. <a href="https://webmasters.stackexchange.com/questions/1198/subdomain-versus-subdirectory">this</a> and <a href="https://webmasters.stackexchange.com/questions/13220/domain-subdomain-and-ranking">this</a>) and elsewhere which deal with subdomains and their impact on ... | [
{
"answer_id": 13718,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>I think xxx.yyy.com confuses people, they are used to almost always just having to type something. Search e... | 2011/05/13 | [
"https://webmasters.stackexchange.com/questions/13717",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1588/"
] | I know there are lots of answers both here (e.g. [this](https://webmasters.stackexchange.com/questions/1198/subdomain-versus-subdirectory) and [this](https://webmasters.stackexchange.com/questions/13220/domain-subdomain-and-ranking)) and elsewhere which deal with subdomains and their impact on SEO. However, often the q... | Really, you could have both. Decide which one will be the primary domain. If xxxyyy.com is the primary domain that is running the site, then you could have xxx.yyy.com (and www.xxxyyy.com) auto redirect to xxxyyy.com. If you do that, make sure that you are sending a '301' status code with the redirect so that search en... |
13,731 | <p>I have a lot of SHTML pages.<br>
If I change these to PHP to add some more functionality <em>(obviously changing stuff like includes to PHP where necessary)</em> <strong>will this effect how search engines index my site?</strong> <em>(most importantly Google)</em></p>
<p>Will they still index the PHP files the sa... | [
{
"answer_id": 13734,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>Will they still index the PHP files\n the same as the old SHTML and just as\n often, etc.?<... | 2011/05/13 | [
"https://webmasters.stackexchange.com/questions/13731",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7474/"
] | I have a lot of SHTML pages.
If I change these to PHP to add some more functionality *(obviously changing stuff like includes to PHP where necessary)* **will this effect how search engines index my site?** *(most importantly Google)*
Will they still index the PHP files the same as the old SHTML and just as often, e... | It's also possible for you to run .shtml pages as PHP pages without having to change your file extension. All you need to do is tell Apache to handle .shtml pages as PHP. The following snippet will do that for you:
```
<FilesMatch "\.shtml$">
ForceType application/x-httpd-php
</FilesMatch>
```
That way you don't h... |
13,737 | <p>Seems to me that they are an easy way out and band aid solution to a problem that could be solved in other ways. I have never implemented a captcha field on a website and do not intend to in the future, but I am curious when I see Google, Yahoo and eBay all using them. Surely there are better solutions to the proble... | [
{
"answer_id": 13734,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>Will they still index the PHP files\n the same as the old SHTML and just as\n often, etc.?<... | 2011/05/13 | [
"https://webmasters.stackexchange.com/questions/13737",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7473/"
] | Seems to me that they are an easy way out and band aid solution to a problem that could be solved in other ways. I have never implemented a captcha field on a website and do not intend to in the future, but I am curious when I see Google, Yahoo and eBay all using them. Surely there are better solutions to the problem.
... | It's also possible for you to run .shtml pages as PHP pages without having to change your file extension. All you need to do is tell Apache to handle .shtml pages as PHP. The following snippet will do that for you:
```
<FilesMatch "\.shtml$">
ForceType application/x-httpd-php
</FilesMatch>
```
That way you don't h... |
13,794 | <p>My main web page is <code>nmjava.com/index.html</code>, I have posted "nmjava.com" in different places on the web, when visitors click on the link how do I know where they are from ?</p>
<p>I've come up with the following method, but I wonder if there are any other ways to do it ?</p>
<pre><code><1> Create a... | [
{
"answer_id": 13795,
"author": "Mike Chess",
"author_id": 8560,
"author_profile": "https://webmasters.stackexchange.com/users/8560",
"pm_score": 1,
"selected": false,
"text": "<p><a href=\"http://www.google.com/analytics/\" rel=\"nofollow\">Google Analytics</a> is one way.</p>\n"
},
... | 2011/05/14 | [
"https://webmasters.stackexchange.com/questions/13794",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | My main web page is `nmjava.com/index.html`, I have posted "nmjava.com" in different places on the web, when visitors click on the link how do I know where they are from ?
I've come up with the following method, but I wonder if there are any other ways to do it ?
```
<1> Create a few pages : Page_1.html , Page_2.html... | [Google Analytics](http://www.google.com/analytics/) is one way. |
13,804 | <p>I have several domains which I'd like to point to another (I'll call it foo.com). A couple of things aren't entirely clear to me.</p>
<p>First, the DNS. I'm using Kloxo/HyperVM. Do I need to create separate DNS entries for each domain? Or do I just create separate CNAME or other records under foo.com? I thought it ... | [
{
"answer_id": 13806,
"author": "alexus",
"author_id": 7508,
"author_profile": "https://webmasters.stackexchange.com/users/7508",
"pm_score": 0,
"selected": false,
"text": "<p>I'd use DNS A record and point them to same IP and then using VirtualHost in Apache set them up to be catchall, ... | 2011/05/14 | [
"https://webmasters.stackexchange.com/questions/13804",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7507/"
] | I have several domains which I'd like to point to another (I'll call it foo.com). A couple of things aren't entirely clear to me.
First, the DNS. I'm using Kloxo/HyperVM. Do I need to create separate DNS entries for each domain? Or do I just create separate CNAME or other records under foo.com? I thought it was the la... | If you are redirecting a few domain to one, why not do this in your registrars account and forward the domains to your one primary domain? Doing it in `.htaccess` or even in DNS is a bit of a waste of resources when you can configure it in the registrar account to forward.
You can also set your www in the DNS manageme... |
13,848 | <p>Example:</p>
<pre><code><svg><text>Hello World</text></svg>?
</code></pre>
| [
{
"answer_id": 13856,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p><a href=\"https://developers.google.com/search/blog/2010/08/google-now-indexes-svg\" rel=\"nofollow noreferre... | 2011/05/15 | [
"https://webmasters.stackexchange.com/questions/13848",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7164/"
] | Example:
```
<svg><text>Hello World</text></svg>?
``` | [Yes](https://developers.google.com/search/blog/2010/08/google-now-indexes-svg)
>
> You can now use Google search to find SVG documents. SVG is an open,
> XML-based format for vector graphics with support for interactive
> elements. We’re big fans of open standards, and our mission is to
> organize the world’s inform... |
13,852 | <p>I'm REALLY bad with .htaccess files, and reading through the existing questions on SO only confuse me more (mainly because they're all situation-specific and don't <em>exactly</em> apply to my situation at hand). I'm making a script that generates dynamic images through PHP. The script takes 1 variable, which makes ... | [
{
"answer_id": 13853,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>Please the following in your .htaccess file:</p>\n\n<pre><code>RewriteEngine On\nRewriteRule ^script/(\\w+)\\.png$... | 2011/05/15 | [
"https://webmasters.stackexchange.com/questions/13852",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7518/"
] | I'm REALLY bad with .htaccess files, and reading through the existing questions on SO only confuse me more (mainly because they're all situation-specific and don't *exactly* apply to my situation at hand). I'm making a script that generates dynamic images through PHP. The script takes 1 variable, which makes the URL lo... | Please the following in your .htaccess file:
```
RewriteEngine On
RewriteRule ^script/(\w+)\.png$ script/image.php?name=$1 [L]
```
This assumes name is at least 1 alphanumeric or underscore character. It will also only work for png extensions. |
13,920 | <p>Does Google consider bounce rate or something similar in ranking sites?</p>
<p><strong>Background:</strong> here at Stack Exchange we noticed that the latest Google algorithm changes resulted in about a 20% dip in traffic to <a href="http://serverfault.com">Server Fault</a> (and a much smaller dip in traffic to <a ... | [
{
"answer_id": 13922,
"author": "Silver Dragon",
"author_id": 7554,
"author_profile": "https://webmasters.stackexchange.com/users/7554",
"pm_score": 2,
"selected": false,
"text": "<p>While this question is interesting in the hypothetical sense, it lacks the action-ability part of being p... | 2011/05/17 | [
"https://webmasters.stackexchange.com/questions/13920",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10/"
] | Does Google consider bounce rate or something similar in ranking sites?
**Background:** here at Stack Exchange we noticed that the latest Google algorithm changes resulted in about a 20% dip in traffic to [Server Fault](http://serverfault.com) (and a much smaller dip in traffic to [Super User](http://superuser.com)). ... | This is very likely Google can estimate your bounce rate, if you take into account a new feature that detects when the user is **clicking the back button:**
1. Search Google:

2. Click a search result.
3. Click back.
4. Google is showing a new option... |
13,954 | <p>Help me find javascript slider. I can't find it anywhere - i just saw it one time and was shocked, how it was good implemented.</p>
<p>So, it looks like image below:</p>
<pre><code> _____
----.----| |----.----
1 . 2 | 3 | 4 . 5
----.----|____|----.----
</code></pre>
<p>On center (3) image is zoome... | [
{
"answer_id": 13956,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 2,
"selected": false,
"text": "<p>The jQuery <a href=\"http://plugins.jquery.com/project/SlidingGallery\" rel=\"nofollow\">Sliding Gallery</a> plugi... | 2011/05/17 | [
"https://webmasters.stackexchange.com/questions/13954",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7057/"
] | Help me find javascript slider. I can't find it anywhere - i just saw it one time and was shocked, how it was good implemented.
So, it looks like image below:
```
_____
----.----| |----.----
1 . 2 | 3 | 4 . 5
----.----|____|----.----
```
On center (3) image is zoomed and bigger, than others | The jQuery [Sliding Gallery](http://plugins.jquery.com/project/SlidingGallery) plugin enlarges the central image in the way you describe. There's a [demo here.](http://www.meadmiracle.com/SlidingGalleryDemo1.htm) |
14,002 | <p>A quick search on WP came up with some outdated plugins and some with no screenshots.</p>
<p>I specifically need to embed playlists; interested in screenshots if you can share.</p>
<p>Thanks!</p>
| [
{
"answer_id": 14004,
"author": "Denis",
"author_id": 494,
"author_profile": "https://webmasters.stackexchange.com/users/494",
"pm_score": 0,
"selected": false,
"text": "<p>What about <a href=\"http://wordpress.org/extend/plugins/jetpack/\" rel=\"nofollow\">\"Jetpack by WordPress.com\"</... | 2011/05/18 | [
"https://webmasters.stackexchange.com/questions/14002",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7608/"
] | A quick search on WP came up with some outdated plugins and some with no screenshots.
I specifically need to embed playlists; interested in screenshots if you can share.
Thanks! | The [YouTube embed](http://wordpress.org/extend/plugins/youtube-embed/) plugin supports playlists, features a screenshot, and appears to be actively maintained. To embed a playlist, install the plugin and then add the following shortcode in the post editor:
```
[youtube_playlist width=200 height=100]playlist_id[/youtu... |
14,018 | <p>Do UTM-tags (Urchin Traffic Monitor) in a backlink affect SEO? </p>
<p>E.g.</p>
<pre><code>1) http://www.domain.tld/
2) http://www.domain.tld/?utm_source=rss&utm_medium=rss&utm_campaign=rss
</code></pre>
<p>Both links are pointing from website A to the same webpage on website B (the one mentioned above), ... | [
{
"answer_id": 14019,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>It will not affect SEO.</p>\n\n<p>But bear in mind to use only one type of link on all the pages. Otherwise you w... | 2011/05/18 | [
"https://webmasters.stackexchange.com/questions/14018",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Do UTM-tags (Urchin Traffic Monitor) in a backlink affect SEO?
E.g.
```
1) http://www.domain.tld/
2) http://www.domain.tld/?utm_source=rss&utm_medium=rss&utm_campaign=rss
```
Both links are pointing from website A to the same webpage on website B (the one mentioned above), but look different. #2 isn't exactly a pr... | It *shouldn't* affect SEO as I would expect Google to recognize it's own product being used (Google Analytics). But to be on the safe side using canonical URLs to point to the non-query string version of the URL (http://www.domain.tld/) would be a smart idea. |
14,121 | <p>We're running a lot of sites and we've started to get a lot of these errors in Webmaster Tools:</p>
<blockquote>
<p>Sitemap is HTML<br />
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.</p>
</blockquote>
<p>One of the problematic sitemaps:</p>
<pre><code><?xml version="... | [
{
"answer_id": 14122,
"author": "Mark Henderson",
"author_id": 138,
"author_profile": "https://webmasters.stackexchange.com/users/138",
"pm_score": 2,
"selected": false,
"text": "<p>Because of the <code>content-type</code> header that it's spitting out. Inspect it with your favourite too... | 2011/05/20 | [
"https://webmasters.stackexchange.com/questions/14121",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7474/"
] | We're running a lot of sites and we've started to get a lot of these errors in Webmaster Tools:
>
> Sitemap is HTML
>
> Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
>
>
>
One of the problematic sitemaps:
```
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http... | Farseeker's suggestion is a good first step in troubleshooting (a `text/html` content-type would certainly produce this result) - Google Webmaster Tools should display a *different* error message if the sitemap file contains invalid XML.
Given the temporary nature of the issue, have you checked your server logs to det... |
14,126 | <p>I want to make search engines display only the title of my web page on their search results.<br>
And I don't want to show any descriptions and any texts of my page on the search results.<br>
<br>
For example, this site is displayed like:</p>
<pre><code>Stack Overflow
A language-independent collaboratively edited qu... | [
{
"answer_id": 14127,
"author": "Brandon Boone",
"author_id": 7681,
"author_profile": "https://webmasters.stackexchange.com/users/7681",
"pm_score": -1,
"selected": false,
"text": "<p>Create a page with just a title and no content. </p>\n\n<pre><code><html><head><title>... | 2011/05/20 | [
"https://webmasters.stackexchange.com/questions/14126",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7717/"
] | I want to make search engines display only the title of my web page on their search results.
And I don't want to show any descriptions and any texts of my page on the search results.
For example, this site is displayed like:
```
Stack Overflow
A language-independent collaboratively edited question and answer sit... | `<meta name="robots" content="nosnippet" />` tells search engines to not include a snippet in search results. |
14,166 | <p>I want to know all the people who access my server, is there a log that shows when and how the people access my server?</p>
<p>--EDIT--</p>
<p>Sorry for not providing any more details awhile ago. My server is Ubuntu 10.04 LTS running in Linode. I heard numerous scary story of hackers trying to hack a server, so I ... | [
{
"answer_id": 14170,
"author": "Lekensteyn",
"author_id": 6597,
"author_profile": "https://webmasters.stackexchange.com/users/6597",
"pm_score": 4,
"selected": true,
"text": "<p>Put on a security camera next to your server if you want to see who's accessing you physical server.</p>\n\n<... | 2011/05/21 | [
"https://webmasters.stackexchange.com/questions/14166",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7712/"
] | I want to know all the people who access my server, is there a log that shows when and how the people access my server?
--EDIT--
Sorry for not providing any more details awhile ago. My server is Ubuntu 10.04 LTS running in Linode. I heard numerous scary story of hackers trying to hack a server, so I want to know wher... | Put on a security camera next to your server if you want to see who's accessing you physical server.
Just to know that someone is sending packets to your server, you can set up IP Tables:
```
sudo iptables -I INPUT -j LOG
sudo iptables -I FORWARD -j LOG
```
This is probably not what you meant, but it logs ALL incom... |
14,177 | <p>I have a series of photos I was asked to publish on a website. Website is on the free hosting (plain HTML and ftp access). Is there any way (javascript framework or anything) to quickly build a gallery, without creating pages manually for each photo category? Or, probably, an offline tool to generate html-structure... | [
{
"answer_id": 14170,
"author": "Lekensteyn",
"author_id": 6597,
"author_profile": "https://webmasters.stackexchange.com/users/6597",
"pm_score": 4,
"selected": true,
"text": "<p>Put on a security camera next to your server if you want to see who's accessing you physical server.</p>\n\n<... | 2011/05/21 | [
"https://webmasters.stackexchange.com/questions/14177",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3389/"
] | I have a series of photos I was asked to publish on a website. Website is on the free hosting (plain HTML and ftp access). Is there any way (javascript framework or anything) to quickly build a gallery, without creating pages manually for each photo category? Or, probably, an offline tool to generate html-structure for... | Put on a security camera next to your server if you want to see who's accessing you physical server.
Just to know that someone is sending packets to your server, you can set up IP Tables:
```
sudo iptables -I INPUT -j LOG
sudo iptables -I FORWARD -j LOG
```
This is probably not what you meant, but it logs ALL incom... |
14,195 | <p>I am trying to use FaceBook Registration Plugin (http://developers.facebook.com/docs/plugins/registration/). It already has name field which I dont want to use instead i want to use my own First Name and Last Name fields Is there a way to do so ?</p>
| [
{
"answer_id": 14198,
"author": "bdrelling",
"author_id": 6812,
"author_profile": "https://webmasters.stackexchange.com/users/6812",
"pm_score": 0,
"selected": false,
"text": "<p>If a user is registering to your site using the plugin, they are trying to connect via Facebook and therefore... | 2011/05/22 | [
"https://webmasters.stackexchange.com/questions/14195",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7721/"
] | I am trying to use FaceBook Registration Plugin (http://developers.facebook.com/docs/plugins/registration/). It already has name field which I dont want to use instead i want to use my own First Name and Last Name fields Is there a way to do so ? | In the iframe url of the registration plugin, you pass in a json object listing the fields you would like on the form.
You can specify named fields (ie ones that exist within Facebook and so can be pre-populated) and also custom fields (anything that facebook doesn't know, but you might want). For example:
```
[
{'n... |
14,236 | <p>So, for a multi user web app, what is better:</p>
<pre><code>http://username.domain.com
</code></pre>
<p>Or</p>
<pre><code>http://domain.com/username
</code></pre>
<p>I would like to get feedback about security, scalability and maintenance specifically, app is php based, so it is .htaccess based for url rewritin... | [
{
"answer_id": 14237,
"author": "McKayla",
"author_id": 7735,
"author_profile": "https://webmasters.stackexchange.com/users/7735",
"pm_score": 1,
"selected": false,
"text": "<p>Using folders is definitely, definitely, definitely easier to manage and much more scalable.</p>\n\n<p>For subd... | 2011/05/23 | [
"https://webmasters.stackexchange.com/questions/14236",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7746/"
] | So, for a multi user web app, what is better:
```
http://username.domain.com
```
Or
```
http://domain.com/username
```
I would like to get feedback about security, scalability and maintenance specifically, app is php based, so it is .htaccess based for url rewriting. | As with any high level question such as this one, the answer will largely depend on your requirements.
The first question I should ask though (since it was not specified in your question) is why are you concerned with a subdomain or subfolder at all? Will these be for "vanity" URLs? If not and you are only serving up ... |
14,238 | <p>I'm trying to create a legal document with decimal numbered subclauses, then alpha and roman subsub and subsubsub clauses. (whew!)</p>
<p>`<strong>1. MAIN HEADING</strong></p>
<pre><code>1.1 This is an example of a sub-clause and you can see that even though the words continue on to the right, it would be best if ... | [
{
"answer_id": 14244,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>I think this is as close as you can get with CSS. It doesn't do the legal numbering and the alpha numbering... | 2011/05/23 | [
"https://webmasters.stackexchange.com/questions/14238",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7736/"
] | I'm trying to create a legal document with decimal numbered subclauses, then alpha and roman subsub and subsubsub clauses. (whew!)
`**1. MAIN HEADING**
```
1.1 This is an example of a sub-clause and you can see that even though the words continue on to the right, it would be best if it wrapped around and formed a blo... | You can achieve almost all your requirements with nested ordered lists and simple CSS to set alpha bullets (a, b, c) or roman numerals (i, ii, iii).
This mark-up:
```html
<ol class="main">
<li>MAIN HEADING
<ol>
<li>This is an example of a sub-clause and you can see that even though the words c... |
14,279 | <p>I'm working with a site that uses slightly different URLs for the same content. The sitemap lists the pages as:</p>
<pre><code>www.website.com/webpage.html
</code></pre>
<p>If you surf through the site the same page is found at:</p>
<pre><code>www.website.com/webpage
</code></pre>
<p>Without the .html ending.</p... | [
{
"answer_id": 14280,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>Those will absolutely be considered two different pages. Just one character is all it takes to make two URLs ... | 2011/05/23 | [
"https://webmasters.stackexchange.com/questions/14279",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6033/"
] | I'm working with a site that uses slightly different URLs for the same content. The sitemap lists the pages as:
```
www.website.com/webpage.html
```
If you surf through the site the same page is found at:
```
www.website.com/webpage
```
Without the .html ending.
This could get fixed using canonical tags, but is ... | Those will absolutely be considered two different pages. Just one character is all it takes to make two URLs different. Canonical URLs are commonly used for different query strings that product the same content but file extension is no different. Definitely use canonical URLs for pages like that. |
14,292 | <p>So we originally have our blog on our main domain (for example, it would be on <code>www.example.com</code>). Now we have moved it to <code>http://blog.example.com</code>. My question is how do we change the address from <code>www.example.com</code> to <code>blog.example.com</code>.</p>
<p>I read this >>> <a href... | [
{
"answer_id": 14293,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>www is technically a sub-domain of example.com. You would simply change your DNS reference from www to blog (in ... | 2011/05/24 | [
"https://webmasters.stackexchange.com/questions/14292",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | So we originally have our blog on our main domain (for example, it would be on `www.example.com`). Now we have moved it to `http://blog.example.com`. My question is how do we change the address from `www.example.com` to `blog.example.com`.
I read this >>> <http://www.google.com/support/webmasters/bin/answer.py?answer=... | Set up [HTTP 301 redirects](http://en.wikipedia.org/wiki/HTTP_301) from your old blog URLs to the corresponding URLs on the new site. As soon as Google reindexes your site, they'll see that it has moved and update their index. In the mean time, the 301 redirects will also send any visitors going to your old site to the... |
14,296 | <p>I've placed the Facebook Like button iframe code on my <a href="http://www.melvilletenniscentre.com.au/" rel="nofollow">website</a>. When I test it, I receive an error: </p>
<p>"name" likes this. · Error. Clicking on Error gives:</p>
<blockquote>
<p>You failed to provide a valid list of
administrators. You n... | [
{
"answer_id": 14328,
"author": "Kyle",
"author_id": 7787,
"author_profile": "https://webmasters.stackexchange.com/users/7787",
"pm_score": 0,
"selected": false,
"text": "<p>Two common reasons why this may not work:</p>\n\n<ul>\n<li>Your facebook username should be included in a meta tag... | 2011/05/24 | [
"https://webmasters.stackexchange.com/questions/14296",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I've placed the Facebook Like button iframe code on my [website](http://www.melvilletenniscentre.com.au/). When I test it, I receive an error:
"name" likes this. · Error. Clicking on Error gives:
>
> You failed to provide a valid list of
> administrators. You need to supply the
> administrators using either a
> ... | I've seen a few questions here about similar things in facebook that are resolved once the url is run through the [Facebook URL Linter](https://developers.facebook.com/tools/lint/) - see if that picks up the admin OpenGraph property.
Next, go to [Facebook Insights](http://facebook.com/insights) and 'claim' your site u... |
14,324 | <p>It seems that my menu bar is displayed with a different font stretch in Firefox than it is in Chrome. See the following: </p>
<p><img src="https://i.stack.imgur.com/ZXK9f.png" alt="different font stretch"></p>
<p>Here is the CSS applied to this element:</p>
<pre><code>font-variant: small-caps;
font-size:13px;
let... | [
{
"answer_id": 14345,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 3,
"selected": false,
"text": "<p>Differences in font rendering between different browsers (and on different operating systems) is a fact of ... | 2011/05/24 | [
"https://webmasters.stackexchange.com/questions/14324",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7546/"
] | It seems that my menu bar is displayed with a different font stretch in Firefox than it is in Chrome. See the following:

Here is the CSS applied to this element:
```
font-variant: small-caps;
font-size:13px;
letter-spacing: 0px;
font-family: Arial;
font... | Chrome uses the WebKit rendering engine. Firefox uses the Gecko engine. Both interpret and display type slightly differently, as do the DirectX and Vega graphics engines used in IE9+ and Opera.
You can't force browsers to render text identically, but you can do a couple of things to ensure that your navigation takes u... |
14,441 | <p>I have this URL rewrite rule in my .htaccess</p>
<pre><code>RewriteEngine on
RewriteRule ^home$ home.php
</code></pre>
<p>but when I try to reach awatag.com/home I get a 404 error.</p>
<p>This rule worked perfectly before moving the domain to GoDaddy.</p>
| [
{
"answer_id": 14442,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Try prefixing the redirect path with a leading slash:</p>\n\n<pre><code>RewriteEngine on\nRewriteRule ^home$ /hom... | 2011/05/26 | [
"https://webmasters.stackexchange.com/questions/14441",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7834/"
] | I have this URL rewrite rule in my .htaccess
```
RewriteEngine on
RewriteRule ^home$ home.php
```
but when I try to reach awatag.com/home I get a 404 error.
This rule worked perfectly before moving the domain to GoDaddy. | Check your old apache config against your new apache config. It might be something as simple as not having mod\_rewrite configured on your new server. |
14,454 | <p>Somehow, a "hacker crawler" is constantly inserting a harmful <code>iframe</code> element into one of my files:</p>
<pre class="lang-html prettyprint-override"><code><iframe src="http://miaspieces.vv.cc/showthread.php?t=70830633" width="0" height="0"></iframe>
</code></pre>
<p>It's done automatically, ... | [
{
"answer_id": 14455,
"author": "Oliver Spryn",
"author_id": 7841,
"author_profile": "https://webmasters.stackexchange.com/users/7841",
"pm_score": 1,
"selected": true,
"text": "<p>Hmm... It's hard to say without seeing the page, and the code the drives it. I don't have any experience wi... | 2011/05/26 | [
"https://webmasters.stackexchange.com/questions/14454",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8472/"
] | Somehow, a "hacker crawler" is constantly inserting a harmful `iframe` element into one of my files:
```html
<iframe src="http://miaspieces.vv.cc/showthread.php?t=70830633" width="0" height="0"></iframe>
```
It's done automatically, and not by a person, I assume.
I've changed all my passwords several times as well... | Hmm... It's hard to say without seeing the page, and the code the drives it. I don't have any experience with that CMS, but, from what I can tell, it looks like it is being inserted into, then pulled out of a database, not a modification via FTP. If that is the case, I would:
1. change your database password
2. point ... |
14,493 | <p>I have a main site with a bunch of subdomains created. Each subdomain is a blog and I want each blog to have its own domain name i.e.</p>
<p>thisguy.com -> blog1.mainsite.com
thatguy.com -> blog2.mainsite.com</p>
<p>I bought the new domains and I set up the CNAME records as above to alias them to the appropriate s... | [
{
"answer_id": 14494,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>You need these entries in the .htaccess file at the root of your hosting (i.e. where mainsite.com goes)</p... | 2011/05/27 | [
"https://webmasters.stackexchange.com/questions/14493",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7669/"
] | I have a main site with a bunch of subdomains created. Each subdomain is a blog and I want each blog to have its own domain name i.e.
thisguy.com -> blog1.mainsite.com
thatguy.com -> blog2.mainsite.com
I bought the new domains and I set up the CNAME records as above to alias them to the appropriate subdomains. Howeve... | You need these entries in the .htaccess file at the root of your hosting (i.e. where mainsite.com goes)
```
RewriteCond %{HTTP_HOST} ^thisguy.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.thisguy.com$
RewriteRule ^/?$ "http\:\/\/blog1\.mainsite\.com" [R=301,L]
```
and so on for thatguy.com and blog2. |
14,520 | <p>I have a link to PDF document on a public web-page. How do I prevent search engines from indexing this link and PDF document? </p>
<p>The only idea I thought of is to use CAPTCHA. However, I wonder if there are any magic words that tell a search engine to not index the link and PDF document? Options using PHP or... | [
{
"answer_id": 14522,
"author": "enoyhs",
"author_id": 17532,
"author_profile": "https://webmasters.stackexchange.com/users/17532",
"pm_score": 1,
"selected": false,
"text": "<p>You can use <em>robots.txt</em> file. You can read more <a href=\"http://www.robotstxt.org/robotstxt.html\" re... | 2011/03/03 | [
"https://webmasters.stackexchange.com/questions/14520",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a link to PDF document on a public web-page. How do I prevent search engines from indexing this link and PDF document?
The only idea I thought of is to use CAPTCHA. However, I wonder if there are any magic words that tell a search engine to not index the link and PDF document? Options using PHP or JavaScript a... | To prevent your PDF file (or any non HTML file) from being listed in search results, the only way is to use the HTTP `X-Robots-Tag` response header, e.g.:
```
X-Robots-Tag: noindex
```
You can do this by adding the following snippet to the site's root .htaccess file or httpd.conf file:
```
<Files ~ "\.pdf$">
Head... |
14,543 | <p>When building new webpage layouts, I think of all the devices out there - cell phones, tablets, desktops, etc - with a diversity of screen sizes. I can see two ways to accommodate this diversity. One is to build a fully fluid layout that adjusts to every screen size out there. On the other hand, I could try to creat... | [
{
"answer_id": 14562,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>A fluid layout is the easiest to create and maintain. You then can also use a mobile stylesheet to \"fix\" a... | 2011/05/29 | [
"https://webmasters.stackexchange.com/questions/14543",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/132/"
] | When building new webpage layouts, I think of all the devices out there - cell phones, tablets, desktops, etc - with a diversity of screen sizes. I can see two ways to accommodate this diversity. One is to build a fully fluid layout that adjusts to every screen size out there. On the other hand, I could try to create l... | **Responsive design** (also known as 'adaptive' design), where the same web page presents the best version of two or more hand-crafted layouts depending on the browser width, is the strongest option for most websites. To see why, it helps to look at all of the options available to web designers:
### Fixed layouts
A f... |
14,613 | <p>All of the forum software I've seen divides postings and their comments up into pages (where each "page" is quite a few pages on the screen and need scrolling).</p>
<p>I assume there is a good reason for doing this, but forcing the user to click page numbers to go through the posts seems bad UI design when there is... | [
{
"answer_id": 14614,
"author": "Mike Scott",
"author_id": 4311,
"author_profile": "https://webmasters.stackexchange.com/users/4311",
"pm_score": 2,
"selected": false,
"text": "<p>If you have a really popular posting with 2,000 followup comments, then the page will load slowly, and be un... | 2011/05/31 | [
"https://webmasters.stackexchange.com/questions/14613",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6260/"
] | All of the forum software I've seen divides postings and their comments up into pages (where each "page" is quite a few pages on the screen and need scrolling).
I assume there is a good reason for doing this, but forcing the user to click page numbers to go through the posts seems bad UI design when there is a perfect... | It probably comes from the days when almost everyone was on dial-up and even text pages loaded slowly. Instead of implementing paging what you could do is if there a really large number of follow ups display just the first one a have a link to a page with all of them, e.g.
```
view all 1280 responses
``` |
14,750 | <p>I'm using the following <code>.htaccess</code> file in one of my subdirectories on my server:</p>
<pre><code>Options +FollowSymlinks
RewriteEngine on
RewriteRule (.*)\.png generate.php?userid=$1
</code></pre>
<p>My non-production environment handled the above just fine without a hitch.</p>
<p>However, when implem... | [
{
"answer_id": 14745,
"author": "Brian Lyttle",
"author_id": 7998,
"author_profile": "https://webmasters.stackexchange.com/users/7998",
"pm_score": 1,
"selected": false,
"text": "<p>The main reason for doing this is that a record is made on the site that you have been redirected. The pag... | 2011/06/02 | [
"https://webmasters.stackexchange.com/questions/14750",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7518/"
] | I'm using the following `.htaccess` file in one of my subdirectories on my server:
```
Options +FollowSymlinks
RewriteEngine on
RewriteRule (.*)\.png generate.php?userid=$1
```
My non-production environment handled the above just fine without a hitch.
However, when implemented on my live production environment and ... | >
> Are there any situations that absolutely require redirection like this, ultimately annoying the user, and what are the technical reasons behind them?
>
>
>
The most common intent (generally in the case of a request which creates a new record in a database, processes a payment transaction, etc) is the preventio... |
14,928 | <p>I've been coding for a while and it's just struck me, what's better to use in terms of SEO:</p>
<pre><code><b>Hello</b>
</code></pre>
<p>or</p>
<pre><code><strong>Hello</strong>
</code></pre>
| [
{
"answer_id": 14931,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>According to Matt Cutts are treated exactly the same. FYI, <code><i></code> and <code><em></code>... | 2011/06/07 | [
"https://webmasters.stackexchange.com/questions/14928",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7801/"
] | I've been coding for a while and it's just struck me, what's better to use in terms of SEO:
```
<b>Hello</b>
```
or
```
<strong>Hello</strong>
``` | According to Matt Cutts are treated exactly the same. FYI, `<i>` and `<em>` are also treated the same.
[Video where Matt Cutts says they have the same weight](http://video.google.com/videoplay?docid=-1756437348670651505&ei=FbKRSaWVEpKwqwLO8bzHCw&q=strong%20tag&hl=en) |
14,933 | <p>I'm getting a lot of 404 errors b/c I recently switched content management systems (Habari to WordPress). I would like to use the 301 redirect plugin for WordPress to capture and helpfully redirect the offending links to the correct urls. Here's an example of the type of errors I'm seeing and what they should be red... | [
{
"answer_id": 14948,
"author": "Chris Ting",
"author_id": 7731,
"author_profile": "https://webmasters.stackexchange.com/users/7731",
"pm_score": 0,
"selected": false,
"text": "<p>What you want is URL rewrite (available through mod_rewrite in Apache). This will translate one URL into a ... | 2011/06/07 | [
"https://webmasters.stackexchange.com/questions/14933",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7686/"
] | I'm getting a lot of 404 errors b/c I recently switched content management systems (Habari to WordPress). I would like to use the 301 redirect plugin for WordPress to capture and helpfully redirect the offending links to the correct urls. Here's an example of the type of errors I'm seeing and what they should be redire... | how many links ?
With redirection plugin, you can edit a link manually !
Other way, you find the file where links are stored (Redirection),
then a batch process with textwrangler (using Regex) to rewrite URL and it's done !
Sebastien |
14,934 | <p>I have a website with the following url: </p>
<pre>
http://www.site.com/folder/
</pre>
<p>But I also have the following url: </p>
<pre>
http://www.site.com/folder.html
</pre>
<p>Is this really bad for Google SEO ?</p>
| [
{
"answer_id": 14935,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Yes, it does hinder SEO. Search engines will see those as two separate pages and will cause a lower ranking.</p>\... | 2011/06/07 | [
"https://webmasters.stackexchange.com/questions/14934",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a website with the following url:
```
http://www.site.com/folder/
```
But I also have the following url:
```
http://www.site.com/folder.html
```
Is this really bad for Google SEO ? | If both URLs pull up the same content then you'll have issues with duplicate content. Duplicate content doesn't cause any lowering of rankings but it will force Google to choose one URL over the other to be displayed in the search results as duplicate content will be filtered out.
You should pick one format (I prefer ... |
14,940 | <p>I've the following code:</p>
<pre><code>p{
font-family: Helvetica, Arial, sans-serif;
font-weight:100;}
</code></pre>
<p>It works on Mac OSX on Safari and Firefox, but the font-weight don't work on Windows in any browser.
Why? How can I solve that?</p>
| [
{
"answer_id": 14941,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 0,
"selected": false,
"text": "<p>According to a comment at the <a href=\"http://reference.sitepoint.com/css/font-weight\" rel=\"nofollow\">Si... | 2011/06/07 | [
"https://webmasters.stackexchange.com/questions/14940",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I've the following code:
```
p{
font-family: Helvetica, Arial, sans-serif;
font-weight:100;}
```
It works on Mac OSX on Safari and Firefox, but the font-weight don't work on Windows in any browser.
Why? How can I solve that? | From the Mozilla Developer Network CSS docs for [font-weight](https://developer.mozilla.org/en/CSS/font-weight):
>
> "If the exact weight given is unavailable, then 600-900 use the closest available darker weight (or, if there is none, the closest available lighter weight), and 100-500 use the closest available light... |
15,016 | <p>I have the following ruleset in my .htaccess file which basically rewrites my php pages and makes them appear as subfolders, so for example, <code>http://www.mysite.co.uk/about-me/</code> points to <code>http://www.mysite.co.uk/about.php</code>:</p>
<pre><code>Options +FollowSymLinks
RewriteEngine On
RewriteCond %... | [
{
"answer_id": 15007,
"author": "takteek",
"author_id": 6671,
"author_profile": "https://webmasters.stackexchange.com/users/6671",
"pm_score": 2,
"selected": true,
"text": "<p>Are you sure they're not leaving links in the author field? 99% of blog spam comments that I get have the spam l... | 2011/06/08 | [
"https://webmasters.stackexchange.com/questions/15016",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8123/"
] | I have the following ruleset in my .htaccess file which basically rewrites my php pages and makes them appear as subfolders, so for example, `http://www.mysite.co.uk/about-me/` points to `http://www.mysite.co.uk/about.php`:
```
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.mysite.co.uk$ [NC]... | Are you sure they're not leaving links in the author field? 99% of blog spam comments that I get have the spam link for the author and a seemingly innocuous message for the body.
It could also be that if you have a non-standard comment system bots are finding it but not filling out the fields correctly because, for ex... |
15,020 | <pre><code><INPUT TYPE=TEXT NAME="Gw" MAXLENGTH="225" size="42" autofocus="autofocus">
</code></pre>
<p>If I try this with Google Chrome it works. I just want to highlight a form without <code><script></code>.</p>
<p>Why doesn't it work?</p>
| [
{
"answer_id": 15021,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>It should work in Firefox 4. But if you're using an older version of Firefox it won't work as the autofocus a... | 2011/06/09 | [
"https://webmasters.stackexchange.com/questions/15020",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7481/"
] | ```
<INPUT TYPE=TEXT NAME="Gw" MAXLENGTH="225" size="42" autofocus="autofocus">
```
If I try this with Google Chrome it works. I just want to highlight a form without `<script>`.
Why doesn't it work? | It should work in Firefox 4. But if you're using an older version of Firefox it won't work as the autofocus attribute is new to HTML5 which only gained broad support in Firefox 4.. |
15,086 | <p>how can I configure Apache server, to mantain requests such as:
<a href="http://developers.facebook.com/docs/reference/fql/" rel="nofollow">http://developers.facebook.com/docs/reference/fql/</a>
(i mean the /one/two/three)?</p>
<p>What's the name of this technique and how it is done?</p>
<p>Thanks.</p>
| [
{
"answer_id": 15087,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p><a href=\"http://www.websitepublisher.net/article/search_engine_friendly_urls/2\" rel=\"nofollow\">You can do... | 2011/06/10 | [
"https://webmasters.stackexchange.com/questions/15086",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8153/"
] | how can I configure Apache server, to mantain requests such as:
<http://developers.facebook.com/docs/reference/fql/>
(i mean the /one/two/three)?
What's the name of this technique and how it is done?
Thanks. | [You can do that with Apache Forcetype](http://www.websitepublisher.net/article/search_engine_friendly_urls/2).
>
> Typically a web server knows how to
> handle requests by the extension any
> given file has. For instance, if a
> file has a .php extension Apache knows
> to parse it for PHP code before
> sending... |
15,116 | <p>I have a domain, say www.example.com which is redirected to a website built in Google Sites. I don't want different search engines treat example.com as a different site from www.example.com. How do I make a permanent link between the two? My domain is under GoDaddy.</p>
<p><strong>EDIT</strong></p>
<p>In Go Daddy,... | [
{
"answer_id": 15117,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": false,
"text": "<p>1) Do a 301 redirect from one to the other. Here is the code you can place in an .htaccess file in your webr... | 2011/06/10 | [
"https://webmasters.stackexchange.com/questions/15116",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a domain, say www.example.com which is redirected to a website built in Google Sites. I don't want different search engines treat example.com as a different site from www.example.com. How do I make a permanent link between the two? My domain is under GoDaddy.
**EDIT**
In Go Daddy, I have forwarding option set ... | 1) Do a 301 redirect from one to the other. Here is the code you can place in an .htaccess file in your webroot (change your\_domain.com to be your actual domain):
```
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
```
2) In [Google Webmaster... |
15,137 | <p>Google <a href="http://gmailblog.blogspot.com/2011/06/our-plans-to-support-modern-browsers.html">recently announced</a> that they will no longer support older browsers on Aug 1st:</p>
<blockquote>
<p>For this reason, soon Google Apps will only support modern browsers. Beginning August 1st, we’ll support the curre... | [
{
"answer_id": 15138,
"author": "Jason Gennaro",
"author_id": 8302,
"author_profile": "https://webmasters.stackexchange.com/users/8302",
"pm_score": 4,
"selected": false,
"text": "<p>I think this has to be dictated by metrics. If a significant number / percentage of visitors is using ol... | 2011/06/11 | [
"https://webmasters.stackexchange.com/questions/15137",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2755/"
] | Google [recently announced](http://gmailblog.blogspot.com/2011/06/our-plans-to-support-modern-browsers.html) that they will no longer support older browsers on Aug 1st:
>
> For this reason, soon Google Apps will only support modern browsers. Beginning August 1st, we’ll support the current and prior major release of C... | ```
If ( your site does not make money ){
do what makes you happy
}
else if ( the cost of supporting IE6 > the money you make from IE6 users ) {
stop supporting IE6
}
else {
keep making money from IE6 users
}
``` |
15,142 | <p>I have installed Joomla 1.5.22 on a new hosting account, which doesn't have a domain yet, so it's public URL is <a href="http://cp-013.micron21.com/~annimac/" rel="nofollow">http://cp-013.micron21.com/~annimac/</a></p>
<p>A message saying: XML Parsing Error at 1:1544. Error 4: not well-formed (invalid token). The ... | [
{
"answer_id": 15143,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Your problem is with the templateDetails.xml file in your template. Here is the tutorial how to repair it:\n<a hr... | 2011/06/11 | [
"https://webmasters.stackexchange.com/questions/15142",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I have installed Joomla 1.5.22 on a new hosting account, which doesn't have a domain yet, so it's public URL is <http://cp-013.micron21.com/~annimac/>
A message saying: XML Parsing Error at 1:1544. Error 4: not well-formed (invalid token). The source code for this message is:
```
<dl id="system-message">
<dt class="e... | The problem seems to be in your "Custom Module" go to "Module manager" find your module that should appear in that position and edit&save it, or if that's not possible copy it's content from the old (working) host and paste it into NEW "custom component" in current one. |
15,160 | <p>The title pretty much says it all.</p>
<p>I want to direct all traffic to an under construction page except for traffic originating from my IP address so I can move a large development site into production and tweak a few things along the way.</p>
<p>Any way to do this in .htaccess?</p>
<p>Thanks.</p>
| [
{
"answer_id": 15161,
"author": "esqew",
"author_id": 7518,
"author_profile": "https://webmasters.stackexchange.com/users/7518",
"pm_score": 3,
"selected": true,
"text": "<pre><code>RewriteCond %{REMOTE_ADDR} != 192.168.1.0 #your ip goes here\nRewriteRule !^maintanence$ maintanence [L]\n... | 2011/06/12 | [
"https://webmasters.stackexchange.com/questions/15160",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8239/"
] | The title pretty much says it all.
I want to direct all traffic to an under construction page except for traffic originating from my IP address so I can move a large development site into production and tweak a few things along the way.
Any way to do this in .htaccess?
Thanks. | ```
RewriteCond %{REMOTE_ADDR} != 192.168.1.0 #your ip goes here
RewriteRule !^maintanence$ maintanence [L]
``` |
15,235 | <p>From a post on <a href="http://web.archive.org/web/20110726002045/http://diveintohtml5.org/offline.html" rel="nofollow">http://diveintohtml5.org/offline.html (Wayback Machine Copy)</a></p>
<blockquote>
<p>Your cache manifest file can be
located anywhere on your web server,
but it must be served with the conte... | [
{
"answer_id": 15236,
"author": "phihag",
"author_id": 5061,
"author_profile": "https://webmasters.stackexchange.com/users/5061",
"pm_score": 3,
"selected": false,
"text": "<p>Typically, in the root directory of your application, you'll have 3 files:</p>\n\n<ul>\n<li>index.html (<code>&l... | 2011/06/13 | [
"https://webmasters.stackexchange.com/questions/15235",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | From a post on [http://diveintohtml5.org/offline.html (Wayback Machine Copy)](http://web.archive.org/web/20110726002045/http://diveintohtml5.org/offline.html)
>
> Your cache manifest file can be
> located anywhere on your web server,
> but it must be served with the content
> type text/cache-manifest. If you are
>... | Typically, in the root directory of your application, you'll have 3 files:
* index.html (`<html manifest="app.manifest">...</html>`).
This can also be auto-generated with a server-side language such as php, jsp, Ruby ...
* app.manifest (`CACHE MANIFEST ...`)
* .htaccess (`AddType text/cache-manifest .manifest`) |
15,285 | <p>Ideally, when a prospective employer or client googles you or your companies name, they get the most relevant things first. However, this is rarely the case. In a perfect world, if I were able, I would have my first 5 hits be some order of my website, twitter, linkedin, github etc.</p>
<p>Right now its a hodgepodge... | [
{
"answer_id": 15289,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>In your github profile you could use <code>rel=\"me\"</code> to link to your own site</p>\n\n<pre><code><... | 2011/06/14 | [
"https://webmasters.stackexchange.com/questions/15285",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8283/"
] | Ideally, when a prospective employer or client googles you or your companies name, they get the most relevant things first. However, this is rarely the case. In a perfect world, if I were able, I would have my first 5 hits be some order of my website, twitter, linkedin, github etc.
Right now its a hodgepodge of social... | In your github profile you could use `rel="me"` to link to your own site
```
<a href="http://myname.com/" rel="me">my site</a>
```
More details at <http://microformats.org/wiki/rel-me> (it needs to be bidirectional). Google are also experimenting with [new markup to indicate authorship](http://googlewebmastercentral... |
15,320 | <p>The web master at my corporation added SSL to the web site and now none of my users can download Microsoft word and xcel files the sites generates. According to Microsoft the following must be down.</p>
<p>Web sites that want to allow this type of operation should remove the no-cache header or headers. </p>
<p>Typ... | [
{
"answer_id": 15321,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 0,
"selected": false,
"text": "<p>Assuming this is a custom header, <a href=\"http://technet.microsoft.com/en-us/library/cc733102%28WS.10%29.a... | 2011/06/14 | [
"https://webmasters.stackexchange.com/questions/15320",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8296/"
] | The web master at my corporation added SSL to the web site and now none of my users can download Microsoft word and xcel files the sites generates. According to Microsoft the following must be down.
Web sites that want to allow this type of operation should remove the no-cache header or headers.
Typical of MS they d... | You say that this affects Excel files that are generated by your application. What about straight-up downloads? Try sticking an Excel file into your webroot manually, then downloading it. Does that come down OK?
The first thing I check when I have "file type x won't download" issues is MIME types. Could something have... |
15,324 | <p>I just created a simple webpage where people can browse funny photos and share it with their friends.</p>
<p>But I'm having problems with the Facebook like button. I have used the Facebook like button before on a static URL with iframe. And that seemed to work fine.</p>
<p>I'mm using the XFBML version and not the ... | [
{
"answer_id": 15325,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Try removing the <code>href</code> attribute altogethr:</p>\n\n<pre><code><div id=\"fb-root\"></div... | 2011/06/14 | [
"https://webmasters.stackexchange.com/questions/15324",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8303/"
] | I just created a simple webpage where people can browse funny photos and share it with their friends.
But I'm having problems with the Facebook like button. I have used the Facebook like button before on a static URL with iframe. And that seemed to work fine.
I'mm using the XFBML version and not the iframe version be... | Your problem might be with the Javascript SDK.
According to FB, it's needed for rendering XFBML plugins. It looks as if you need to register, too.
<http://developers.facebook.com/docs/reference/javascript/>
Also, according to the same page,
>
> In order to use XFBML on your webpage,
> you must add an XML namesp... |
15,336 | <p>To repro:</p>
<ol>
<li>Go to google and do a search (for example, follow this link to <a href="http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=jeff%20atwood">search for Jeff Atwood</a>)</li>
<li>Follow the first result.</li>
<li>Hit back in Chrome.</li>
<li>Observe that the text that appears that sa... | [
{
"answer_id": 15337,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 3,
"selected": false,
"text": "<p>The <a href=\"http://www.si-les-idees-suffisaient.net/jquery/textgrad.html\" rel=\"nofollow\">jQuery textgrad plugi... | 2011/06/14 | [
"https://webmasters.stackexchange.com/questions/15336",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/239/"
] | To repro:
1. Go to google and do a search (for example, follow this link to [search for Jeff Atwood](http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=jeff%20atwood))
2. Follow the first result.
3. Hit back in Chrome.
4. Observe that the text that appears that says "Block all codinghorror.com results" has a "shi... | I'm not on Google's cool person list, but from your screencast I got the idea. You can do this with a clever combination of `-webkit-background-clip: text` and some gradients (provided you're on a webkit browser). Here's a (messy) demo:
<http://jsfiddle.net/N8UjY/3/> |
15,393 | <p>I want to know, is there a huge difference in terms of SEO between these URLs:</p>
<pre><code>example.com/ontario/toronto/listings
</code></pre>
<p>or</p>
<pre><code>example.com/listings.php?p=ontario&c=toronto
</code></pre>
<p>Will one URL rank higher than the other? Is there a huge difference here?</p>
| [
{
"answer_id": 15394,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>Search engines can read query strings just fine so both are acceptable to use.</p>\n\n<p>The first example yo... | 2011/06/15 | [
"https://webmasters.stackexchange.com/questions/15393",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5175/"
] | I want to know, is there a huge difference in terms of SEO between these URLs:
```
example.com/ontario/toronto/listings
```
or
```
example.com/listings.php?p=ontario&c=toronto
```
Will one URL rank higher than the other? Is there a huge difference here? | Search engines can read query strings just fine so both are acceptable to use.
The first example you use does offer more benefits for SEO since it clearly creates a hierarchy with broader categories to the left and more specific categories to the right. It's also good for usability since it is easier for humans to rea... |
15,418 | <p>Just wondering if you can tell me if this is keyword stuffing:</p>
<pre><code><a title="purchase glasses" href=""><img alt="purchase glasses" title="purchase glasses" /><a>
<a title="purchase socks" href=""><img alt="purchase socks" title="purchase socks" /><a>
</code></pre>
<p>... | [
{
"answer_id": 15419,
"author": "harigm",
"author_id": 4392,
"author_profile": "https://webmasters.stackexchange.com/users/4392",
"pm_score": 2,
"selected": true,
"text": "<p>This wont be a Keyword stuffing, since you are not repeating. Suppose if you would have used as the following, th... | 2011/06/16 | [
"https://webmasters.stackexchange.com/questions/15418",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31538/"
] | Just wondering if you can tell me if this is keyword stuffing:
```
<a title="purchase glasses" href=""><img alt="purchase glasses" title="purchase glasses" /><a>
<a title="purchase socks" href=""><img alt="purchase socks" title="purchase socks" /><a>
```
So I thought the following could be penalized:
* 'purchase' i... | This wont be a Keyword stuffing, since you are not repeating. Suppose if you would have used as the following, then it would have been keyword stuffing:
```
<a title="purchase glasses, Purchase glass" href=""><img alt="purchase glasses purchase" title="purchase glasses purchase" /><a>
```
It is advisable that you do... |
15,437 | <p>When printing invoices (PDF) from Magento, the font is 7px... it's absolutely tiny, half my customers probably won't be able to read it, is there a way to make it 12+?</p>
<p>Thanks.</p>
| [
{
"answer_id": 15438,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": true,
"text": "<p>According to <a href=\"http://www.magentocommerce.com/boards/viewthread/31533/\" rel=\"nofollow\">this</a> e... | 2011/06/16 | [
"https://webmasters.stackexchange.com/questions/15437",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8009/"
] | When printing invoices (PDF) from Magento, the font is 7px... it's absolutely tiny, half my customers probably won't be able to read it, is there a way to make it 12+?
Thanks. | According to [this](http://www.magentocommerce.com/boards/viewthread/31533/) entry on the magento message boards you need to edit these files:
```
/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
... |
15,439 | <p>I have written up a PHP script that sends form inputs to an email. However, the free webhost that I've tried could only send SMTP to a domain that you owned. I don't have one yet, and can only use subdomains, and can't send to emails like gmail.com</p>
<p>Do you know of any free webhosts that let you send to gmail?... | [
{
"answer_id": 15438,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": true,
"text": "<p>According to <a href=\"http://www.magentocommerce.com/boards/viewthread/31533/\" rel=\"nofollow\">this</a> e... | 2011/06/16 | [
"https://webmasters.stackexchange.com/questions/15439",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8352/"
] | I have written up a PHP script that sends form inputs to an email. However, the free webhost that I've tried could only send SMTP to a domain that you owned. I don't have one yet, and can only use subdomains, and can't send to emails like gmail.com
Do you know of any free webhosts that let you send to gmail? It's just... | According to [this](http://www.magentocommerce.com/boards/viewthread/31533/) entry on the magento message boards you need to edit these files:
```
/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
... |
15,448 | <p>I have the following URL for affiliates:</p>
<pre><code>http://www.mydomain.com/affiliates/partners/partnerName.do?url=http://www.mydomain.com/product/3
</code></pre>
<p>The value of url will change all the time.</p>
<p>For this, I have used a 302 redirect. I chose to do this because <code>http://www.mydomain.co... | [
{
"answer_id": 15449,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>302 redirects aren't bad for SEO as they are probably the most common redirect in use today. In fact, PHP's <... | 2011/06/16 | [
"https://webmasters.stackexchange.com/questions/15448",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8357/"
] | I have the following URL for affiliates:
```
http://www.mydomain.com/affiliates/partners/partnerName.do?url=http://www.mydomain.com/product/3
```
The value of url will change all the time.
For this, I have used a 302 redirect. I chose to do this because `http://www.mydomain.com/affiliates/partners/partnerName.do` c... | 302 redirects aren't bad for SEO as they are probably the most common redirect in use today. In fact, PHP's `header()` function sends the 302 HTTP response by default.
[Here's what Matt Cutts had to say about 302 redirects](http://www.mattcutts.com/blog/seo-advice-discussing-302-redirects/). Basically they are fine an... |
15,510 | <p>I made a mistake with one of my sites and a whole bunch of data got picked up by Google before I caught it. I need to fix this relatively fast by asking Google to drop the cached copy of the pages and then re-spider as they wish. The URL would be something like:</p>
<pre><code>example.com/memberprofile.php?member... | [
{
"answer_id": 15514,
"author": "jimp",
"author_id": 8256,
"author_profile": "https://webmasters.stackexchange.com/users/8256",
"pm_score": 4,
"selected": true,
"text": "<p>I don't think you can delist with a wildcard. Plus a manual delist only lasts for 90 days. You would be better off ... | 2011/06/17 | [
"https://webmasters.stackexchange.com/questions/15510",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5757/"
] | I made a mistake with one of my sites and a whole bunch of data got picked up by Google before I caught it. I need to fix this relatively fast by asking Google to drop the cached copy of the pages and then re-spider as they wish. The URL would be something like:
```
example.com/memberprofile.php?member=XXXXXX
```
Do... | I don't think you can delist with a wildcard. Plus a manual delist only lasts for 90 days. You would be better off making a correct robots.txt and letting Google reindex. They should drop your pages that are no longer meant to be crawled, but I don't know how quickly that will occur.
See: <https://www.google.com/suppo... |
15,530 | <p>I have recently made a simple (pure HTML) website. The most important key phrase that I want to capture is "full reserve banking". Currently, if I type "full reserve banking" (without quotes) into google, then my site appears as the 7th item on the first page. I am reasonably happy with this as the site is so new. B... | [
{
"answer_id": 15531,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": true,
"text": "<p>I did a search for that phrase, and your site comes up with \"Full Reserve Banking\" as both title and snippet. I'll... | 2011/06/18 | [
"https://webmasters.stackexchange.com/questions/15530",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8390/"
] | I have recently made a simple (pure HTML) website. The most important key phrase that I want to capture is "full reserve banking". Currently, if I type "full reserve banking" (without quotes) into google, then my site appears as the 7th item on the first page. I am reasonably happy with this as the site is so new. But ... | I did a search for that phrase, and your site comes up with "Full Reserve Banking" as both title and snippet. I'll assume this is what you're referring to.
You can suggest what to show for the snippet by providing a meta description tag. Here's [Google's own documentation](http://www.google.com/support/webmasters/bin/... |
15,552 | <p>I'm trying to set up an exclusion filter with a browser cookie, so that my own visits to my don't show up in my Google Analytics. I tried 3 different methods and none of them have worked so far. I would like help understanding what I am doing wrong and how I can fix this.</p>
<p><strong>Method 1</strong><br>
Firs... | [
{
"answer_id": 15555,
"author": "Ewan Heming",
"author_id": 5718,
"author_profile": "https://webmasters.stackexchange.com/users/5718",
"pm_score": 4,
"selected": true,
"text": "<p>There's nothing in your question about the second step of the process. The code you're using should just set... | 2011/06/18 | [
"https://webmasters.stackexchange.com/questions/15552",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8070/"
] | I'm trying to set up an exclusion filter with a browser cookie, so that my own visits to my don't show up in my Google Analytics. I tried 3 different methods and none of them have worked so far. I would like help understanding what I am doing wrong and how I can fix this.
**Method 1**
First, I tried following Googl... | There's nothing in your question about the second step of the process. The code you're using should just set a custom variable that will be sent to GA with the rest of the tracking data. You need to then set up a filter to exclude data where the variable is set to "test\_value".
To create the filter , go to the "Analy... |
15,581 | <p>Maybe is best way to show my problem in one example.</p>
<p>In my .htaccess : </p>
<pre><code>RewriteRule ^catalog/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/ index.php?act=catalog&category=$1&color=$2&size=$3 [NC,L]
</code></pre>
<p>With the address <code>www.site.com/catalog/cat... | [
{
"answer_id": 15582,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>You will need to write another <code>rewrite</code> rule to match the option of not having a size specified:</p>\... | 2011/06/19 | [
"https://webmasters.stackexchange.com/questions/15581",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Maybe is best way to show my problem in one example.
In my .htaccess :
```
RewriteRule ^catalog/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/ index.php?act=catalog&category=$1&color=$2&size=$3 [NC,L]
```
With the address `www.site.com/catalog/category-1/red-3/size-3/` this works excellent
But i... | You can have optional parts, if your PHP script accepts an empty `size` parameter and then does what you want.
Try this:
```
RewriteRule ^catalog/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/([a-z0-9_-]+-([0-9]+)/)? index.php?act=catalog&category=$1&color=$2&size=$4 [NC,L]
```
The important changes are one more paren... |
15,632 | <p>I'm encoutering a problem in one of my sites that most recent keyword of my site is "jpg" in Google Webmaster tools. I'm using Joomla 1.5.9 and phoca for gallery. How to prevent image extenstions to be indexed by robots?</p>
<p>BTW: respective gallery folders are blocked in robots</p>
| [
{
"answer_id": 15645,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 0,
"selected": false,
"text": "<p>The keyword may appear in links to your site. You could password protect the gallery folder and then put th... | 2011/06/21 | [
"https://webmasters.stackexchange.com/questions/15632",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8434/"
] | I'm encoutering a problem in one of my sites that most recent keyword of my site is "jpg" in Google Webmaster tools. I'm using Joomla 1.5.9 and phoca for gallery. How to prevent image extenstions to be indexed by robots?
BTW: respective gallery folders are blocked in robots | From Google Webmaster Central's ["Prevent your images appearing in Google search results":](http://www.google.com/support/webmasters/bin/answer.py?answer=35308)
>
> To remove all the images on your site
> from our index, place the following
> robots.txt file in your server root:
>
>
>
> ```
> User-agent: Googleb... |
15,639 | <p>I am trying to implement clean URLs using <em>.htaccess</em>.</p>
<p>Basically after searching for some time I found out this code </p>
<pre><code>RewriteRule latestnews/([a-zA-Z0-9]+)/$ http://thinkmovie.in/index.php/latestnews/?nid=$1 [L]
RewriteRule latestnews/([a-zA-Z0-9]+)$ http://thinkmovie.in/index.php/late... | [
{
"answer_id": 15636,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>PHP is performed on the serverside. Therefore it takes place before bots see the page so it has no affect on the ... | 2011/06/21 | [
"https://webmasters.stackexchange.com/questions/15639",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8448/"
] | I am trying to implement clean URLs using *.htaccess*.
Basically after searching for some time I found out this code
```
RewriteRule latestnews/([a-zA-Z0-9]+)/$ http://thinkmovie.in/index.php/latestnews/?nid=$1 [L]
RewriteRule latestnews/([a-zA-Z0-9]+)$ http://thinkmovie.in/index.php/latestnews/?nid=$1 [L]
```
so ... | PHP is performed on the serverside. Therefore it takes place before bots see the page so it has no affect on the SEO. |
15,642 | <p>Let me show you what I mean:</p>
<pre><code>IP Pages Hits Bandwidth
85.xx.xx.xxx 236 236 735.00 KB
195.xx.xxx.xx 164 164 533.74 KB
95.xxx.xxx.xxx 90 90 293.47 KB
</code></pre>
<p>It's very clear that these person are crawling my site with bots. There's no way ... | [
{
"answer_id": 15636,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>PHP is performed on the serverside. Therefore it takes place before bots see the page so it has no affect on the ... | 2011/06/21 | [
"https://webmasters.stackexchange.com/questions/15642",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4879/"
] | Let me show you what I mean:
```
IP Pages Hits Bandwidth
85.xx.xx.xxx 236 236 735.00 KB
195.xx.xxx.xx 164 164 533.74 KB
95.xxx.xxx.xxx 90 90 293.47 KB
```
It's very clear that these person are crawling my site with bots. There's no way that you could visit my sit... | PHP is performed on the serverside. Therefore it takes place before bots see the page so it has no affect on the SEO. |
15,666 | <p>When testing my webapp manually I get a confirm box: <a href="http://dl.dropbox.com/u/1342388/syneto/good_conf_box_1.png" rel="nofollow noreferrer">http://dl.dropbox.com/u/1342388/syneto/good_conf_box_1.png http://dl.dropbox.com/u/1342388/syneto/good_conf_box_1.png</a>, the browser renders it with an overlay, but wh... | [
{
"answer_id": 15676,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 1,
"selected": false,
"text": "<p>Try adding this line to the <strong>bottom</strong> of the user.js profile to force modal prompts:</p>\n\n<pre><co... | 2011/06/21 | [
"https://webmasters.stackexchange.com/questions/15666",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | When testing my webapp manually I get a confirm box: [http://dl.dropbox.com/u/1342388/syneto/good\_conf\_box\_1.png http://dl.dropbox.com/u/1342388/syneto/good\_conf\_box\_1.png](http://dl.dropbox.com/u/1342388/syneto/good_conf_box_1.png), the browser renders it with an overlay, but when run with remotewebdriver the ov... | Try adding this line to the **bottom** of the user.js profile to force modal prompts:
```
user_pref("prompts.tab_modal.enabled", true);
```
One of the lines in `user.js` is likely resetting the default behaviour for Firefox 4 prompts, so adding that line at the end of `user.js` should override the reset and force th... |
15,693 | <p>I have a form where I ask for email addresses. Usually I'd use</p>
<pre><code><input type="email" ...>
</code></pre>
<p>but I want to allow a user to type <code>foo</code> rather than <code>foo@mycompany.com</code> in the (likely) case that they are using an <code>@mycompany.com</code> email address. Is th... | [
{
"answer_id": 15694,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>If you're going to allow content that isn't in a <a href=\"https://www.rfc-editor.org/rfc/rfc5322\" rel=\"nof... | 2011/06/22 | [
"https://webmasters.stackexchange.com/questions/15693",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8469/"
] | I have a form where I ask for email addresses. Usually I'd use
```
<input type="email" ...>
```
but I want to allow a user to type `foo` rather than `foo@mycompany.com` in the (likely) case that they are using an `@mycompany.com` email address. Is there a way to get around the validation (if format matches this rege... | If you're going to allow content that isn't in a [valid email address forma](https://www.rfc-editor.org/rfc/rfc5322)t then you'll want to use `<input type="text" ...>` like you said. Although someone *may* enter a whole email address, it isn't exclusive to that field so using `<input type="email" ...>` would not be app... |
15,698 | <p>I have template from ThemeForest and I don't want to edit CSS from this template, because I don't have time for it. </p>
<p>I want integrate Paypal buttons to my web page. The problem is Paypal buttons use a <code><FORM></code> tag for payment selection option. I have overloaded style for the <code><FORM... | [
{
"answer_id": 15727,
"author": "Alex",
"author_id": 231,
"author_profile": "https://webmasters.stackexchange.com/users/231",
"pm_score": 1,
"selected": false,
"text": "<p>Since your CSS declarations are element declarations, the only option you have is to give your particular form an id... | 2011/06/22 | [
"https://webmasters.stackexchange.com/questions/15698",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2456/"
] | I have template from ThemeForest and I don't want to edit CSS from this template, because I don't have time for it.
I want integrate Paypal buttons to my web page. The problem is Paypal buttons use a `<FORM>` tag for payment selection option. I have overloaded style for the `<FORM>`tag, but it does not look like it s... | You could reset those rules to have them display the custom rules you have in your CSS. You can wrap the Paypal buttons in a `<div class="paypalbutton">` and then use CSS resembling this:
```
div.paypal form {
margin-bottom: 0;
}
div.paypal body.ie7 form, div.paypal body.ie8 {
margin-bottom: 0;
}
div.p... |
15,708 | <p>I have a request that may not be possible.</p>
<p>I'd like to line up the elements of a form so that the inputs all start at the same place:</p>
<pre><code>Name: [ ]
Company: [ ]
Some question with a long name: [... | [
{
"answer_id": 15729,
"author": "Christopher",
"author_id": 4803,
"author_profile": "https://webmasters.stackexchange.com/users/4803",
"pm_score": -1,
"selected": false,
"text": "<p>I would use JavaScript and the JQuery library with regular HTML tables to:</p>\n\n<p>-First, calculate the... | 2011/06/22 | [
"https://webmasters.stackexchange.com/questions/15708",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8469/"
] | I have a request that may not be possible.
I'd like to line up the elements of a form so that the inputs all start at the same place:
```
Name: [ ]
Company: [ ]
Some question with a long name: [ ... | Using the CSS `display: inline-block` would be the best way to do it. Depending on your browser compatibility needs, you may need to use some workarounds since it is only supported in modern browsers consistently.
A List Apart has a good article about how to use the `inline-block` setting: [Prettier Accessible Forms](... |
15,709 | <p>I have created many very simple pure HTML websites over the years. Most of them appear to work fine most of the time. But there is one recurring problem which I have never quite sorted out involving strange characters.</p>
<p>The scenario goes like this: I create the site. I look at it in my browser, everything app... | [
{
"answer_id": 15711,
"author": "dmsnell",
"author_id": 205,
"author_profile": "https://webmasters.stackexchange.com/users/205",
"pm_score": 4,
"selected": true,
"text": "<p>These are called gremlins and they are usually caused because whichever program is putting the quotes in is using ... | 2011/06/22 | [
"https://webmasters.stackexchange.com/questions/15709",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8390/"
] | I have created many very simple pure HTML websites over the years. Most of them appear to work fine most of the time. But there is one recurring problem which I have never quite sorted out involving strange characters.
The scenario goes like this: I create the site. I look at it in my browser, everything appears fine.... | These are called gremlins and they are usually caused because whichever program is putting the quotes in is using the actual pretty / curly / smart quotes instead of the proper HTML entities. The fonts don't display right or don't have those characters in them and instead produced the funny symbol.
See [this great art... |
15,739 | <p>I want to know what HTML tags are "compulsory" a web-page should have, in order for it to be displayed by a web-browser. </p>
<p>Also, what is the difference between different versions of HTML, in general?</p>
| [
{
"answer_id": 15743,
"author": "ajcw",
"author_id": 2739,
"author_profile": "https://webmasters.stackexchange.com/users/2739",
"pm_score": 2,
"selected": false,
"text": "<p>The bare essentials you need for a valid HTML5 document, as oulined in <a href=\"http://www.brucelawson.co.uk/2010... | 2011/06/23 | [
"https://webmasters.stackexchange.com/questions/15739",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8492/"
] | I want to know what HTML tags are "compulsory" a web-page should have, in order for it to be displayed by a web-browser.
Also, what is the difference between different versions of HTML, in general? | The absolute minimum HTML you need to create a page that the W3C's [validator](http://validator.w3.org/) considers valid is:
```
<!doctype html><title></title>
```
The [doctype declaration](http://dev.w3.org/html5/spec/syntax.html#the-doctype) says that we're using HTML5. The `<title>` tag would contain the page tit... |
15,740 | <p>My client site is built in Silverstripe, there is a news page, and it allows people to leave comments. Unfortunately we've got loads of spam emails. I'm new to this, is there any way we can disable the comment field by default? How do I do it? Alternatively is there easy way for me to install a spam protection?</p>
... | [
{
"answer_id": 15741,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>You can disable comments for existing pages by going to the Behvaiour tab and de-select the \"Allow comments on t... | 2011/06/23 | [
"https://webmasters.stackexchange.com/questions/15740",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | My client site is built in Silverstripe, there is a news page, and it allows people to leave comments. Unfortunately we've got loads of spam emails. I'm new to this, is there any way we can disable the comment field by default? How do I do it? Alternatively is there easy way for me to install a spam protection?
**Upda... | Take a look at implementing the [disqus](http://disqus.com/) comments system, this has solved the problem for me.
It's free, easy to implement and is used by some very large national newspapers, plus users can login with open ID via google, facebook and around a dozen others.
[My answer here provides some more infor... |
15,750 | <p>I have a ruby on rails website that will be in invite-only mode for the next couple of months. Currently I have it set up so visits to any page performs an authentication:</p>
<pre><code>before_filter :authenticate, :except => [:beta] //authenticate checks for a logged in user
</code></pre>
<p>But the webpage h... | [
{
"answer_id": 15752,
"author": "mooreds",
"author_id": 409,
"author_profile": "https://webmasters.stackexchange.com/users/409",
"pm_score": 3,
"selected": false,
"text": "<p>This is a bad idea. This practice, of showing one thing to search engines and another to users, is called cloaki... | 2011/06/23 | [
"https://webmasters.stackexchange.com/questions/15750",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a ruby on rails website that will be in invite-only mode for the next couple of months. Currently I have it set up so visits to any page performs an authentication:
```
before_filter :authenticate, :except => [:beta] //authenticate checks for a logged in user
```
But the webpage has a lot of content that I wo... | This is a bad idea. This practice, of showing one thing to search engines and another to users, is called cloaking: <http://www.google.com/support/webmasters/bin/answer.py?answer=66355>
It will cause your site more harm than good, with respect to search engine results; it "may cause your site to be perceived as decept... |
15,759 | <p>A site I'm looking at has the following 2 links to its favicon: </p>
<pre><code><link rel="shortcut icon" type="image/ico" href="/_assets960/media/favicon.ico" />
<link rel="icon" href="/favIcon.ico"/>
</code></pre>
<p>Question: Is there a good reason why you would specify the icon twice in these two ... | [
{
"answer_id": 15760,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "<p>Like all things wonderful on the web, it looks like IE is the cause:</p>\n\n<p><a href=\"http://mathiasbynens.be/n... | 2011/06/23 | [
"https://webmasters.stackexchange.com/questions/15759",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8331/"
] | A site I'm looking at has the following 2 links to its favicon:
```
<link rel="shortcut icon" type="image/ico" href="/_assets960/media/favicon.ico" />
<link rel="icon" href="/favIcon.ico"/>
```
Question: Is there a good reason why you would specify the icon twice in these two slightly-different ways? | Like all things wonderful on the web, it looks like IE is the cause:
[Shortcut isn't valid HTML, just for IE](http://mathiasbynens.be/notes/rel-shortcut-icon) |