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 |
|---|---|---|---|---|---|---|
18,673 | <p>Would this work?</p>
<pre><code><input type="text" value="<a href=jroq@gmail.com>JROQ</a>"></input>
</code></pre>
<p>How could I make it happen?</p>
| [
{
"answer_id": 18674,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Yes and no. <strong>Yes</strong>, because the value attribute can accept any string (although you really sho... | 2011/08/24 | [
"https://webmasters.stackexchange.com/questions/18673",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9761/"
] | Would this work?
```
<input type="text" value="<a href=jroq@gmail.com>JROQ</a>"></input>
```
How could I make it happen? | Yes and no. **Yes**, because the value attribute can accept any string (although you really should use HTML entities for the `<` and `>` characters) so you could pass that string to the recipient of the form submission. **No**, because if you are trying to make an actual hyperlink that is not valid HTML.
It also begs... |
18,704 | <p>Is there a way to fetch the first image source from google search if I have a search term?</p>
<p>For example if input is <code>tomato</code>, ouput would be <code>http://www.cksinfo.com/clipart/food/fruits/tomatoes/tomato.png</code></p>
<p>Thanks!</p>
| [
{
"answer_id": 18705,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>You can use the <a href=\"http://code.google.com/apis/imagesearch/\" rel=\"nofollow\">Google Image Search AP... | 2011/08/24 | [
"https://webmasters.stackexchange.com/questions/18704",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4768/"
] | Is there a way to fetch the first image source from google search if I have a search term?
For example if input is `tomato`, ouput would be `http://www.cksinfo.com/clipart/food/fruits/tomatoes/tomato.png`
Thanks! | [Google Custom Search API](https://developers.google.com/custom-search/v1/overview) now includes images. You are limited to 100 queries/day before billing, but it is the only legitimate way to use Google to do your searching for you.
If the link misdirects:
Calling styles
--------------
There is more than one way to... |
18,770 | <p>I'm a webmaster and I have a question about how google or other search engines index site that are search engines. In a normal site, from the homepage if I created a link to all the section and pages of my websites, google index all the pages of my sites.</p>
<p>But sometimes I see sites that they don't have this l... | [
{
"answer_id": 18771,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>As long as someone linked to that URL, and Google found that link while crawling that website, then they wil... | 2011/08/25 | [
"https://webmasters.stackexchange.com/questions/18770",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm a webmaster and I have a question about how google or other search engines index site that are search engines. In a normal site, from the homepage if I created a link to all the section and pages of my websites, google index all the pages of my sites.
But sometimes I see sites that they don't have this link to int... | As long as someone linked to that URL, and Google found that link while crawling that website, then they will know about it and index it.
That page can also be submitted via an XML sitemap. |
18,818 | <p>You might have heard that we launched <a href="http://blog.stackoverflow.com/2011/08/facebook-stackoverflow/">Facebook Stack Overflow</a> yesterday.</p>
<p>As part of this, we modified our code to put <code><meta rel="canonical" ...</code> tags on every question and user on the facebook.stackoverflow.com domain ... | [
{
"answer_id": 18820,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>According <a href=\"http://www.google.com/support/webmasters/bin/answer.py?answer=139394\" rel=\"nofollow no... | 2011/08/26 | [
"https://webmasters.stackexchange.com/questions/18818",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4/"
] | You might have heard that we launched [Facebook Stack Overflow](http://blog.stackoverflow.com/2011/08/facebook-stackoverflow/) yesterday.
As part of this, we modified our code to put `<meta rel="canonical" ...` tags on every question and user on the facebook.stackoverflow.com domain that points to "vanilla" Stack Over... | According [the same page you linked to](http://www.google.com/support/webmasters/bin/answer.py?answer=139394) `rel="canonical"` is only a suggestion and not a directive:
>
> **Is rel="canonical" a suggestion or a directive?**
>
>
> This new option lets site owners suggest the version of a page that Google should tr... |
18,847 | <p>I want to allow a certain html file and my site's index file to be indexed by search engines. Everything else should be disallowed. My home directory does not actually contain an index file, I am using .htaccess to redirect to <code>/cgi-bin/index.cgi</code>. I am currently using this:</p>
<pre><code>User-agent: * ... | [
{
"answer_id": 18848,
"author": "Pekka",
"author_id": 1780,
"author_profile": "https://webmasters.stackexchange.com/users/1780",
"pm_score": 2,
"selected": false,
"text": "<p>Maybe try it the other way round, put the <code>disallow</code> before the <code>allow</code>. </p>\n\n<p>If <a h... | 2011/08/27 | [
"https://webmasters.stackexchange.com/questions/18847",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8880/"
] | I want to allow a certain html file and my site's index file to be indexed by search engines. Everything else should be disallowed. My home directory does not actually contain an index file, I am using .htaccess to redirect to `/cgi-bin/index.cgi`. I am currently using this:
```
User-agent: *
Allow: /cgi-bin/index.cg... | As suggested by Pekka you may want to try to place the Allow directives after the Disallow directives.
But given the differences in interpretations between Google, Bing and others, you may want to use a robots meta tag instead. This will be safer and more granular.
In your disallowed pages:
```
<meta name="robots" c... |
18,919 | <p>I have <code>index.html</code> on my <code>html_directory</code> on my website also I entered a rule as follows:</p>
<pre><code>RewriteRule ^index.html$ newindex.php
</code></pre>
<p>It seems requests to my site is routing to my index.html file , my questions are:</p>
<ol>
<li>Do I need to have index.html file on... | [
{
"answer_id": 20968,
"author": "Aurelio De Rosa",
"author_id": 10718,
"author_profile": "https://webmasters.stackexchange.com/users/10718",
"pm_score": 2,
"selected": true,
"text": "<p>Usually, adding a subdomain is just a server configuration matter. For example, if you are using hostg... | 2011/08/30 | [
"https://webmasters.stackexchange.com/questions/18919",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9882/"
] | I have `index.html` on my `html_directory` on my website also I entered a rule as follows:
```
RewriteRule ^index.html$ newindex.php
```
It seems requests to my site is routing to my index.html file , my questions are:
1. Do I need to have index.html file on my `public_html` directory or I can remove it?
2. Is my r... | Usually, adding a subdomain is just a server configuration matter. For example, if you are using hostgator, within 3 clicks you can have a well configured, ready to use, subdomain. |
19,032 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site">What is duplicate content and how can I avoid being penalized for it on my site?</a> </p>
</blockquote>
<p>Can y... | [
{
"answer_id": 19060,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 0,
"selected": false,
"text": "<p>You can use a cross domain canonical link as described here:</p>\n\n<p><a href=\"http://googlewebmastercent... | 2011/09/01 | [
"https://webmasters.stackexchange.com/questions/19032",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9983/"
] | >
> **Possible Duplicate:**
>
> [What is duplicate content and how can I avoid being penalized for it on my site?](https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site)
>
>
>
Can you please tell me if launching a .co.uk version of ... | You should add canonical links to both the .co.uk and the .com site, with the canonical link pointing to the .com site content.
You should then also add [rel="alternative"](http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=189077) links to all of the .com pages indicating that uk content exists.
for... |
19,133 | <p>I have a download link very similar to <a href="http://www.opera.com/download/get.pl?id=33976&location=270&nothanks=yes&sub=marine" rel="nofollow">Opera's one</a> - it's just a script that sends the file. It doesn't have an extension and there's no obvious way to tell that it's actually a download link.<... | [
{
"answer_id": 19136,
"author": "Peter Taylor",
"author_id": 8286,
"author_profile": "https://webmasters.stackexchange.com/users/8286",
"pm_score": 2,
"selected": false,
"text": "<p>There's no reason not to do both. You could consider requiring an Http-Referer from within your site too -... | 2011/09/03 | [
"https://webmasters.stackexchange.com/questions/19133",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9543/"
] | I have a download link very similar to [Opera's one](http://www.opera.com/download/get.pl?id=33976&location=270¬hanks=yes&sub=marine) - it's just a script that sends the file. It doesn't have an extension and there's no obvious way to tell that it's actually a download link.
So since I don't want robots to crawl th... | There's no reason not to do both. You could consider requiring an Http-Referer from within your site too - the only bot I've seen which sends referrer headers isn't actually a spider but a distributed attempt to exploit the ASP.Net Viewstate oracle padding vulnerability.
I have one directory which I do this on. The .h... |
19,168 | <p>I have a very important announcement to send the more than 300k members of my website. I already have email sending software but they result in spam. So I want to improve my chances of reaching my members' inbox. </p>
<p>Alright my domain registrar is GoDaddy, and my hosting company is LeaseWeb.</p>
<p>This is my ... | [
{
"answer_id": 19169,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "<p>Use a service like mailchimp.</p>\n\n<p><a href=\"http://mailchimp.com/features/email-delivery/\">http://mailchim... | 2011/09/04 | [
"https://webmasters.stackexchange.com/questions/19168",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8763/"
] | I have a very important announcement to send the more than 300k members of my website. I already have email sending software but they result in spam. So I want to improve my chances of reaching my members' inbox.
Alright my domain registrar is GoDaddy, and my hosting company is LeaseWeb.
This is my setting at LeaseW... | If there was a way to bypass spam filters, the spammers would abuse it.
What a commercial mailing list operator does, and which you cannot easily replicate, is build and maintain a reputation as a responsible and reputable source of bulk email. If you are not going to be getting into that, perhaps you could benefit fr... |
19,185 | <p>I was waiting for already 1 week and alexa still not recognize my site. I already put a robot.txt in my site. Locating in www.mydomain.com/robots.txt</p>
<pre><code>User-agent: *
Disallow: /
</code></pre>
<p>Please suggest why this happening, Thanks.</p>
| [
{
"answer_id": 19186,
"author": "xyious",
"author_id": 8957,
"author_profile": "https://webmasters.stackexchange.com/users/8957",
"pm_score": 2,
"selected": false,
"text": "<p>You disallow everything.</p>\n\n<p>my robots.txt looks like:</p>\n\n<pre><code>User-agent: *\nAllow: /\n</code><... | 2011/09/05 | [
"https://webmasters.stackexchange.com/questions/19185",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I was waiting for already 1 week and alexa still not recognize my site. I already put a robot.txt in my site. Locating in www.mydomain.com/robots.txt
```
User-agent: *
Disallow: /
```
Please suggest why this happening, Thanks. | You disallow everything.
my robots.txt looks like:
```
User-agent: *
Allow: /
```
and i'm getting crawled just fine (although i don't know what alexa is). |
19,216 | <p>In my website, most of the pages has a linkedin sharing button written in this way:</p>
<pre><code><li>
<a id="share_linkedin"
href="/link/share/linkedin/Dance+Combo+%28Jazz%2C+Tap%2C+Contemporary+Dance%29+%28Age+16+or+above%29"
rel="external nofollow"
class="share_icon" title="... | [
{
"answer_id": 19217,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>It's hard to say with 100% certainty but you probably have nothing wrong with your code. A link with nofollo... | 2011/09/06 | [
"https://webmasters.stackexchange.com/questions/19216",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9934/"
] | In my website, most of the pages has a linkedin sharing button written in this way:
```
<li>
<a id="share_linkedin"
href="/link/share/linkedin/Dance+Combo+%28Jazz%2C+Tap%2C+Contemporary+Dance%29+%28Age+16+or+above%29"
rel="external nofollow"
class="share_icon" title="LinkedIn" target="_blan... | According to [Google](http://www.google.com/support/webmasters/bin/answer.py?answer=96569):
>
> In general, we don't follow them. This means that Google does not
> transfer PageRank or anchor text across these links. Essentially,
> using nofollow causes us to drop the target links from our overall
> graph of the w... |
19,271 | <p>I've never used Google Analytics (GA), so maybe this is possible. But, a friend of mine had someone create a site for him for quite a lot of money. Anyway, my friend wanted the guy to add another textbox & database field to track some data and the guy said, "We'll add the textbox, but we'll let Google Analytic... | [
{
"answer_id": 19272,
"author": "sanmai",
"author_id": 9637,
"author_profile": "https://webmasters.stackexchange.com/users/9637",
"pm_score": 2,
"selected": false,
"text": "<p>Yes, it can do that kind of thing with <a href=\"http://code.google.com/apis/analytics/docs/tracking/eventTracke... | 2011/09/06 | [
"https://webmasters.stackexchange.com/questions/19271",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I've never used Google Analytics (GA), so maybe this is possible. But, a friend of mine had someone create a site for him for quite a lot of money. Anyway, my friend wanted the guy to add another textbox & database field to track some data and the guy said, "We'll add the textbox, but we'll let Google Analytics track t... | I had honestly never thought about it before, but GA event tracking is not a bad solution for a simple "database". It allows several values to be passed for categorization, labeling, "additional info", and numerical data. In the case of the text box (presumably with a submit button) the following code would work fairly... |
19,319 | <p>I have several articles on a website that I would like to move to my own domain. </p>
<p>However, some of the content I have written has been stolen by other sites. I have filed a lot of paperwork with hosting companies, Google, etc, to have it taken down, but it still exists on websites hosted in countries that do... | [
{
"answer_id": 19322,
"author": "JMC",
"author_id": 6033,
"author_profile": "https://webmasters.stackexchange.com/users/6033",
"pm_score": 4,
"selected": false,
"text": "<p>If you can modify the <code><head></code> at hubpages, add a canonical link to your new domain.</p>\n\n<pre><... | 2011/09/07 | [
"https://webmasters.stackexchange.com/questions/19319",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5013/"
] | I have several articles on a website that I would like to move to my own domain.
However, some of the content I have written has been stolen by other sites. I have filed a lot of paperwork with hosting companies, Google, etc, to have it taken down, but it still exists on websites hosted in countries that don't respec... | If you can modify the `<head>` at hubpages, add a canonical link to your new domain.
```
<head>
<link rel="canonical" href="http://www.newdomain.com/article_name.html"/>
</head>
```
Good related post: [Using rel=canonical with syndication](https://webmasters.stackexchange.com/questions/3658/using-rel-canonical-wit... |
19,362 | <p>I was going through page hit logs on awstats and I noticed the following two entries:</p>
<pre><code>/deleteme.lcivykmt.php
/deleteme.nctqicjg.php
</code></pre>
<p>I was wondering if anyone recognised them and whether I should investigate.</p>
<p>I suppose it's nothing to be concerned about because they are liste... | [
{
"answer_id": 19363,
"author": "Flavius",
"author_id": 4654,
"author_profile": "https://webmasters.stackexchange.com/users/4654",
"pm_score": 0,
"selected": false,
"text": "<p>That's probably a bot testing your site's security. Ban those IPs:</p>\n\n<pre><code>iptables -A INPUT -s <I... | 2011/09/08 | [
"https://webmasters.stackexchange.com/questions/19362",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10145/"
] | I was going through page hit logs on awstats and I noticed the following two entries:
```
/deleteme.lcivykmt.php
/deleteme.nctqicjg.php
```
I was wondering if anyone recognised them and whether I should investigate.
I suppose it's nothing to be concerned about because they are listed as page not found errors by my ... | Those files look like installation files for something like Wordpress, Joomla or Drupal etc. and if left on the system will doubt be a way in for hackers. The 'evil bots' are randomly checking for these kind of files (left over from incomplete installations) in order to find vulnerable sites. Although the 'lcivykmt' pa... |
19,451 | <p>I'm modifying a site and it requires that, when a user comes from another site in the group, this site will be branded slightly differently. The best way of identifying the page they came from would the HTTP referrer (where available).</p>
<p>However I don't want search engines to see it as a different site. So doe... | [
{
"answer_id": 19452,
"author": "Matteo",
"author_id": 10181,
"author_profile": "https://webmasters.stackexchange.com/users/10181",
"pm_score": 2,
"selected": false,
"text": "<p>Ususally they don't (e.g., Google bot doesn't).</p>\n\n<p>From my log files:</p>\n\n<pre><code>crawl-66-249-72... | 2011/09/10 | [
"https://webmasters.stackexchange.com/questions/19451",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm modifying a site and it requires that, when a user comes from another site in the group, this site will be branded slightly differently. The best way of identifying the page they came from would the HTTP referrer (where available).
However I don't want search engines to see it as a different site. So does anyone k... | Ususally they don't (e.g., Google bot doesn't).
From my log files:
```
crawl-66-249-72-20.googlebot.com - - [10/Sep/2011:14:50:38 +0200] "GET /mailman/admin/mailman HTTP/1.1" 200 2003 "-" "DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)" matteocorti.ch
```
The re... |
19,471 | <p>I am currently using Codeignitor as my PHP framework with XAMPP. I always keep all my files in c:/xampp/htdocs/. </p>
<p>The settings are working fine in my own localhost machine. But when I load the same project in other machines connected via a router only the hypertext that is within the Codeignitor framework i.... | [
{
"answer_id": 19500,
"author": "Radheshyam Nayak",
"author_id": 9990,
"author_profile": "https://webmasters.stackexchange.com/users/9990",
"pm_score": 2,
"selected": false,
"text": "<p>I found out my own answer to my question.... The problem was related to the base_url settings.</p>\n\n... | 2011/09/10 | [
"https://webmasters.stackexchange.com/questions/19471",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9990/"
] | I am currently using Codeignitor as my PHP framework with XAMPP. I always keep all my files in c:/xampp/htdocs/.
The settings are working fine in my own localhost machine. But when I load the same project in other machines connected via a router only the hypertext that is within the Codeignitor framework i.e inside a... | I found out my own answer to my question.... The problem was related to the base\_url settings.
I correct this problem by switching from:
`http://localhost/project_folder` to `http://my_ip/project_folder`
This was the reason why only resources were loading on my machine and not other machines.
Thanks everyone who ... |
19,479 | <p>Does it matter which of these I add to my Sitemaps file?</p>
<pre><code>http://example.com/?feed=rss
http://example.com/?feed=rss2
http://example.com/?feed=rdf
http://example.com/?feed=atom
</code></pre>
| [
{
"answer_id": 19481,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": false,
"text": "<p>None. The sitemap file is for your site's <em>content</em>(pages, media, etc.), not the feeds.<br>\nYou can actuall... | 2011/09/10 | [
"https://webmasters.stackexchange.com/questions/19479",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9489/"
] | Does it matter which of these I add to my Sitemaps file?
```
http://example.com/?feed=rss
http://example.com/?feed=rss2
http://example.com/?feed=rdf
http://example.com/?feed=atom
``` | No, it doesn't, as long as you are using a supported format. I encourage you to use the rss2 or atom formats.
Moreover, because the feed displays only the latest entries, I suggest you to use a sitemap plugin to list all your pages in the sitemap. The [Google XML Sitemaps](http://wordpress.org/extend/plugins/google-si... |
19,501 | <p>what would be the correct config to allow only authenticated users and the intranet (without need for a password) in apache?
This does not request a password and without the "satisfy any" intranet users are also required to enter a password...</p>
<pre><code><Directory "/var/www">
# Allow Network Access and... | [
{
"answer_id": 19502,
"author": "Konerak",
"author_id": 3232,
"author_profile": "https://webmasters.stackexchange.com/users/3232",
"pm_score": 0,
"selected": false,
"text": "<p>Try putting </p>\n\n<pre><code>satisfy any\norder deny,allow\ndeny from all\n</code></pre>\n\n<p>at the top ins... | 2011/09/09 | [
"https://webmasters.stackexchange.com/questions/19501",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | what would be the correct config to allow only authenticated users and the intranet (without need for a password) in apache?
This does not request a password and without the "satisfy any" intranet users are also required to enter a password...
```
<Directory "/var/www">
# Allow Network Access and/or Basic Auth
Satis... | But let's say you want people from your LAN to have full access, without being prompted for a password. In this scenario we could use:
```
<Directory /home/www/site1/private>
AuthUserFile /home/www/site1-passwd
AuthType Basic
AuthName MySite
Require valid-user
Order allow,deny
Allow from 172.17.10
Satisf... |
19,525 | <p>I am using Opencart 1.5.1 but have a theme made for 1.4.9.</p>
<p>The following template code won't work with 1.5.1:</p>
<pre><code><?php foreach ($modules as $module) { ?>
<?php echo $module; ?>
<?php } ?>
</code></pre>
<blockquote>
<p>Undefined variable: modules.<br>
Invalid argument... | [
{
"answer_id": 20031,
"author": "Justin Pearce",
"author_id": 10412,
"author_profile": "https://webmasters.stackexchange.com/users/10412",
"pm_score": 3,
"selected": true,
"text": "<p>Is modules defined? Do you know if you have modules set to show where that code is in the template?</p>\... | 2011/09/12 | [
"https://webmasters.stackexchange.com/questions/19525",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I am using Opencart 1.5.1 but have a theme made for 1.4.9.
The following template code won't work with 1.5.1:
```
<?php foreach ($modules as $module) { ?>
<?php echo $module; ?>
<?php } ?>
```
>
> Undefined variable: modules.
>
> Invalid argument supplied for foreach().
>
>
>
What do I replace it wit... | Is modules defined? Do you know if you have modules set to show where that code is in the template?
You can do this:
```
<?php
if($modules){
foreach ($modules as $module) {
echo $module;
}
}
?>
```
This way if $modules is not set to anything, it ignores the foreach loop. |
19,530 | <p>I am very new with web hosting and I'd like to setup a custom email address with my domain for myself specifically <em>me@domain.com</em>. I've already purchased the domain but the .TLD does not come with DNS management, so I have opted for paid DNS hosting with the domain name registrar I purchased my domain from. ... | [
{
"answer_id": 19532,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>In your DNS hosting you should be able to say that email to <code>domain.com</code> should be redirected to... | 2011/09/12 | [
"https://webmasters.stackexchange.com/questions/19530",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10213/"
] | I am very new with web hosting and I'd like to setup a custom email address with my domain for myself specifically *me@domain.com*. I've already purchased the domain but the .TLD does not come with DNS management, so I have opted for paid DNS hosting with the domain name registrar I purchased my domain from.
In Googl... | It's not clear to me if you can manage the DNS of your domain or not. In order to configure your domain to use Google Apps, you must be able to configure your DNS records. In particular, you need to be able to change MX, CNAME and A records.
You can find more here:
* [Set up Google Apps services](http://www.google.co... |
19,541 | <p>my problem can be seen here</p>
<p><a href="http://www.google.com/search?q=site:michaele-harrington.com" rel="nofollow">http://www.google.com/search?q=site:michaele-harrington.com</a></p>
<p>I am getting <strong><em>HTTP ERROR 400</em></strong> instead of title of my page.<br>
Seems this is also happening with a f... | [
{
"answer_id": 19544,
"author": "Simone Carletti",
"author_id": 1647,
"author_profile": "https://webmasters.stackexchange.com/users/1647",
"pm_score": 2,
"selected": false,
"text": "<p>Looking at the <a href=\"http://webcache.googleusercontent.com/search?q=cache%3abFmzIpBKuC4J%3awww.mich... | 2011/09/12 | [
"https://webmasters.stackexchange.com/questions/19541",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | my problem can be seen here
<http://www.google.com/search?q=site:michaele-harrington.com>
I am getting ***HTTP ERROR 400*** instead of title of my page.
Seems this is also happening with a few of my blog pages. When I use google webmaster rich snippets tool I'm also getting an error for the blog title.
Seems the... | Looking at the [cached version of your page](http://webcache.googleusercontent.com/search?q=cache%3abFmzIpBKuC4J%3awww.michaele-harrington.com/%20site%3amichaele-harrington.com&cd=2&hl=en&ct=clnk) it seems the cause is a temporary unavailability of your server that was unable to return a request back to Google.
```
Er... |
19,643 | <p>I have a situation where I'm standing up a new website on a different web host. I've been denied access to the old site by the hosting company and the old site will most likely be turned off very soon.</p>
<p>If my new site contains pages that are named slightly different how do I go about setting up 301 redirects ... | [
{
"answer_id": 19660,
"author": "jflaflamme",
"author_id": 10237,
"author_profile": "https://webmasters.stackexchange.com/users/10237",
"pm_score": 0,
"selected": false,
"text": "<p>If i understand correctly, you need a rewrite rule only for the new site because you have different naming... | 2011/09/14 | [
"https://webmasters.stackexchange.com/questions/19643",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9052/"
] | I have a situation where I'm standing up a new website on a different web host. I've been denied access to the old site by the hosting company and the old site will most likely be turned off very soon.
If my new site contains pages that are named slightly different how do I go about setting up 301 redirects on my new ... | It's a useless proposition to put any of this on the new site in the current setting. Search engine traffic, et. al. goes to the old site (www.example-old.com). You want to direct it to the new site (www.example.com). The only place that a 301 redirect will even be possible under those conditions is from www.example-ol... |
19,667 | <p>i have a linux mail+http server located throguh Internet at <code>www.mydomain.com</code>. Domain was bought at <code>GoDaddy</code> so after configuring the server and getting the public ip address i went at GoDaddy's profile to modify the <code>A</code> and <code>MX</code>entries for my dns zone in order to point ... | [
{
"answer_id": 19668,
"author": "sanmai",
"author_id": 9637,
"author_profile": "https://webmasters.stackexchange.com/users/9637",
"pm_score": 0,
"selected": false,
"text": "<p>If you put the following into your <code>.htaccess</code> every visitor coming to your site by means of any doma... | 2011/09/14 | [
"https://webmasters.stackexchange.com/questions/19667",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10297/"
] | i have a linux mail+http server located throguh Internet at `www.mydomain.com`. Domain was bought at `GoDaddy` so after configuring the server and getting the public ip address i went at GoDaddy's profile to modify the `A` and `MX`entries for my dns zone in order to point them to my server's public ip address. In the `... | Just create another virtual host for `mail.example.com`, and you can tell Apache to do whatever you want when people go to that host.
```
<VirtualHost *:80>
ServerAdmin admin@example.com
ServerName mail.example.com
ErrorLog logs/example_com-error_log
# if you care about hits:
CustomLog logs/example... |
19,708 | <p>There seems to be two ways to specify the language of a page:</p>
<pre><code><meta http-equiv="Content-Language" content="en-us">
</code></pre>
<p>and</p>
<pre><code><html lang="en-us">
</code></pre>
<p>Which one is the preferred way? I know I could just add both tags but I'd rather not have duplicat... | [
{
"answer_id": 19709,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 3,
"selected": false,
"text": "<p>The second one is the preferred way. <a href=\"http://www.w3.org/TR/html5/semantics.html\" rel=\"nofollow\"... | 2011/09/15 | [
"https://webmasters.stackexchange.com/questions/19708",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9543/"
] | There seems to be two ways to specify the language of a page:
```
<meta http-equiv="Content-Language" content="en-us">
```
and
```
<html lang="en-us">
```
Which one is the preferred way? I know I could just add both tags but I'd rather not have duplicate content.
Also do both methods use the same locale format (... | The second one is the preferred way. <http://www.w3.org/TR/html5/semantics.html> The first one is "non-conforming". I couldn't find an exact definition of what that means, but I think it means, "it may work, but you can't rely on it".
They both use the format defined in [BCP47](http://www.ietf.org/rfc/bcp/bcp47.txt), ... |
19,898 | <p>I would like to reduce the number of HTTP requests in this website I'm building, and sprites would be a simple way to do that; however, for semantic reasons some of the imagery should remain in the foreground. Assume for the sake of this question that I have a perfectly functional way to sprite a foreground image.</... | [
{
"answer_id": 19902,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 4,
"selected": true,
"text": "<p>That would not be accessible, and would actually be kind of useless.\nYour alt text(there's no such thing as alt tag... | 2011/09/19 | [
"https://webmasters.stackexchange.com/questions/19898",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7972/"
] | I would like to reduce the number of HTTP requests in this website I'm building, and sprites would be a simple way to do that; however, for semantic reasons some of the imagery should remain in the foreground. Assume for the sake of this question that I have a perfectly functional way to sprite a foreground image.
So ... | That would not be accessible, and would actually be kind of useless.
Your alt text(there's no such thing as alt tags) should describe what that particular image tag is actually presenting.
Let's say your sprite has a bunch of animal icons in it.
When you use it to show the sprite chunk with a cat in it, your image... |
19,906 | <p>I am having an issue with one of the websites.</p>
<p>Google is reporting that I am having duplicate meta descriptions for few pages.
What we did is that we used URL rewrite to rewrite the pages to be more seo friendly.
Here is one example with one of our product pages:</p>
<p>Old format:</p>
<pre><code>www.mysit... | [
{
"answer_id": 19907,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>Use <a href=\"http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html\" rel=\"nofollow... | 2011/09/19 | [
"https://webmasters.stackexchange.com/questions/19906",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10360/"
] | I am having an issue with one of the websites.
Google is reporting that I am having duplicate meta descriptions for few pages.
What we did is that we used URL rewrite to rewrite the pages to be more seo friendly.
Here is one example with one of our product pages:
Old format:
```
www.mysite.com/Product.aspx?ProductID... | Use [canonical URLs](http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html) |
19,932 | <p>I'm asking this because I don't know if it matters for better SEO or not.</p>
<pre><code>MyWebsite.com - Current Page Title
MyWebsite.com : Current Page Title
MyWebsite.com :: Current Page Title
MyWebsite.com | Current Page Title
</code></pre>
<p>Currently I'm using the first option from above. I'm just wondering,... | [
{
"answer_id": 19933,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>All identical as far as Google is concerned.</p>\n"
},
{
"answer_id": 19934,
"author": "Community",
... | 2011/09/20 | [
"https://webmasters.stackexchange.com/questions/19932",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10388/"
] | I'm asking this because I don't know if it matters for better SEO or not.
```
MyWebsite.com - Current Page Title
MyWebsite.com : Current Page Title
MyWebsite.com :: Current Page Title
MyWebsite.com | Current Page Title
```
Currently I'm using the first option from above. I'm just wondering, 1) which one better for g... | They're all noise, and neither will make a difference. Does your domain name even belong in the title?
>
> Make sure that each page on your site has a useful and descriptive page title (contained within the title tags. If a title tag is missing, or if the same title tag is used for many different pages, Google may u... |
19,982 | <p>my application ( C#+SQL server) is running on the shared hosting. However, someone is able to access the database without permit. The connection string in the Web.config file, it had also been encrupted. Based on the above the senario, I have the following questions:</p>
<ol>
<li>Is the shared hosting not secure?</... | [
{
"answer_id": 19983,
"author": "Jeremy McGee",
"author_id": 1313,
"author_profile": "https://webmasters.stackexchange.com/users/1313",
"pm_score": 2,
"selected": false,
"text": "<p>Make sure that</p>\n\n<ul>\n<li>your database connection string is set in your application's configuration... | 2011/09/21 | [
"https://webmasters.stackexchange.com/questions/19982",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | my application ( C#+SQL server) is running on the shared hosting. However, someone is able to access the database without permit. The connection string in the Web.config file, it had also been encrupted. Based on the above the senario, I have the following questions:
1. Is the shared hosting not secure?
2. Is the codi... | Make sure that
* your database connection string is set in your application's configuration file `web.config`
* the connection string is encrypted - details here: <http://msdn.microsoft.com/en-us/library/ff647398.aspx>
It also makes sense to use a password generator create the user credentials, or a use long phrase (... |
19,999 | <p>I work as the in-house SEO for an office refurbishment company. We are developing two sites:</p>
<pre><code>Site 1: office refurbishment
Site 2: office furniture.
</code></pre>
<p>Here in lies my dilemma. </p>
<p>For SEO purposes, Should I run one main blog on a seperate domain that has content about office refu... | [
{
"answer_id": 20000,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": false,
"text": "<p>If the blog content(both kinds) is actually tied to the company, then I would create one on each site, tailored to ... | 2011/09/22 | [
"https://webmasters.stackexchange.com/questions/19999",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10256/"
] | I work as the in-house SEO for an office refurbishment company. We are developing two sites:
```
Site 1: office refurbishment
Site 2: office furniture.
```
Here in lies my dilemma.
For SEO purposes, Should I run one main blog on a seperate domain that has content about office refurbishment and office furniture, o... | If the blog content(both kinds) is actually tied to the company, then I would create one on each site, tailored to that particular market, as it would seem that they do stand alone. Someone looking for furniture doesn't necessarily need work on their office. This keeps you from presenting visitors with stuff they don't... |
20,010 | <p>Is there a way I can load a CSS stylesheet to a site I'm viewing in a browser? </p>
<p>I'm working on my company website. For obvious reasons I don't want to make changes to the live version of the site while I develop. Normally there is a development version I can work on, but this is currently down. All I need to... | [
{
"answer_id": 20011,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 3,
"selected": true,
"text": "<p>You can put an alternate stylesheet into the header:</p>\n\n<pre><code><LINK href=\"mystyle.css\" title=\... | 2011/09/22 | [
"https://webmasters.stackexchange.com/questions/20010",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8331/"
] | Is there a way I can load a CSS stylesheet to a site I'm viewing in a browser?
I'm working on my company website. For obvious reasons I don't want to make changes to the live version of the site while I develop. Normally there is a development version I can work on, but this is currently down. All I need to do is add... | You can put an alternate stylesheet into the header:
```
<LINK href="mystyle.css" title="Medium" rel="alternate stylesheet" type="text/css">
```
You can then select it from Firefox with View->Page Style->your stylesheet.
Anyone else viewing the page could do that, but I doubt they will think to do it. Presumably it... |
20,016 | <p>In my <em>robots.txt</em> file I have a list of robots that are not allowed to be indexed on my site and for the rest I have to allow all other robots, but I would like to know the real difference between these two rules:</p>
<pre><code>User-agent: *
Disallow:
</code></pre>
<p>and this:</p>
<pre><code>User-agent:... | [
{
"answer_id": 20017,
"author": "michael667",
"author_id": 10430,
"author_profile": "https://webmasters.stackexchange.com/users/10430",
"pm_score": 3,
"selected": false,
"text": "<p><code>Allow</code> is non-standard according to Wikipedia: <a href=\"http://en.wikipedia.org/wiki/Robots.t... | 2011/09/22 | [
"https://webmasters.stackexchange.com/questions/20016",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | In my *robots.txt* file I have a list of robots that are not allowed to be indexed on my site and for the rest I have to allow all other robots, but I would like to know the real difference between these two rules:
```
User-agent: *
Disallow:
```
and this:
```
User-agent: *
Allow: /
``` | `Allow` is non-standard according to Wikipedia: <http://en.wikipedia.org/wiki/Robots.txt>. |
20,093 | <p>These are all strictly different urls:</p>
<pre><code>http://www.example.com/page
http://www.example.com/pAge
http://www.example.com/page/
http://www.example.com/paGE/
</code></pre>
<p>I get that it conforms to the strict ISO rules, but why? How many websites are there out there that actually treat <code>page</co... | [
{
"answer_id": 20094,
"author": "jflaflamme",
"author_id": 10237,
"author_profile": "https://webmasters.stackexchange.com/users/10237",
"pm_score": 3,
"selected": false,
"text": "<p>This is not a Google policy, they are basics rules.</p>\n\n<p>From a windows user point of view it is diff... | 2011/09/25 | [
"https://webmasters.stackexchange.com/questions/20093",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | These are all strictly different urls:
```
http://www.example.com/page
http://www.example.com/pAge
http://www.example.com/page/
http://www.example.com/paGE/
```
I get that it conforms to the strict ISO rules, but why? How many websites are there out there that actually treat `page` and `page/` as different url's you... | >
> I get that it conforms to the strict ISO rules, but why?
>
>
>
There are different operating systems behind the various servers on the net, and for some of them a directory or file named `page` is not the same as one named `Page`. The result is that those really are two different locations and not even necess... |
20,108 | <p>I have recently started using feedvalidator.org to validate my RSS feeds. The RSS reader reads the feeds fine but the feed validator says they are not valid feeds. I tried other RSS feeds like</p>
<pre><code>http://feeds.nytimes.com/nyt/rss/HomePage
http://feeds.latimes.com/latimes/news
http://feeds.ign.com/ignfeed... | [
{
"answer_id": 20109,
"author": "Jan Krüger",
"author_id": 10481,
"author_profile": "https://webmasters.stackexchange.com/users/10481",
"pm_score": 2,
"selected": false,
"text": "<p>Very simply, the disadvantage is that some particularly strict feed readers might refuse to process your f... | 2011/09/25 | [
"https://webmasters.stackexchange.com/questions/20108",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34902/"
] | I have recently started using feedvalidator.org to validate my RSS feeds. The RSS reader reads the feeds fine but the feed validator says they are not valid feeds. I tried other RSS feeds like
```
http://feeds.nytimes.com/nyt/rss/HomePage
http://feeds.latimes.com/latimes/news
http://feeds.ign.com/ignfeeds/all/
```
A... | Very simply, the disadvantage is that some particularly strict feed readers might refuse to process your feed if it's not valid. I don't know any specific feed readers that do that.
If you want to fix your feed, you'll have to look at the specific error messages given by the feed validator. For example, the feed from ... |
20,112 | <p>My domain name and dedicated hosting are with different providers. I wanted to create a own nameserver for my domain name. I created 2 host object from domain registrar control panel.
<br/>1. ns.mydomain.com (IP of dedicated server)
<br/>2. ns2.mydomain.com (IP of dedicated server)</p>
<p>The same domain name in wh... | [
{
"answer_id": 20118,
"author": "jflaflamme",
"author_id": 10237,
"author_profile": "https://webmasters.stackexchange.com/users/10237",
"pm_score": 1,
"selected": false,
"text": "<p>Almost perfect !</p>\n\n<p>But you should have this:</p>\n\n<pre><code>mydomain.com. NS ns.mydomain... | 2011/09/26 | [
"https://webmasters.stackexchange.com/questions/20112",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7573/"
] | My domain name and dedicated hosting are with different providers. I wanted to create a own nameserver for my domain name. I created 2 host object from domain registrar control panel.
1. ns.mydomain.com (IP of dedicated server)
2. ns2.mydomain.com (IP of dedicated server)
The same domain name in which I have created... | Almost perfect !
But you should have this:
```
mydomain.com. NS ns.mydomain.com.
mydomain.com. NS ns2.mydomain.com.
```
The rest is OK (Be sure that the SOA line exist on the configuration files)
```
#OnLinuxMachine> dig soa mydomain.com
```
If you need www.mydomain.com to work, you should add thi... |
20,165 | <p>I've recently started using the new <code>_trackPageLoadTime</code> function in Google Analytics to measure page load times. However, I have noticed a few pages appear with a huge "Average Load Time". One page is showing a time of 556.22 seconds! Several other pages show average times of 30+ seconds.</p>
<p>Clickin... | [
{
"answer_id": 20172,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>They could be someone on dial-up who took ages to load your page, or someone with a congested connection.</... | 2011/09/27 | [
"https://webmasters.stackexchange.com/questions/20165",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/233/"
] | I've recently started using the new `_trackPageLoadTime` function in Google Analytics to measure page load times. However, I have noticed a few pages appear with a huge "Average Load Time". One page is showing a time of 556.22 seconds! Several other pages show average times of 30+ seconds.
Clicking through to the page... | Google Analytics Site Speed tracking utilizes the HTML5 Navigation Timing API. I wrote a [fairly detailed answer](https://stackoverflow.com/questions/6166074/how-does-gaq-push-trackpageloadtime-work/6168165#6168165) on it on StackOverflow.
Specifically, it uses these 2 attributes on browsers that have the `performance... |
20,241 | <p>If I launch a website that displays 1000's of pages of content (text) delivered dynamically from data in a database and and I want some sort of record to prove that this data had been published (on that date), that I can use in the future, what are the options?</p>
<p>I have seen a commercial web archiving service ... | [
{
"answer_id": 20243,
"author": "xyious",
"author_id": 8957,
"author_profile": "https://webmasters.stackexchange.com/users/8957",
"pm_score": 0,
"selected": false,
"text": "<p>What I would do, in case I wanted to archive everything I publish on my website is to actually write the content... | 2011/09/28 | [
"https://webmasters.stackexchange.com/questions/20241",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10536/"
] | If I launch a website that displays 1000's of pages of content (text) delivered dynamically from data in a database and and I want some sort of record to prove that this data had been published (on that date), that I can use in the future, what are the options?
I have seen a commercial web archiving service that is ch... | Backing up the database isn't enough, as you can't prove the contents of the database were displayed on the pages.
If the dynamically generated pages look the same for each user, and don't depend on picking options for lists, say, which then generate pages depending on those options, then you can use spidering softwar... |
20,274 | <p>I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at <code>themes.iloveliferay.com</code>, which file I need to change to make this possible?</p>
<p>I have VM cloude hosting and I have root access. </p>
| [
{
"answer_id": 20275,
"author": "jflaflamme",
"author_id": 10237,
"author_profile": "https://webmasters.stackexchange.com/users/10237",
"pm_score": 2,
"selected": false,
"text": "<p>You may want to look at the info provided here :</p>\n\n<p><a href=\"http://www.servletworld.com/tomcat/ho... | 2011/09/29 | [
"https://webmasters.stackexchange.com/questions/20274",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1330/"
] | I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at `themes.iloveliferay.com`, which file I need to change to make this possible?
I have VM cloude hosting and I have root access. | You may want to look at the info provided here :
<http://www.servletworld.com/tomcat/howto-change-tomcat-port.html>
(Essential content inserted here as that link is down in Feb 2013.)
Look for the section in server.xml like this and change the port to 80.
```
<connector port="8080" protocol="HTTP/1.1"
... |
20,302 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/11560/seo-preference-for-www-or-http-protocol-redirection-do-www-websites-rank-bett">SEO preference for WWW or HTTP:// protocol redirection? Do www websites rank better than NON-www?</a> </p>
</blockquo... | [
{
"answer_id": 20303,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>One is not better then the other. What matters is consistency. Choose one and stick with it for all of your ... | 2011/09/30 | [
"https://webmasters.stackexchange.com/questions/20302",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | >
> **Possible Duplicate:**
>
> [SEO preference for WWW or HTTP:// protocol redirection? Do www websites rank better than NON-www?](https://webmasters.stackexchange.com/questions/11560/seo-preference-for-www-or-http-protocol-redirection-do-www-websites-rank-bett)
>
>
>
One domain would have to be redirected to... | One is not better then the other. What matters is consistency. Choose one and stick with it for all of your URLs.
A good thing to do is [specify which one you want Google to use in your Google Webmasters Tools account](http://www.google.com/support/webmasters/bin/answer.py?answer=44231). Also, doing a 301 redirect fro... |
20,322 | <p>I have 2 websites: let's call them A and B.</p>
<ul>
<li>A is a Desktop optimized website.</li>
<li>B is a mobile version of A, but it's not on the same domain. It also has a smaller amount of content/pages than A</li>
</ul>
<p><strong>How do I tell Google</strong>, and other search engines, that I would prefer to... | [
{
"answer_id": 20362,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 3,
"selected": true,
"text": "<p>Sorry, there is no method to do this currently. Google results on mobile are largely the same as on deskto... | 2011/09/30 | [
"https://webmasters.stackexchange.com/questions/20322",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6355/"
] | I have 2 websites: let's call them A and B.
* A is a Desktop optimized website.
* B is a mobile version of A, but it's not on the same domain. It also has a smaller amount of content/pages than A
**How do I tell Google**, and other search engines, that I would prefer to have only mobile users on B (no desktop users) ... | Sorry, there is no method to do this currently. Google results on mobile are largely the same as on desktop.
However, Google has a special mobile user agent, `Googlebot-Mobile`, so you could detect this (if you don't already) and make sure there is a link to the mobile version.
I've also seen a few sources that list ... |
20,330 | <p>I am a non-profit who is transferring my site to Netfirms and their "plus" shared hosting plan. All they give me is FTP access, and a silly decompressor webapp called "Archive Gateway" that can decompress <code>.tar</code>, <code>.zip</code>, <code>.gz</code> and <code>.z</code>. </p>
<p><strong>Netfirms expects me... | [
{
"answer_id": 20401,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": 0,
"selected": false,
"text": "<ol>\n<li>Initiate ssh-session with keep-alive settings on</li>\n<li>Long time ago child processes was not <... | 2011/10/01 | [
"https://webmasters.stackexchange.com/questions/20330",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10582/"
] | I am a non-profit who is transferring my site to Netfirms and their "plus" shared hosting plan. All they give me is FTP access, and a silly decompressor webapp called "Archive Gateway" that can decompress `.tar`, `.zip`, `.gz` and `.z`.
**Netfirms expects me to upload my whole site by FTP.**
**I'm trying to avoid up... | Create a text file named `ftp_commands` in the same directory as your large archive file.
The contents of the file should resemble the following:
```
open example.com
user username p@ssword
binary
put archive_file.tar.gz
```
Save the file and run `nohup ftp -ni < ftp_commands &` |
20,364 | <p>When I search for "thelab athome-training" on Google, and click on a link that point to my site (thelab.athome-training.com), I am redirected to <code>http://grooogle.osa.pl</code></p>
<p>I googled and <a href="http://www.google.com/support/forum/p/Webmasters/thread?tid=3c45346d183a63de&hl=en" rel="nofollow">fo... | [
{
"answer_id": 20365,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p><a href=\"http://googleredirectvirus.biz/\" rel=\"nofollow\">http://googleredirectvirus.biz/</a> </p>\n\n<p>You h... | 2011/10/01 | [
"https://webmasters.stackexchange.com/questions/20364",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10598/"
] | When I search for "thelab athome-training" on Google, and click on a link that point to my site (thelab.athome-training.com), I am redirected to `http://grooogle.osa.pl`
I googled and [found that post](http://www.google.com/support/forum/p/Webmasters/thread?tid=3c45346d183a63de&hl=en):
They said:
>
> The site is do... | This is an attack by hacker to your .htaccess file. normally it happens if you use old buggy version of PHP like PHP 5.2.x Below link will will help your how to resolve. I suggest updating PHP version.
<http://www.question-defense.com/2011/01/08/finditnow-osa-pl-hack-google-search-results-redirect-to-finditnow-osa-pl-... |
20,369 | <p>I have a pretty big CSS file, that I want to convert to less. When I wrote the CSS I did not know less.css, but now I still want to use my old CSS.</p>
<p>Is there a tool that can help me to convert it automatically?</p>
| [
{
"answer_id": 20370,
"author": "fatnjazzy",
"author_id": 5581,
"author_profile": "https://webmasters.stackexchange.com/users/5581",
"pm_score": 2,
"selected": false,
"text": "<p>How about search and replace.</p>\n\n<p>if you have <code>color:#ffffff</code> and you want to change it to <... | 2011/10/01 | [
"https://webmasters.stackexchange.com/questions/20369",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10621/"
] | I have a pretty big CSS file, that I want to convert to less. When I wrote the CSS I did not know less.css, but now I still want to use my old CSS.
Is there a tool that can help me to convert it automatically? | I actually found something now:
<http://leafo.net/lessphp/lessify/>
It does a basic formating, e.g.:
```
#header {
/* ... */
}
#header p {
/* ... */
}
```
to
```
#header {
/* ... */
p {
/* ... */
}
}
``` |
20,391 | <p>I am looking for a solution for this a problem: I need that every HTTP request (method is irrelevant) in Apache http server would be served only after execution of specific PHP script. This is needed because I need to gather some information about requests, etc.
As far as I understand - this could be achieved using ... | [
{
"answer_id": 29801,
"author": "digit1001",
"author_id": 2907,
"author_profile": "https://webmasters.stackexchange.com/users/2907",
"pm_score": 0,
"selected": false,
"text": "<p>I've done a similar setup in the past in my 404.php page. I look at the url coming in, and if it matches some... | 2011/10/02 | [
"https://webmasters.stackexchange.com/questions/20391",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10603/"
] | I am looking for a solution for this a problem: I need that every HTTP request (method is irrelevant) in Apache http server would be served only after execution of specific PHP script. This is needed because I need to gather some information about requests, etc.
As far as I understand - this could be achieved using `mo... | Solution:
```
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ script.php?filename=$1 [L]
```
make script.php run your code and afterwards redirects using the filename variable you passed to it. ($\_GET['filename']) |
20,425 | <p>We work with an affiliate program where you need to use different affiliate links for some specific countries. Because of that our links in the content are pointed to an internal page <a href="http://www.oursite.com/affiliateprogram" rel="nofollow">http://www.oursite.com/affiliateprogram</a> where we do a javascript... | [
{
"answer_id": 20426,
"author": "ssokolow",
"author_id": 10648,
"author_profile": "https://webmasters.stackexchange.com/users/10648",
"pm_score": 1,
"selected": false,
"text": "<p>Google Analytics lets you manually insert a hit to a URL of your choice with this syntax: (It's intended for... | 2011/10/02 | [
"https://webmasters.stackexchange.com/questions/20425",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | We work with an affiliate program where you need to use different affiliate links for some specific countries. Because of that our links in the content are pointed to an internal page <http://www.oursite.com/affiliateprogram> where we do a javascript redirect based on geo IP (we use maxmind javascript service to detecc... | Google Analytics lets you manually insert a hit to a URL of your choice with this syntax: (It's intended for tracking links within AJAX applications like GMail)
```
_gaq.push(['_trackPageview', URL]);
```
My advice would be to do something like this:
```
function redirect(url) {
_gaq.push(['_trackPageview', '/o... |
20,445 | <p>I have split a WordPress blog into multiple category-specific blogs using subdomains, as the topics in the original blog were too broad to be lumped together effectively.</p>
<p>Posts were exported from the parent <code>www</code> blog and imported into the subject-specific subdomain blogs.</p>
<p>I believe <em>.h... | [
{
"answer_id": 20426,
"author": "ssokolow",
"author_id": 10648,
"author_profile": "https://webmasters.stackexchange.com/users/10648",
"pm_score": 1,
"selected": false,
"text": "<p>Google Analytics lets you manually insert a hit to a URL of your choice with this syntax: (It's intended for... | 2011/10/03 | [
"https://webmasters.stackexchange.com/questions/20445",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I have split a WordPress blog into multiple category-specific blogs using subdomains, as the topics in the original blog were too broad to be lumped together effectively.
Posts were exported from the parent `www` blog and imported into the subject-specific subdomain blogs.
I believe *.htaccess* provides mod rewrite f... | Google Analytics lets you manually insert a hit to a URL of your choice with this syntax: (It's intended for tracking links within AJAX applications like GMail)
```
_gaq.push(['_trackPageview', URL]);
```
My advice would be to do something like this:
```
function redirect(url) {
_gaq.push(['_trackPageview', '/o... |
20,446 | <p>I am trying to use <code><h1></code> tags on my blog for the post title and came across one problem. Title is hyperlinked.</p>
<p>Case 1:</p>
<pre><code><h1> <a href=""> xyz </a> </h1>
</code></pre>
<p>case 2:</p>
<pre><code><a href=""> <h1> xyz</h1> </a>
</... | [
{
"answer_id": 20447,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": false,
"text": "<p>They're the same as far as SEO is concerned. (Usually block level elements contain inline elements and not v... | 2011/10/03 | [
"https://webmasters.stackexchange.com/questions/20446",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7074/"
] | I am trying to use `<h1>` tags on my blog for the post title and came across one problem. Title is hyperlinked.
Case 1:
```
<h1> <a href=""> xyz </a> </h1>
```
case 2:
```
<a href=""> <h1> xyz</h1> </a>
```
Which one is better in terms of SEO? | **If you are using HTML5**, just pick one; they're equivalent.
HTML5 does allow [block-level links](http://html5doctor.com/block-level-links-in-html-5/), but in your case there's no particular reason to do it, since there's only one block-level element. Personally, I wouldn't do it here, because having the `<h1>` ta... |
20,489 | <p>I am currently getting a massive amount of referral traffic to my site (Spam), that can sometime generate 1-2 GB worth of traffic per a day (which kinda sucks, when you have a 10GB limit from the hosting company).</p>
<p>I am seeing 4-5000 hits per day, generating 20-25000 page views... It seems that almost every d... | [
{
"answer_id": 20490,
"author": "undone",
"author_id": 9497,
"author_profile": "https://webmasters.stackexchange.com/users/9497",
"pm_score": 0,
"selected": false,
"text": "<p>These kind of bandwidth stealing is common in web.\nyou can deny all requests for your website files (images,vid... | 2011/10/03 | [
"https://webmasters.stackexchange.com/questions/20489",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am currently getting a massive amount of referral traffic to my site (Spam), that can sometime generate 1-2 GB worth of traffic per a day (which kinda sucks, when you have a 10GB limit from the hosting company).
I am seeing 4-5000 hits per day, generating 20-25000 page views... It seems that almost every day I'm hav... | Well you can go here <http://aaronlogan.com/downloads/htaccess.php> and have a pretty big list of referrer spam blocks in your htaccess. Or you can use something like the following
```
# set the spam_ref variable - referrer site or a keyphrase
SetEnvIfNoCase Referer "^http://(www.)?some-spammer.com" spam_ref=1
SetEnvI... |
20,529 | <p>My client doesn't want the tag pages (www.example.com/tag/tagname) to be indexed by Google. How can I achieve this? Disallow in robots.txt doesn't work. Thanks!</p>
<p><strong>Robots.txt:</strong></p>
<pre><code>User-agent: *
Disallow: /tag/
</code></pre>
| [
{
"answer_id": 20530,
"author": "Pekka",
"author_id": 1780,
"author_profile": "https://webmasters.stackexchange.com/users/1780",
"pm_score": 3,
"selected": true,
"text": "<p><code>robots.txt</code> is the way to go, but it can take up to several weeks until reindexing.</p>\n\n<p>You may... | 2011/10/03 | [
"https://webmasters.stackexchange.com/questions/20529",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | My client doesn't want the tag pages (www.example.com/tag/tagname) to be indexed by Google. How can I achieve this? Disallow in robots.txt doesn't work. Thanks!
**Robots.txt:**
```
User-agent: *
Disallow: /tag/
``` | `robots.txt` is the way to go, but it can take up to several weeks until reindexing.
You may be able to speed up the process - at least as far as Google is concerned - by signing up the site in question with [Google Webmaster Tools.](http://www.google.com/webmasters/) |
20,534 | <p>I just built and released a site for someone. He has an SEO firm working for him. They made a really big stink about the meta tags not being completely customizable on a page by page basis. Yes, the meta tags are tailored to each page, but the tags are built on existing database data. Here's how our meta tags are c... | [
{
"answer_id": 20539,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Meta tags have no effect on rankings so from that perspective it doesn't matter.</p>\n\n<p>Since the meta de... | 2011/10/04 | [
"https://webmasters.stackexchange.com/questions/20534",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5991/"
] | I just built and released a site for someone. He has an SEO firm working for him. They made a really big stink about the meta tags not being completely customizable on a page by page basis. Yes, the meta tags are tailored to each page, but the tags are built on existing database data. Here's how our meta tags are creat... | What you've done is fine. Really all you need to do is the titles. The description is only useful if you don't have a lot of content on the page and the keywords and other meta info aren't used at all by any search engine of significance.
It ticks me off when self-proclaimed SEO experts go around sell this meta-tag sn... |
20,595 | <p>I have a site that runs since 4 months now with category and products. I put breadcrumbs on my page but I still don't see them in the SERP. </p>
<p>I use the Google breadcrumbs help page to create them.</p>
<pre class="lang-html prettyprint-override"><code><ul class="breadcrumbs">
<li><a href="/" ... | [
{
"answer_id": 20596,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>There is no definitive timeframe. In fact, there's no guarantee Google will use breadcrumbs in their search r... | 2011/10/05 | [
"https://webmasters.stackexchange.com/questions/20595",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10669/"
] | I have a site that runs since 4 months now with category and products. I put breadcrumbs on my page but I still don't see them in the SERP.
I use the Google breadcrumbs help page to create them.
```html
<ul class="breadcrumbs">
<li><a href="/" title="">My Page Name</a> <span>> </span></li>
<li><a href="/categ... | There is no definitive timeframe. In fact, there's no guarantee Google will use breadcrumbs in their search results for your pages. As with anything related to Google displaying search results, you can give them clues and express your wishes as for what to display in the search results but ultimately Google will decide... |
20,612 | <p>On my Apache server I need to display a directory index of a given folder even if it already contains an index file that has been defined in DirectoryIndex. In this case an index.html file exists, but I need to display a directory listing instead.</p>
<p>This has to be a directory specific override because the rest... | [
{
"answer_id": 20615,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": 0,
"selected": false,
"text": "<p>DirectoryIndex in htaccess or inside virtualhost/directory/location container</p>\n"
},
{
"answer... | 2011/10/05 | [
"https://webmasters.stackexchange.com/questions/20612",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10678/"
] | On my Apache server I need to display a directory index of a given folder even if it already contains an index file that has been defined in DirectoryIndex. In this case an index.html file exists, but I need to display a directory listing instead.
This has to be a directory specific override because the rest of the se... | Assuming that `DirectoryIndex` and [`AllowOverride All|Indexes`](http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride) are enabled in your Apache configuration, you can use the `.htaccess` to change the directory listing settings on a per-folder or location basis.
Use the [`Location`](http://httpd.apache.org/d... |
20,618 | <p>I have a domain name registered through 1and1.com that I'd like to point to my Heroku app (mydomain.com and www.mydomain.com).<br>
Heroku's instructions (<a href="http://devcenter.heroku.com/articles/custom-domains">http://devcenter.heroku.com/articles/custom-domains</a>) say:</p>
<blockquote>
<p>Root domains (my... | [
{
"answer_id": 20619,
"author": "jman",
"author_id": 10008,
"author_profile": "https://webmasters.stackexchange.com/users/10008",
"pm_score": 3,
"selected": true,
"text": "<p>You can get away with picking up one of the IPs, however the 3 IPs exist for redundancy & load balancing. So ... | 2011/10/01 | [
"https://webmasters.stackexchange.com/questions/20618",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10738/"
] | I have a domain name registered through 1and1.com that I'd like to point to my Heroku app (mydomain.com and www.mydomain.com).
Heroku's instructions (<http://devcenter.heroku.com/articles/custom-domains>) say:
>
> Root domains (mydomain.com) must use A records To setup your root domain, add separate A records for ... | You can get away with picking up one of the IPs, however the 3 IPs exist for redundancy & load balancing. So you'll miss out on that. For example if the one IP you pick is down, you'll lose access.
BTW, I don't know why 1and1 only allows you to setup one A records. It should be possible to add multiple A records, mayb... |
20,639 | <p>I have read that <code><h2></code> tags are important for seo and SEO expert prefer <code><strong></code> tags over <code><b></code> tags. But what if i want to use both (h2 and strong) together ?</p>
<p>So suppose if i want to use tags with <strong> tags,</p>
<p>Ex. 1</p>
<pre><code><h2>... | [
{
"answer_id": 20640,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>It's not advisable because it is unecessary. <code><h2></code> has semantic meaning as a page subheadin... | 2011/10/06 | [
"https://webmasters.stackexchange.com/questions/20639",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7074/"
] | I have read that `<h2>` tags are important for seo and SEO expert prefer `<strong>` tags over `<b>` tags. But what if i want to use both (h2 and strong) together ?
So suppose if i want to use tags with **tags,**
Ex. 1
```
<h2><strong> my title text </strong></h2>
```
Ex.2
```
<strong> <h2> my title text</h2> </s... | It's not advisable because it is unecessary. `<h2>` has semantic meaning as a page subheading and it is given the appropriate weight in ranking alogirthms (basically `<strong>` is implied). Also, by default their contents are displayed in bold by the major web browsers so using the `<strong>` tag within them shouldn't ... |
20,653 | <p>Not sure how to word this one but will explain most I can.</p>
<p>I am trying to make the following happen.</p>
<ol>
<li><p>Re-write this <code>http://example.com</code></p></li>
<li><p>To this <code>http://example.com/home/</code></p></li>
</ol>
<p>Is it possible ?</p>
<p><strong>update</strong></p>
<p>Simone ... | [
{
"answer_id": 20656,
"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 at this so this may be wrong. If so, let me know so I can either correct it or delete it.<... | 2011/10/06 | [
"https://webmasters.stackexchange.com/questions/20653",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10697/"
] | Not sure how to word this one but will explain most I can.
I am trying to make the following happen.
1. Re-write this `http://example.com`
2. To this `http://example.com/home/`
Is it possible ?
**update**
Simone Carletti - the method you posted did not work, have you had this work ? Also would it visually change i... | I'm not an expert at this so this may be wrong. If so, let me know so I can either correct it or delete it.
```
RewriteEngine on
RewriteRule ^$ /home/[L,R=301]
```
**edit**
This [stackoverflow questions](https://stackoverflow.com/q/990392/250259) seems to ask the same question. Check it out and see if you find a so... |
20,661 | <p>I'm managing a CMS-based website. The primary language of the CMS is English. Our content is mostly in English, but user postings are sometimes in other languages. The supporting mySQL database of my site is set to UTF-8 encoding. </p>
<p>Until recently, "other language" (e.g. Russian) postings displayed correctl... | [
{
"answer_id": 20665,
"author": "Osvaldo",
"author_id": 6355,
"author_profile": "https://webmasters.stackexchange.com/users/6355",
"pm_score": 1,
"selected": false,
"text": "<p><strong>Utf-8 and non English chars do not display well in iso-8859-1 and iso-8859-1 chars do not display well ... | 2011/10/06 | [
"https://webmasters.stackexchange.com/questions/20661",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10699/"
] | I'm managing a CMS-based website. The primary language of the CMS is English. Our content is mostly in English, but user postings are sometimes in other languages. The supporting mySQL database of my site is set to UTF-8 encoding.
Until recently, "other language" (e.g. Russian) postings displayed correctly. This in s... | **Utf-8 and non English chars do not display well in iso-8859-1 and iso-8859-1 chars do not display well in utf-8.**
If you want to know the encoding your browser has detected and is using on a page:
In Firefox just go to the menu "View" > "Character encoding".
<http://support.mozilla.com/en-US/kb/Menu%20Reference>
... |
20,704 | <p>This is kind of a newbie question, but my boss asked me and I wasn't sure exactly how to answer. Id like to get some opinions from others that have hit this issue before.</p>
<p><strong>Scenario:</strong></p>
<p>We are wanting to purchase a new chain of URLs for a new site expenditure. The #1 goal for my boss is w... | [
{
"answer_id": 20717,
"author": "Gabe Sumner",
"author_id": 1442,
"author_profile": "https://webmasters.stackexchange.com/users/1442",
"pm_score": 1,
"selected": false,
"text": "<p>There would be 2 primary side-effects:</p>\n\n<ol>\n<li>Loss of PageRank value to the linked web site.</li>... | 2011/05/23 | [
"https://webmasters.stackexchange.com/questions/20704",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | This is kind of a newbie question, but my boss asked me and I wasn't sure exactly how to answer. Id like to get some opinions from others that have hit this issue before.
**Scenario:**
We are wanting to purchase a new chain of URLs for a new site expenditure. The #1 goal for my boss is when a customer searches for "T... | **SEO.** The linked sites may not receive full PageRank from a redirect URL. Some SEOs believe there is evidence that sites which link out to other parts of the web are viewed more approvingly by Google than sites that do not link out to anyone, so there could be a slight negative value to keeping all of your links ins... |
20,735 | <p>In my <code>sitemap.xml</code> file, I have the following line for every URL:</p>
<pre class="lang-xml prettyprint-override"><code><changefreq>weekly</changefreq>
</code></pre>
<p>But the reality is that most pages don't change very often.</p>
<p>Except there are new pages added frequently to <code>http:... | [
{
"answer_id": 20737,
"author": "Aurelio De Rosa",
"author_id": 10718,
"author_profile": "https://webmasters.stackexchange.com/users/10718",
"pm_score": 2,
"selected": false,
"text": "<p>I think that it does not matter so much. I explain better. Of course having <code>changefreq</code> t... | 2011/10/08 | [
"https://webmasters.stackexchange.com/questions/20735",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9489/"
] | In my `sitemap.xml` file, I have the following line for every URL:
```xml
<changefreq>weekly</changefreq>
```
But the reality is that most pages don't change very often.
Except there are new pages added frequently to `http://example.com/copywriters` (sometimes a few new pages a day; other days there might be no new... | I think that it does not matter so much. I explain better. Of course having `changefreq` tag for every page could give to S.E.s (Search Engines) an "idea" on how frequently those pages are updated. In reality, S.E.s discover by theirselves how frequently a page is updated and so how much frequently they have to visit e... |
20,781 | <p>Google's exact match domain SEO boost is well publicised (including in a recent Stack Exchange podcast). But is there any evidence that an "exact match subdomain" gets any kind of boost?</p>
<p>I'm talking about the difference between <code>word.example.com</code> vs <code>wordexample.com</code> (and maybe <code>wo... | [
{
"answer_id": 20817,
"author": "SEOThomas",
"author_id": 10645,
"author_profile": "https://webmasters.stackexchange.com/users/10645",
"pm_score": -1,
"selected": false,
"text": "<p>exact match domains are powerful because they have certain KEYWORDS in them. </p>\n\n<p>so if you have a s... | 2011/10/09 | [
"https://webmasters.stackexchange.com/questions/20781",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/233/"
] | Google's exact match domain SEO boost is well publicised (including in a recent Stack Exchange podcast). But is there any evidence that an "exact match subdomain" gets any kind of boost?
I'm talking about the difference between `word.example.com` vs `wordexample.com` (and maybe `word.com/example`) in a search for "wor... | I tried exact match sub-domains from 2002 until 2010. It was on a site that had local information about products. So most of our URLs were like:
```
example.com/product/houston-tx.html
```
but we tried a handful of cities that got sub-domains:
```
dallas-product.example.com
```
Those "exact match sub-domains" ran... |
20,914 | <p>I have content that can be accessed from various ways. For example my content is <strong>reviews</strong> and I have three type of reviews:</p>
<pre><code>/customer-reviews/11/slug.html
/third-party-reviews/11/slug.html
/products/99/reviews/11/slug.html
</code></pre>
<p>Another example would be <strong>products</s... | [
{
"answer_id": 20928,
"author": "Marco Miltenburg",
"author_id": 10828,
"author_profile": "https://webmasters.stackexchange.com/users/10828",
"pm_score": 2,
"selected": false,
"text": "<p>I agree with Mr. Disappointment that using URL segments is the way to go. And I think you will event... | 2011/10/12 | [
"https://webmasters.stackexchange.com/questions/20914",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6515/"
] | I have content that can be accessed from various ways. For example my content is **reviews** and I have three type of reviews:
```
/customer-reviews/11/slug.html
/third-party-reviews/11/slug.html
/products/99/reviews/11/slug.html
```
Another example would be **products** which can be viewed in ways:
```
/products/1... | Search engines, at least Google, don't care either way. If you have a clean URL structure (no duplication via URLs like /productname/colorname/ & /colorname/productname/ ) then they generally won't have a problem whether you use URL path elements or URL parameters. Both URL kinds have been around since "forever" so the... |
20,923 | <p>I'm currently engaged with a web based application that needs to show text files via directory listing in the web server (Tomcat). The text file has an extension of .inp and .trg, it seems that IE8 is not wrapping the text properly and ignores the white spaces and line breaks of the file. When I create a sample plai... | [
{
"answer_id": 20925,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": 3,
"selected": false,
"text": "<p>For Tomcat, add the MIME types in the conf/web.xml file, as given below</p>\n\n<pre><code><mime-mappin... | 2011/10/13 | [
"https://webmasters.stackexchange.com/questions/20923",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10823/"
] | I'm currently engaged with a web based application that needs to show text files via directory listing in the web server (Tomcat). The text file has an extension of .inp and .trg, it seems that IE8 is not wrapping the text properly and ignores the white spaces and line breaks of the file. When I create a sample plain t... | For Tomcat, add the MIME types in the conf/web.xml file, as given below
```
<mime-mapping>
<extension>inp</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
```
for each extension |
20,988 | <p>I have a local LAMP stack (without the MySQL. LAP stack? Anyways..) and I am using this as a development environment for a production website. The site is placed in a sub-directory of the Apache2 document root and managed by Git.</p>
<p>My Issue is: I have a .htaccess file tracked in that subdir by Git for URL rew... | [
{
"answer_id": 20989,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": 3,
"selected": true,
"text": "<p>Your can add into httpd.conf container for <code><Directory></code>:</p>\n\n<pre><code>AllowOverride... | 2011/10/14 | [
"https://webmasters.stackexchange.com/questions/20988",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10856/"
] | I have a local LAMP stack (without the MySQL. LAP stack? Anyways..) and I am using this as a development environment for a production website. The site is placed in a sub-directory of the Apache2 document root and managed by Git.
My Issue is: I have a .htaccess file tracked in that subdir by Git for URL rewriting on t... | Your can add into httpd.conf container for `<Directory>`:
```
AllowOverride None
```
and affected .htaccess will be effectively ignored. |
21,100 | <p>I have the following mod_rewrite rule, which works fine in my Apache 2.x on CentOS 6 Linux machine, but it is not complete:</p>
<pre><code>RewriteCond %{HTTP_COOKIE} !id
RewriteCond %{REQUEST_URI} ^/sites/default/files/pictures/picture-
RewriteRule .* /images/dummy.png [L]
</code></pre>
<p>because I'm trying to ch... | [
{
"answer_id": 21101,
"author": "quanta",
"author_id": 11244,
"author_profile": "https://webmasters.stackexchange.com/users/11244",
"pm_score": 3,
"selected": true,
"text": "<p>How about this:</p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{HTTP_COOKIE} !(^|;\\s*)id=[0-9]+(;\\s*)auth=[... | 2011/10/18 | [
"https://webmasters.stackexchange.com/questions/21100",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7468/"
] | I have the following mod\_rewrite rule, which works fine in my Apache 2.x on CentOS 6 Linux machine, but it is not complete:
```
RewriteCond %{HTTP_COOKIE} !id
RewriteCond %{REQUEST_URI} ^/sites/default/files/pictures/picture-
RewriteRule .* /images/dummy.png [L]
```
because I'm trying to change it in 2 ways:
1. Ac... | How about this:
```
RewriteEngine On
RewriteCond %{HTTP_COOKIE} !(^|;\s*)id=[0-9]+(;\s*)auth=[0-9a-fA-F]{32}(;\s*)
RewriteCond %{REQUEST_URI} ^/sites/default/files/pictures/picture-
RewriteRule .* /images/dummy.png [L]
``` |
21,106 | <p>I'm running some latency measurements using <a href="http://www.webpagetest.org/" rel="nofollow">Web Page Speed Test</a> on a static javascript file. I compared hosting the file at four locations: <a href="http://www.hostmonster.com/" rel="nofollow">Host Monster</a>, <a href="http://aws.amazon.com/s3/" rel="nofollow... | [
{
"answer_id": 21316,
"author": "Furkan Gözükara",
"author_id": 8763,
"author_profile": "https://webmasters.stackexchange.com/users/8763",
"pm_score": 0,
"selected": false,
"text": "<p>i can clearly say that the website you are using is not accurate. use firefox install firebug and test ... | 2011/10/18 | [
"https://webmasters.stackexchange.com/questions/21106",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/586/"
] | I'm running some latency measurements using [Web Page Speed Test](http://www.webpagetest.org/) on a static javascript file. I compared hosting the file at four locations: [Host Monster](http://www.hostmonster.com/), [Amazon S3](http://aws.amazon.com/s3/), [Amazon Cloudfront](http://aws.amazon.com/cloudfront/), and [Her... | I think the issue was with me using the default setting on Web Page Speed Test. Try using FIOS under Connection Settings to get a more real measurement. |
21,133 | <h2>The short version:</h2>
<p>I've got a session cookie being set on a dev site but it's not being picked up when I move to the SSL (so the shopping cart empties when you go to the checkout).</p>
<p>When it's set on the <strong>www</strong> site:</p>
<pre><code># http://dev.domain.ext
Name devSID
Value 2e9f1b1... | [
{
"answer_id": 21199,
"author": "Emil Rasmussen",
"author_id": 10198,
"author_profile": "https://webmasters.stackexchange.com/users/10198",
"pm_score": 0,
"selected": false,
"text": "<p>I will suspect this is something to do with the cookie domain. Try creating a script with a call to th... | 2011/10/19 | [
"https://webmasters.stackexchange.com/questions/21133",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10938/"
] | The short version:
------------------
I've got a session cookie being set on a dev site but it's not being picked up when I move to the SSL (so the shopping cart empties when you go to the checkout).
When it's set on the **www** site:
```
# http://dev.domain.ext
Name devSID
Value 2e9f1b1f6ca718d0961d0257f3297c1... | OK - I think I've just solved it, thanks to Dave and Emil; whilst you didn't hit the nail on the head - you *did* make me look in the right sort of place (and reminded me of Fiddler to debug).
Theoretically, what I was doing **should not** have broken the cookie but it was, but only sometimes (e.g. it worked fine acce... |
21,212 | <p>We own a website which, through google search results, we determined is either being linked to improperly or for spam purposes by another completely random source. </p>
<p>They recently registered a domain and are pointing that domain to our site (though looks to be a 303 redirect given their URL stays in tact). As... | [
{
"answer_id": 21213,
"author": "pat8719",
"author_id": 10986,
"author_profile": "https://webmasters.stackexchange.com/users/10986",
"pm_score": 1,
"selected": false,
"text": "<p>Is your domain registered through a commercial registrar, if so they most likely provide some sort of offshoo... | 2011/10/21 | [
"https://webmasters.stackexchange.com/questions/21212",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5603/"
] | We own a website which, through google search results, we determined is either being linked to improperly or for spam purposes by another completely random source.
They recently registered a domain and are pointing that domain to our site (though looks to be a 303 redirect given their URL stays in tact). As a result,... | With a little investigation it appears that the `m2designint.com` domain is outputting the same raw HTML as `cashconnectrx.com` (except using their domain in place of yours) so they are not using frames or anything like that. Did you check if changing a word on your page changes the word on their site, either instantly... |
21,337 | <p>I'm seeing this in the iis-logs of two websites that I maintain:</p>
<pre><code>GET /an/existing/page/on/my/site+ForceRecrawl:+0 - 80 - 207.46.195.105 HTTP/1.1 Mozilla/5.0+(compatible;+bingbot/2.0;++http://www.bing.com/bingbot.htm)
</code></pre>
<p>I get about one or two of these per day from these IP addresses: 2... | [
{
"answer_id": 21393,
"author": "knooq",
"author_id": 11076,
"author_profile": "https://webmasters.stackexchange.com/users/11076",
"pm_score": 3,
"selected": true,
"text": "<p>You're not the only one. It seems to stem from Bing Webmaster tools which includes the option to force the bot ... | 2011/10/26 | [
"https://webmasters.stackexchange.com/questions/21337",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10257/"
] | I'm seeing this in the iis-logs of two websites that I maintain:
```
GET /an/existing/page/on/my/site+ForceRecrawl:+0 - 80 - 207.46.195.105 HTTP/1.1 Mozilla/5.0+(compatible;+bingbot/2.0;++http://www.bing.com/bingbot.htm)
```
I get about one or two of these per day from these IP addresses: 207.46.195.105, 65.52.110.1... | You're not the only one. It seems to stem from Bing Webmaster tools which includes the option to force the bot to recrawl specific url's. However, this seems to be happening without user request for such forced recrawls.
The bot seems to be adding the instruction `%20ForceRecrawl%3A%200` to the end of url's and trying... |
21,341 | <p><a href="http://en.wikipedia.org/wiki/DreamHost" rel="nofollow">DreamHost</a> recently moved my accounts to a new shared box, and now I can't edit files via UltraEdit's built in FTP client, which messes up my work flow!</p>
<p>What did they do that this is not working now? It stopped working after they moved me.</p... | [
{
"answer_id": 21343,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 2,
"selected": false,
"text": "<p><code>Overwrite permission denied</code> suggests that DreamHost forgot to enable <code>AllowOverwrite</code> on t... | 2011/10/26 | [
"https://webmasters.stackexchange.com/questions/21341",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10147/"
] | [DreamHost](http://en.wikipedia.org/wiki/DreamHost) recently moved my accounts to a new shared box, and now I can't edit files via UltraEdit's built in FTP client, which messes up my work flow!
What did they do that this is not working now? It stopped working after they moved me.
Here's the output from the FTP consol... | `Overwrite permission denied` suggests that DreamHost forgot to enable `AllowOverwrite` on the new server, which means you can't edit existing files, only upload new ones.
To fix it yourself, add the following lines to the .htaccess file in your root directory. You'll have to open the existing .htaccess file if there ... |
21,345 | <p>I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain. </p>
<p>Dynamic URL pattern:</p>
<pre><code>http://mydomain.com/mypage.php?user_name=testuser
</code></pre>
<p>I wish to re-direct this to the corresponding sub domain:</p>
<pre><code>http://testuser.my... | [
{
"answer_id": 25517,
"author": "toomanyairmiles",
"author_id": 12685,
"author_profile": "https://webmasters.stackexchange.com/users/12685",
"pm_score": 2,
"selected": false,
"text": "<p><a href=\"http://www.webmasterworld.com/forum92/368.htm\" rel=\"nofollow\">Take a look at this thread... | 2011/10/27 | [
"https://webmasters.stackexchange.com/questions/21345",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10932/"
] | I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain.
Dynamic URL pattern:
```
http://mydomain.com/mypage.php?user_name=testuser
```
I wish to re-direct this to the corresponding sub domain:
```
http://testuser.mydomain.com/
```
1. How do I create a rewri... | [Take a look at this thread over at webmaster world](http://www.webmasterworld.com/forum92/368.htm)
You'll need to create:-
* A DNS mapping: `*.yourdomain.com => your IP`
* A server alias `*.yourdomain.com` in your virtualhost configuration
.htaccess file with something like:
```
RewriteEngine on
RewriteCond %{... |
21,346 | <p>Our company owns a selection of top level domain names. Each of these domain names points to the same IP.</p>
<p>We currently market our domain as existingfoo.com. All our incoming links are to that domain, our SSL certificate is JUST for that single domain, and so on.
Our search results always point to that domain... | [
{
"answer_id": 21349,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": -1,
"selected": false,
"text": "<p>You forgot to DNAME old and new domain in DNS for some time</p>\n"
},
{
"answer_id": 21451,
... | 2011/10/27 | [
"https://webmasters.stackexchange.com/questions/21346",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/389/"
] | Our company owns a selection of top level domain names. Each of these domain names points to the same IP.
We currently market our domain as existingfoo.com. All our incoming links are to that domain, our SSL certificate is JUST for that single domain, and so on.
Our search results always point to that domain. (I'm not... | To not waste all your effort about off-page SEO, you should make a Permanent Redirect (code 301) from your old domain to your new domain. But this will be **not enough**. Infact if you have many links to your website and especially to different pages, I suggest you to do a sort of **map**.
I mean, using the technique ... |
21,359 | <p>In Google Webmaster Tools I've recently noticed several concatenated URLs appearing in the Crawl Errors. On investigation it seems Google is picking up these links from a page that shows a user's posts from the forum. I take the raw (non-HTML) text, truncate it then add "..." after it, but if a URL gets cut off I en... | [
{
"answer_id": 21362,
"author": "Luuk Barten",
"author_id": 10956,
"author_profile": "https://webmasters.stackexchange.com/users/10956",
"pm_score": 0,
"selected": false,
"text": "<p>Having links with href values that end up nowhere usually results in a 404 error of a non existing page. ... | 2011/10/27 | [
"https://webmasters.stackexchange.com/questions/21359",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/233/"
] | In Google Webmaster Tools I've recently noticed several concatenated URLs appearing in the Crawl Errors. On investigation it seems Google is picking up these links from a page that shows a user's posts from the forum. I take the raw (non-HTML) text, truncate it then add "..." after it, but if a URL gets cut off I end u... | Google picks up links wherever it can find them. Sometimes those links are good (and lead to new, previously unknown pages), sometimes they're bad, that's fine. You generally don't need to do anything special in that regard, unless you're seeing a lot of user-traffic to those URLs you don't really need to redirect them... |
21,394 | <p>I want to track google search keyword for site in asp classic. Any user which use any word in google search to reach on my site, I want to track this word.</p>
| [
{
"answer_id": 21395,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>You could use <a href=\"http://www.google.com/analytics/\" rel=\"nofollow\">Google Analytics</a> for this.</p>\n"... | 2011/10/28 | [
"https://webmasters.stackexchange.com/questions/21394",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11201/"
] | I want to track google search keyword for site in asp classic. Any user which use any word in google search to reach on my site, I want to track this word. | You should be looking at the referer header in the HTTP request and see if your user was coming from the Google search engine. You could match it against a regular expression to match any google domain:
```
(www\.)?google\.[a-z]{2,4}
```
If it does, you can extract the query string parameters from the referer and lo... |
21,410 | <p>When creating a robots.txt, are the following the same?</p>
<pre><code># Slurp
User-agent: Slurp
Disallow: /
</code></pre>
<p>and </p>
<p><code># Slurp User-agent: Slurp Disallow: /</code></p>
<p>It seems like for someone disallowing a large number of crawlers at / then a single line notation would be easier to ... | [
{
"answer_id": 21411,
"author": "Lazy Badger",
"author_id": 10489,
"author_profile": "https://webmasters.stackexchange.com/users/10489",
"pm_score": -1,
"selected": false,
"text": "<p>Second form do nothing, it's just full-line comment</p>\n\n<blockquote>\n <p>The file consists of one o... | 2011/10/29 | [
"https://webmasters.stackexchange.com/questions/21410",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | When creating a robots.txt, are the following the same?
```
# Slurp
User-agent: Slurp
Disallow: /
```
and
`# Slurp User-agent: Slurp Disallow: /`
It seems like for someone disallowing a large number of crawlers at / then a single line notation would be easier to read and realize what is being blocked and what not... | No. The [RFC](http://www.robotstxt.org/norobots-rfc.txt) says:
```
The format logically consists of a non-empty set or records,
separated by blank lines. The records consist of a set of lines of
the form:
<Field> ":" <value>
```
The formal syntax includes:
```
agentline = "User-agent:" *space agent [comment]... |
21,460 | <p>After installing a php application my site loads the app with a warning overlayed on the page </p>
<blockquote>
<p>Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are <em>required</em> to use the date.timezone setting or the date_default_timezone_set() functi... | [
{
"answer_id": 21461,
"author": "Simon Hudson",
"author_id": 7981,
"author_profile": "https://webmasters.stackexchange.com/users/7981",
"pm_score": 4,
"selected": true,
"text": "<p>Not sure about editing the php.ini file, but I always <a href=\"http://php.net/manual/en/function.date-defa... | 2011/10/31 | [
"https://webmasters.stackexchange.com/questions/21460",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9951/"
] | After installing a php application my site loads the app with a warning overlayed on the page
>
> Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date\_default\_timezone\_set() function. In case you used any... | Not sure about editing the php.ini file, but I always [set the default time zone](http://php.net/manual/en/function.date-default-timezone-set.php) as part of a config include
```
<?php date_default_timezone_set('Europe/London'); ?>
``` |
21,467 | <p>Can the web page title be set to be dynamic?</p>
<p>I want to let some part to be updated in title, if any changes occur, an automatic update resulting in a bit of word addition to the title.</p>
<p>Example : the original one : "what is the title name"</p>
<p>Now after setting to automatic update when a event as ... | [
{
"answer_id": 21468,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p><s>Your question needs to be clearer. Dynamic how? When getting information from a database? Or when a user ... | 2011/10/31 | [
"https://webmasters.stackexchange.com/questions/21467",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/74972/"
] | Can the web page title be set to be dynamic?
I want to let some part to be updated in title, if any changes occur, an automatic update resulting in a bit of word addition to the title.
Example : the original one : "what is the title name"
Now after setting to automatic update when a event as an answer is posted - "w... | If you want to change the page title without reloading the page then you'll have to do it in javascript:
```
document.title = 'Your new title';
```
You'll have to set the title even if you just want to change a part of it.
And if you want to update the title when a refresh occurs then you'll have to do it using you... |
21,483 | <p>I have a couple of subdomains on my website that I use for various purposes and I don't want/need them to be indexed by search engines. From the very beginning, since I created them, I added a <code>robots.txt</code> file to disallow search engines from crawling those pages.</p>
<p>Now, I know that this does not en... | [
{
"answer_id": 21468,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p><s>Your question needs to be clearer. Dynamic how? When getting information from a database? Or when a user ... | 2011/11/01 | [
"https://webmasters.stackexchange.com/questions/21483",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3137/"
] | I have a couple of subdomains on my website that I use for various purposes and I don't want/need them to be indexed by search engines. From the very beginning, since I created them, I added a `robots.txt` file to disallow search engines from crawling those pages.
Now, I know that this does not enforce anything, it's ... | If you want to change the page title without reloading the page then you'll have to do it in javascript:
```
document.title = 'Your new title';
```
You'll have to set the title even if you just want to change a part of it.
And if you want to update the title when a refresh occurs then you'll have to do it using you... |
21,508 | <p>I just saw that twitter can also preview the products as it is on below Tweet:</p>
<p><a href="http://twitter.com/#!/gillcleeren/status/131640082397528065" rel="nofollow">http://twitter.com/#!/gillcleeren/status/131640082397528065</a></p>
<p>In this case, it is an Amazon product. </p>
<p>I was wondering how we ca... | [
{
"answer_id": 21509,
"author": "Su'",
"author_id": 4502,
"author_profile": "https://webmasters.stackexchange.com/users/4502",
"pm_score": 2,
"selected": false,
"text": "<p>This is determined by Twitter, presumably using whatever services/sites they see as most popular or desirable. Also... | 2011/11/02 | [
"https://webmasters.stackexchange.com/questions/21508",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7994/"
] | I just saw that twitter can also preview the products as it is on below Tweet:
<http://twitter.com/#!/gillcleeren/status/131640082397528065>
In this case, it is an Amazon product.
I was wondering how we can enable this for our website? Do we have control over this or Twitter chooses web sites for this feature which... | It isn't possible yet since what you want to do is exactly what [Twitter Cards](https://dev.twitter.com/docs/cards) will soon provide:

It isn't available for every one at the moment but will be available in the future. Right now, you can anticipate ... |
21,535 | <p>I have copied and pasted the following code <a href="http://southasianlitfest.com/2011/10/our-lady-of-alice-bhatti/" rel="nofollow">into my page</a>, but it seems to be having no effect. It should have a fall back block colour, but nothing is showing.</p>
<p>Code copied/pasted straight from Google:</p>
<pre><code>... | [
{
"answer_id": 21539,
"author": "mr.Liviu.V",
"author_id": 11158,
"author_profile": "https://webmasters.stackexchange.com/users/11158",
"pm_score": 1,
"selected": false,
"text": "<p>In my experience, sometimes it just take about 10 minutes for adsense to display ads, IF you are running a... | 2011/11/02 | [
"https://webmasters.stackexchange.com/questions/21535",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2025/"
] | I have copied and pasted the following code [into my page](http://southasianlitfest.com/2011/10/our-lady-of-alice-bhatti/), but it seems to be having no effect. It should have a fall back block colour, but nothing is showing.
Code copied/pasted straight from Google:
```
<script type="text/javascript"><!--
google_... | In my experience, sometimes it just take about 10 minutes for adsense to display ads, IF you are running ads for the first time on that website .
also in some cases you must have some keywords for adsense to display relevant ads .
and in some other cases, for exemple if your domain is an adult domain with some adult ... |
21,536 | <p>I am using Wolf CMS, which is served by PHP.</p>
<p>I want to redirect /index.html to /index.php.</p>
<p>I put the following in .htaccess:</p>
<pre><code><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ^index.html$ [NC]
RewriteRule ^index.html$ index.php [R=3... | [
{
"answer_id": 21550,
"author": "Simone Carletti",
"author_id": 1647,
"author_profile": "https://webmasters.stackexchange.com/users/1647",
"pm_score": 1,
"selected": false,
"text": "<p>If you simply want to perform a redirect, use</p>\n\n<pre><code>Redirect 301 /index.html http://www.exa... | 2011/11/02 | [
"https://webmasters.stackexchange.com/questions/21536",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I am using Wolf CMS, which is served by PHP.
I want to redirect /index.html to /index.php.
I put the following in .htaccess:
```
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ^index.html$ [NC]
RewriteRule ^index.html$ index.php [R=301,L]
# Wolf CMS rewriting
Re... | I failed to specify that the website was in the folder /test.
If I had of done so, it would of been clear `RewriteBase /` is incorrect; it should of been `RewriteBase /test/`. |
21,560 | <p>I'm trying to get mod rewrite to work on my Mac. This is the content of the .htaccess file:</p>
<pre><code><Files *\.ini>
order allow,deny
deny from all
</Files>
RewriteEngine on
RewriteRule .* index.php
</code></pre>
<p>I know this is active, because it's blocking .ini files properly, and it seem... | [
{
"answer_id": 21566,
"author": "Tony McCreath",
"author_id": 4322,
"author_profile": "https://webmasters.stackexchange.com/users/4322",
"pm_score": 0,
"selected": false,
"text": "<p>How about redirect to a simple html file and see if that works?</p>\n\n<p>Also try using this syntax:</p>... | 2011/11/03 | [
"https://webmasters.stackexchange.com/questions/21560",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11179/"
] | I'm trying to get mod rewrite to work on my Mac. This is the content of the .htaccess file:
```
<Files *\.ini>
order allow,deny
deny from all
</Files>
RewriteEngine on
RewriteRule .* index.php
```
I know this is active, because it's blocking .ini files properly, and it seems to rewrite the fictional request `/f... | Since Rijk didn't want to answer their own question, the solution was they had to add this line into the .htaccess file.
```
RewriteBase /~rwel/dev/quaestio
```
Hope this helps someone else. |
21,581 | <p>I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in <code>public_html</code> folder:</p>
<pre><code>\public_html\.htaccess
</code></pre>
<p>How I make it to work for the folder <code>small</code> as well?</p>
<pre><code>\public_html\home\images\red\thumbs\small\
</code></... | [
{
"answer_id": 21564,
"author": "Raptor",
"author_id": 10279,
"author_profile": "https://webmasters.stackexchange.com/users/10279",
"pm_score": 0,
"selected": false,
"text": "<p>Have you tried your sites loading in IE 6 ? Most IE users (especially in China) are using IE 6 / IE6-core brow... | 2011/11/03 | [
"https://webmasters.stackexchange.com/questions/21581",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11188/"
] | I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in `public_html` folder:
```
\public_html\.htaccess
```
How I make it to work for the folder `small` as well?
```
\public_html\home\images\red\thumbs\small\
```
It only enforces up to home directory not more.
```
ErrorDoc... | Honestly, there are a few general possibilities here:
1. IE does not work on your site. It works so badly, that they fail to even load Google Analytics on your site properly -- or, possibly, it loads very slowly, and you get a lot of early aborts. You should probably test this.
2. People who use IE are, in fact, not v... |
21,658 | <p>I run a subscription-based site for poker training videos. In the recent past, some portion of our subscribers have developed problems downloading our videos. The affected users are exclusively seeing problems while using Chrome as their web browser, however there are other users who use Chrome with no problem.</p>
... | [
{
"answer_id": 21817,
"author": "brock",
"author_id": 11294,
"author_profile": "https://webmasters.stackexchange.com/users/11294",
"pm_score": 1,
"selected": false,
"text": "<p>Google Chrome uses the Safe Browsing API by default (blog post <a href=\"http://blog.chromium.org/2011/04/prote... | 2011/11/05 | [
"https://webmasters.stackexchange.com/questions/21658",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1638/"
] | I run a subscription-based site for poker training videos. In the recent past, some portion of our subscribers have developed problems downloading our videos. The affected users are exclusively seeing problems while using Chrome as their web browser, however there are other users who use Chrome with no problem.
Here i... | You are sending the `Content-Type: application/octet-stream` header, presumably hoping to trigger the browser to download the file instead of letting the user view it. This however is not really the best way. You are better of with sending the correct content type and add a content disposition header, like so:
```
Con... |
21,665 | <p>On my <code>example.com</code> domain name at Godaddy's page, I set a CNAME record <code>www</code> to point to <code>test.somedomain.example</code>. So if a user types in <code>www.example.com</code>, it will takes him to <code>test.somedoman.example</code>.</p>
<p>My question is I how can I configure <code>exampl... | [
{
"answer_id": 21666,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Just add a CNAME record for <code>example.com</code> pointing to <code>www.example.com</code>, or to <code>test.s... | 2011/11/05 | [
"https://webmasters.stackexchange.com/questions/21665",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | On my `example.com` domain name at Godaddy's page, I set a CNAME record `www` to point to `test.somedomain.example`. So if a user types in `www.example.com`, it will takes him to `test.somedoman.example`.
My question is I how can I configure `example.com` to point to `www.example.com`? That way if a user types in `exa... | Erik's answer is correct if you just want the domains to alias each other. Although, it's better for user experience and SEO purposes to use an HTTP redirect using a `.htaccess` file in your web root. Or, GoDaddy may provide soem more user friendly means of doing this.
If not, just create a file named `.htaccess` in t... |
21,698 | <p>I moved my website to a new CMS and some of my URLs look different now, so I want to delete a part of incoming URLs so that links to my page still work properly. </p>
<p>The old URL looks like:</p>
<pre><code>www.example.com/MY-FORUM/my-forum/category/postingtitle
</code></pre>
<p>I want to get rid of the <code>M... | [
{
"answer_id": 21672,
"author": "ceejayoz",
"author_id": 241,
"author_profile": "https://webmasters.stackexchange.com/users/241",
"pm_score": 1,
"selected": false,
"text": "<p>You're on shared hosting, there are other sites on the same server, and the server serves different websites bas... | 2011/11/06 | [
"https://webmasters.stackexchange.com/questions/21698",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I moved my website to a new CMS and some of my URLs look different now, so I want to delete a part of incoming URLs so that links to my page still work properly.
The old URL looks like:
```
www.example.com/MY-FORUM/my-forum/category/postingtitle
```
I want to get rid of the `MY-FORUM`, so it looks like:
```
www.e... | No, it really won't affect your SEO in any way. There are many hostings using one server for many domains. |
21,701 | <p>When I share content from my site it posts an image to Facebook as it should. I have noticed that the image is small, roughly 100x100 at best. Yet on other people's posts of content from other sites the content is much larger. (320x320 roughly.) I do not know why the images from my site are reduced to such a small s... | [
{
"answer_id": 21705,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 4,
"selected": true,
"text": "<p>You can add a meta tag in your page's <code><head></code> area with the <code>og:image</code> property to poi... | 2011/11/07 | [
"https://webmasters.stackexchange.com/questions/21701",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9539/"
] | When I share content from my site it posts an image to Facebook as it should. I have noticed that the image is small, roughly 100x100 at best. Yet on other people's posts of content from other sites the content is much larger. (320x320 roughly.) I do not know why the images from my site are reduced to such a small size... | You can add a meta tag in your page's `<head>` area with the `og:image` property to point to the image you want Facebook to use when people Like your page:
`<meta property="og:image" content="http://yoursite.com/path/to/image.jpg"/>`
If you don't use this tag, Facebook's page scraper will pick an image for you. It's ... |
21,708 | <p>I am using onclick="parent.location='#'" to make a table into a link, but will Google Analytics see this as a link or will it cause mayhem in the reports?</p>
| [
{
"answer_id": 21709,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>From the server's perspective there is no difference between an actual link being clicked and a request sent by J... | 2011/07/09 | [
"https://webmasters.stackexchange.com/questions/21708",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am using onclick="parent.location='#'" to make a table into a link, but will Google Analytics see this as a link or will it cause mayhem in the reports? | If the link is internal to your site, yes Google will track it, because the target page should contain the tracking script as well.
If the link is external, then no. You need to call:
```
pageTracker._trackPageview('...your url...');
```
then direct the user to the new page. |
21,736 | <p>We have the domain:</p>
<pre><code> www.scirra.com
</code></pre>
<p>Which we are going through the process of obtaining an EV SSL certificate for. The site makes use of our static domain to server CSS/images etc. It has 4 subdomains:</p>
<pre><code>static1.scirra.net
static2.scirra.net
static3.scirra.net
static... | [
{
"answer_id": 21738,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 3,
"selected": true,
"text": "<p>Yes you need a certificate to stop warnings (though different browsers have different sorts of warnings, som... | 2011/11/07 | [
"https://webmasters.stackexchange.com/questions/21736",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | We have the domain:
```
www.scirra.com
```
Which we are going through the process of obtaining an EV SSL certificate for. The site makes use of our static domain to server CSS/images etc. It has 4 subdomains:
```
static1.scirra.net
static2.scirra.net
static3.scirra.net
static4.scirra.net
```
To stop security war... | Yes you need a certificate to stop warnings (though different browsers have different sorts of warnings, some are almost unnoticeable).
1. Yes, it doesn't need to be EV - see [What are the benefits of a more expensive SSL certificate?](https://webmasters.stackexchange.com/questions/3836/what-are-the-benefits-of-a-more... |
21,828 | <p>I need rewrite rules to redirect the following:</p>
<p><code>http://www.</code> to <code>http://</code></p>
<p><code>/file.html</code> to <code>/file</code></p>
<p>I've tried using a combination of these but each time it results in a redirect loop on one of the situations</p>
<pre><code>RewriteBase /
RewriteRule... | [
{
"answer_id": 22007,
"author": "Olivier Pons",
"author_id": 8171,
"author_profile": "https://webmasters.stackexchange.com/users/8171",
"pm_score": 2,
"selected": true,
"text": "<p>Here's my real-life rule, and I strongly suggests to \"force\" the \"www\" because when you'll want to opti... | 2011/11/09 | [
"https://webmasters.stackexchange.com/questions/21828",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11303/"
] | I need rewrite rules to redirect the following:
`http://www.` to `http://`
`/file.html` to `/file`
I've tried using a combination of these but each time it results in a redirect loop on one of the situations
```
RewriteBase /
RewriteRule ^(.*)\.html$ $1 [NC]
RewriteCond %{HTTP_HOST} ^www.domain.co.uk [NC, L]
Rewri... | Here's my real-life rule, and I strongly suggests to "force" the "www" because when you'll want to optimize your website you'll see you'll always need "www". Read the advices of the YSlow (Yahoo Slow) plugin, and you'll understand why it's technically better to use www (=> website optimization).
```
RewriteCond %{HTTP... |
21,834 | <p>I made a 'login with OpenID' page and I had a error when OpenID provider return to my page:</p>
<blockquote>
<p>You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>
</blockquote>
<... | [
{
"answer_id": 21839,
"author": "Tuan",
"author_id": 11191,
"author_profile": "https://webmasters.stackexchange.com/users/11191",
"pm_score": 0,
"selected": false,
"text": "<p>404 errors generally means the page can't be found. Check to make sure your error document is actually in the l... | 2011/11/09 | [
"https://webmasters.stackexchange.com/questions/21834",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10310/"
] | I made a 'login with OpenID' page and I had a error when OpenID provider return to my page:
>
> You don't have permission to access /index.php on this server.
> Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
>
>
>
If I remove parameters which are r... | The login page you link to seems to actually be located here: `http://bryox.com/gate/login`
To fix this you could add
```
$route['login'] = "gate/login";
```
to your `/application/config/routes.php` or alternatively make a `login.php` controller with its `index` method as a copy of the `login` method in your `gate... |
21,842 | <p><a href="http://schema.org/">schema.org</a> seems to enable us to provide metadata for some search engines including Google and Bing so that our pages will display nicely on the web.</p>
<p>My question is should we follow the schema.org and implement the stuff they are introducing?</p>
<p>It looks very reliable an... | [
{
"answer_id": 21843,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>It's not so much that the schema.org markup makes your pages display nicely, it's that the search engines a... | 2011/11/10 | [
"https://webmasters.stackexchange.com/questions/21842",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7994/"
] | [schema.org](http://schema.org/) seems to enable us to provide metadata for some search engines including Google and Bing so that our pages will display nicely on the web.
My question is should we follow the schema.org and implement the stuff they are introducing?
It looks very reliable and it will last longer than t... | Use microdata to mark up useful data
------------------------------------
It makes sense to use schema.org markup if you are representing any of the supported [data types](http://schema.org/docs/full.html), and when that data is likely to be useful.
Be aware that microdata makes file sizes bigger
--------------------... |
21,849 | <p>I'm not able to view subprocedures in Phpmyadmin. I have created a sub procedure via the execute query option. Is there an option to list the subprocedure and edit them.</p>
| [
{
"answer_id": 21850,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 1,
"selected": false,
"text": "<p>No. Although on the Phpmyadmin home page it says it supports them there is no easy way to edit them. This i... | 2011/11/10 | [
"https://webmasters.stackexchange.com/questions/21849",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8104/"
] | I'm not able to view subprocedures in Phpmyadmin. I have created a sub procedure via the execute query option. Is there an option to list the subprocedure and edit them. | ```
show procedure status
```
will show you the stored procedures.
```
show create procedure MY_PROC
```
will show you the definition of a procedure. And
```
help show
```
will show you all the available options for the show command.
This will work in phpmyadmin. |
21,871 | <p>I have been asked by our <strong>marketing department</strong> to add Google Analytics <code>custom variable tracking</code> to my company's website. As the website uses <code>server side includes</code>, modifications to the tracking tag roll out globally - maintenance is therefore a headache! </p>
<p>So, if I add... | [
{
"answer_id": 28372,
"author": "digit1001",
"author_id": 2907,
"author_profile": "https://webmasters.stackexchange.com/users/2907",
"pm_score": 0,
"selected": false,
"text": "<p>Not sure what language you're using, but you could build a session for a user and then \"roll your own\" trac... | 2011/11/10 | [
"https://webmasters.stackexchange.com/questions/21871",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10987/"
] | I have been asked by our **marketing department** to add Google Analytics `custom variable tracking` to my company's website. As the website uses `server side includes`, modifications to the tracking tag roll out globally - maintenance is therefore a headache!
So, if I add the following code (keeping in mind SSI so e... | Tracking individual sessions is against google analytics TOS.
I have tried it, and after they catch up to you, they simply lock out the data.
A better choice would be to use one of the GA alternatives.
CrazyEgg. Gaug.es. and others. |
21,873 | <p>For some reason YouTube videos in my website do not get the fullscreen button, even if I added the parameter <code>allowFullScreen</code> set to true both in the object and embed tag.</p>
<p>Here's an example page: <a href="http://www.indievault.it/2011/11/09/indie-vault-alla-games-week-2011-online-la-video-gallery... | [
{
"answer_id": 21874,
"author": "Aurelio De Rosa",
"author_id": 10718,
"author_profile": "https://webmasters.stackexchange.com/users/10718",
"pm_score": 0,
"selected": false,
"text": "<p>Try to change your code with this one:</p>\n\n<pre><code><iframe title=\"YouTube video player\" \n... | 2011/11/10 | [
"https://webmasters.stackexchange.com/questions/21873",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2777/"
] | For some reason YouTube videos in my website do not get the fullscreen button, even if I added the parameter `allowFullScreen` set to true both in the object and embed tag.
Here's an example page: <http://www.indievault.it/2011/11/09/indie-vault-alla-games-week-2011-online-la-video-gallery/>
Just take a quick look at... | This works for me
```
<object width="540" height="325"><param name="movie" value="http://www.youtube.com/v/dvYQhJwwkgA?version=3&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dvYQhJwwkgA?ver... |
21,913 | <p>I installed Apache successfully on a Windows 7, 32bit system. It showed "It works" in the webpage. I also configured <code><?php phpinfo(); ?></code>file as info.php.
But when I tried to open <a href="http://localhost/info.php" rel="nofollow">http://localhost/info.php</a> in the browser, all I get is <code><... | [
{
"answer_id": 21914,
"author": "CodeCaster",
"author_id": 10260,
"author_profile": "https://webmasters.stackexchange.com/users/10260",
"pm_score": 1,
"selected": false,
"text": "<p>Add the appropriate handlers, as you could've read in the <a href=\"http://www.php.net/manual/en/install.w... | 2011/11/11 | [
"https://webmasters.stackexchange.com/questions/21913",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11570/"
] | I installed Apache successfully on a Windows 7, 32bit system. It showed "It works" in the webpage. I also configured `<?php phpinfo(); ?>`file as info.php.
But when I tried to open <http://localhost/info.php> in the browser, all I get is `<?php phpinfo(); ?>`in plain text.
I restarted Apache server every time I made c... | Add the appropriate handlers, as you could've read in the [manual](http://www.php.net/manual/en/install.windows.apache2.php):
>
> You need to insert the following lines into your Apache httpd.conf
> configuration file to load the PHP module for Apache 2.x:
>
>
>
```
#
LoadModule php5_module "c:/php/php5apache2.... |
21,950 | <p>I'm suddenly getting a 50% increase in traffic. </p>
<p>The cause of this, according to my google analytics, is referral traffic from sites such as:</p>
<pre><code>google.co.uk
google.com.my
google.co.jp
google.com.sg
</code></pre>
<p>etc etc, none of which gave me traffic before. </p>
<p>Why am I suddenly gett... | [
{
"answer_id": 21962,
"author": "Toby",
"author_id": 1240,
"author_profile": "https://webmasters.stackexchange.com/users/1240",
"pm_score": 2,
"selected": false,
"text": "<p>First of all, well done, you have obviously done something right.</p>\n\n<p>As w3d has commented, this feels like ... | 2011/11/13 | [
"https://webmasters.stackexchange.com/questions/21950",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7547/"
] | I'm suddenly getting a 50% increase in traffic.
The cause of this, according to my google analytics, is referral traffic from sites such as:
```
google.co.uk
google.com.my
google.co.jp
google.com.sg
```
etc etc, none of which gave me traffic before.
Why am I suddenly getting traffic from these places? | First of all, well done, you have obviously done something right.
As w3d has commented, this feels like you are ranking higher for certain search terms, in Google Analytics you can drill down to find out what terms are sending you the most traffic by going `TRAFFIC SOURCES > Sources > Search > Organic`, use the date r... |
21,956 | <p>I'm thinking about making a mediawiki website. At first I'd like to try it at <code>localhost</code>. I'm running Kubuntu 11.10, so I did:</p>
<pre><code>sudo aptitude install apache2 mysql-server php5 php5-mysql php5-cli
</code></pre>
<p>And I also fetched the latest mediawiki to:</p>
<pre><code>/home/boris/Its/... | [
{
"answer_id": 21961,
"author": "Toby",
"author_id": 1240,
"author_profile": "https://webmasters.stackexchange.com/users/1240",
"pm_score": 2,
"selected": false,
"text": "<p>I <em>think</em> by default apache will look into <code>/srv/www</code> for websites, not the users home directory... | 2011/11/13 | [
"https://webmasters.stackexchange.com/questions/21956",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/9430/"
] | I'm thinking about making a mediawiki website. At first I'd like to try it at `localhost`. I'm running Kubuntu 11.10, so I did:
```
sudo aptitude install apache2 mysql-server php5 php5-mysql php5-cli
```
And I also fetched the latest mediawiki to:
```
/home/boris/Its/sites/mediawiki-1.17.0
```
Now I'm supposed to... | I *think* by default apache will look into `/srv/www` for websites, not the users home directory. The first thing I would check is where apache is looking.
If you search the internet for terms like "apache .conf virtual host" you should find several how-to guides. [Here](http://httpd.apache.org/docs/2.0/vhosts/example... |
21,997 | <p>How can I rewrite my URL from <code>edit.php?id=2</code> to <code>edit/id/2</code>?</p>
| [
{
"answer_id": 21998,
"author": "Book Of Zeus",
"author_id": 10559,
"author_profile": "https://webmasters.stackexchange.com/users/10559",
"pm_score": 5,
"selected": true,
"text": "<p>Try this</p>\n\n<pre><code>RewriteEngine On\nRewriteBase /\nRewriteRule ^edit/id/([0-9]+)/?$ edit.php?id=... | 2011/11/14 | [
"https://webmasters.stackexchange.com/questions/21997",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11808/"
] | How can I rewrite my URL from `edit.php?id=2` to `edit/id/2`? | Try this
```
RewriteEngine On
RewriteBase /
RewriteRule ^edit/id/([0-9]+)/?$ edit.php?id=$1 [NC,QSA,L]
``` |
22,012 | <p>I can't find much online about rel="translation"</p>
<p>We have tutorials and manual entries which we are going to get users to translate. If the original page in English is:</p>
<p><a href="http://www.scirra.com/tutorial/start">http://www.scirra.com/tutorial/start</a></p>
<p>And there are two translations:</p>
... | [
{
"answer_id": 22015,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 4,
"selected": true,
"text": "<p>rel=translation has been <a href=\"http://www.w3.org/TR/relations\">proposed</a> but not adopted by the W3C ... | 2011/11/14 | [
"https://webmasters.stackexchange.com/questions/22012",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | I can't find much online about rel="translation"
We have tutorials and manual entries which we are going to get users to translate. If the original page in English is:
<http://www.scirra.com/tutorial/start>
And there are two translations:
<http://www.scirra.com/tutorial/es/start> (spanish)
<http://www.scirra.com/t... | rel=translation has been [proposed](http://www.w3.org/TR/relations) but not adopted by the W3C ([it's not in the HTML5 working document](http://www.w3.org/TR/html5/links.html)).
If the words on the pages are different then Google won't penalize you for duplicate content (several people say this in the [Webmaster forum... |
22,059 | <p>I have a community site that sends emails after certain actions like </p>
<pre><code>1) When someone makes a comment
2) When someone does something called "suggest solution"
3) When someone makes a comment in the suggested solution which is different from a regular comment.
</code></pre>
<p>What I am wondering is ... | [
{
"answer_id": 22060,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 3,
"selected": true,
"text": "<p>When you send out the email you can include a display name associated with the email address. Different emai... | 2011/11/15 | [
"https://webmasters.stackexchange.com/questions/22059",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5809/"
] | I have a community site that sends emails after certain actions like
```
1) When someone makes a comment
2) When someone does something called "suggest solution"
3) When someone makes a comment in the suggested solution which is different from a regular comment.
```
What I am wondering is what is the best way to ma... | When you send out the email you can include a display name associated with the email address. Different email clients display it in different ways, but they tend to use the display name first.
So if you send the email from
```
Sitename comment <comment@sitename.com>
```
then email clients will often just display
`... |
22,073 | <p>My website is hosted in shared hosting service and is working fine with updated news stored in MySQL database. To manage the database of website, I install phpMyAdmin in a sub-folder with the same username and password used in website. </p>
<p>When I login to phpMyAdmin, I don't see my database. phpMyAdmin is showi... | [
{
"answer_id": 22074,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>I believe you would have to setup the config file</p>\n\n<p><a href=\"http://wiki.phpmyadmin.net/pma/Config\" rel... | 2011/11/15 | [
"https://webmasters.stackexchange.com/questions/22073",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13275/"
] | My website is hosted in shared hosting service and is working fine with updated news stored in MySQL database. To manage the database of website, I install phpMyAdmin in a sub-folder with the same username and password used in website.
When I login to phpMyAdmin, I don't see my database. phpMyAdmin is showing "No dat... | The problem is that db user does not have "SHOW DATABASES" privilege. That's why no database is showing in phpMyAdmin.
I have to query "USE mydatabase" in SQL tab first. After that, I can see and manage my database. |
22,094 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/30150/which-ecommerce-script-should-i-use">Which Ecommerce Script Should I Use?</a> </p>
</blockquote>
<p>I am going to build a new shopping cart project for my client and I have a little confusion a... | [
{
"answer_id": 22093,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<p>First you can get your database(s) on external servers by modifying the <code>database.yml</code> configuration.</... | 2011/11/16 | [
"https://webmasters.stackexchange.com/questions/22094",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/11415/"
] | >
> **Possible Duplicate:**
>
> [Which Ecommerce Script Should I Use?](https://webmasters.stackexchange.com/questions/30150/which-ecommerce-script-should-i-use)
>
>
>
I am going to build a new shopping cart project for my client and I have a little confusion about shopping cart framework in php. I have read ab... | First you can get your database(s) on external servers by modifying the `database.yml` configuration.
Then you could develop several application, each one dedicated to a task (for instance handling medias), deploy each application on a different server and use them through web service or redirection.
[Here's a link a... |