Replacement for DirectoryIndexRedirect for older versions of Apache

`DirectoryIndexRedirect` is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different `DirectoryIndex` directive sets for a lot of directories and would like a generic rule I can apply on the root directory. That way I would not have to maintain separate redirect rules for each directory.


URL rewriting removing question mark and replace it with slash

How can I rewrite my URL from `edit.php?id=2` to `edit/id/2`?


.htaccess two different rules but only one per time

I'm rather new to the whole .htaccess thing and I'm using the following right now to use 'pretty url's':               <IfModule mod_rewrite.c>         RewriteEngine On         RewriteCond %{REQUEST_FILENAME} !-d         RewriteCond %{REQUEST_FILENAME} !-f         RewriteRule ^(.*)$ index.php?path=$1 [NS,L]     </IfModule>      Now i found my website a bit slow and decided to start gzipping my CSS files thru a php script I found somewhere on the web (the website). For this to work I need to rewrite the url to open the correct php file. That would look something like this:               RewriteRule ^(.*).css$ /csszip.php?file=$1.css [L]      But I only want the first to happen when the second doesn't and vice versa. In other words i'd like something like this:               <IfModule mod_rewrite.c>         RewriteEngine On         if request doesn't contain .css do             RewriteCond %{REQUEST_FILENAME} !-d             RewriteCond %{REQUEST_FILENAME} !-f             RewriteRule ^(.*)$ index.php?path=$1 [NS,L]         else do             RewriteRule ^(.*).css$ /csszip.php?file=$1.css [L]     </IfModule>      Can anyone help me with the proper code or a place where i can find a way to use some kind of conditional statement in htaccess files?


301 redirect bulk aspx URLs on IIS

We recently relaunched an old ASPX site as a new Drupal site on the same domain. No 301 redirect was implemented. I have outputted a list of 1000 URLs that need to be 301 redirected. Most of the URLs are the results of search queries that were committed on the website. I.E.:               http://www.mysite.com/electronics/CommunityDetails.aspx?FirstLetter=%&ID=444      We are running a Drupal site on IIS using a PHP plugin. Is there a way I can wild card a redirect of all ASPX pages? I know I can do it with _.htaccess_ but that doesn't apply here. Any suggestions appreciated.


Is there any way out so that a video available online cannot be downloaded?

Is there any way out so that a video available online cannot be downloaded ? I have checked almost every way out and found that everything can be spoofed. So does anyone knows anything else that cannot be spoofed ?


Is it normal for a registrar to charge for nameserver changes?

My registrar, 34sp.com, wants to charge for changing nameservers for a domain. The domain is a .cc domain. If this matters. Is this normal? I've never heard of this before. Almost $30 US for a nameserver change?! Surely this is just a text file?


Explain DNS/Content/Registration with services such as Blogger and Go Daddy

I have this kind of settings for Google Sites and Blogger in Godaddy, below. I cannot get URL Framing (not URL masking) working with them. I am unsure what the problem, cannot understand what services such as Blogger and Godaddy really do. **Wrong A-records in Go Daddy!**               ; A Records     @   3600    IN  A   216.239.32.21     art 3600    IN  A   64.202.189.170     abc 3600    IN  A   64.202.189.170     @   3600    IN  A   216.239.34.21     @   3600    IN  A   216.239.36.21     @   3600    IN  A   216.239.38.21     lol 3600    IN  A   64.202.189.170          ; CNAME Records     www 3600    IN  CNAME   ghs.google.com     mobilemail  3600    IN  CNAME   mobilemail-v01.prod.mesa1.secureserver.net     pda 3600    IN  CNAME   mobilemail-v01.prod.mesa1.secureserver.net     email   3600    IN  CNAME   email.secureserver.net     imap    3600    IN  CNAME   imap.secureserver.net     mail    3600    IN  CNAME   pop.secureserver.net     pop 3600    IN  CNAME   pop.secureserver.net     smtp    3600    IN  CNAME   smtp.secureserver.net     ftp 3600    IN  CNAME   @     webmail 3600    IN  CNAME   webmail.secureserver.net     e   3600    IN  CNAME   email.secureserver.net        1. Please, explain the "Custom Domain" and how can I hide my blogger url?   2. ok I am still unsure what the "custom domain" in blogger really mean, does it mean that the content hosting is moved to some other site?    3. Or does it mean that it just hides the blogspot url with other url?    4. Or is it this so-called "301" thing or "URL redirection" or something else? **Related questions**   1. Control Content Hosting, DNS Hosting and Registration with command line?


Name attribute is obsolete, what is the correct behavior when dealing with anchors?

Putting some code through the html5 validator, I get this: > Warning: The name attribute on the a element is obsolete. Consider putting > an id attribute on the nearest container instead. I find that unclear. Is the "nearest container" for an anchor link the a itself, so that the correct code would be `<a id='blah'>` instead of `<a name='blah'>`? Or are empty placeholder `<a>` tags as a whole deprecated, and anchors can simply point to any element with an id instead?


Should my Title tag be the same as my H1 tag?

I have read that I should make the contents of my `<title>` and `<h1>` tags the same. Is that the case or is does Google look at the content of those 2 tags separately?


How to move domain from 1&1 to fasthosts with minimum downtime

How can we move our domain name from 1&1's control over to our new host with as little affect (if any) on downtime for our domain name. We've tried moving name servers before and our site went dark despite us defining all the old records on to the new name server host, now this time we're going to move the entire domain to another company but we've been bit so many times by this that I'm trying to find out what the process should be, and whether it can be done in a way to prevent down time


Removing .html and index.html from URL

I'm having some problems trying to   1. Remove the .html extension from URLs   2. Removing 'index.html' from an URL 1) To remove the extension I have tried using this in my htaccess file.               RewriteEngine on     RewriteCond %{REQUEST_FILENAME} !-d     RewriteCond %{REQUEST_FILENAME}\.html -f     RewriteRule ^(.*)$ $1.html      However when I click links in my HTML such as `<a href="abcde.html"></a>` it doesn't remove the .html from the URL and I am left with `www.website.com/abcde.html` 2) I tried using this to remove the index.html               RewriteCond %{THE_REQUEST} \/index\.(php|html)\ HTTP [NC]     RewriteRule (.*)index\.(php|html)$ /$1 [R=301,L]      But when I load an index.html file on my server, my URL looks something like this               www.website.com/folder//      I am left with an extra `/` at the end. Can anyone help me out?


Is there any website/service that notifies you when a site has changed?

Is there any website that offers a service that notifies you by email when a given site changes? I want to track changes on the site http://www.thief4.com. I'm not sure if this is the right place to ask though.


Use a CDN to handle UGC uploads

I was on the phone with a sales guy from Akamai and he mentioned that they offer a service that can handle user generated content uploads (videos in our case) to their edge network. Unfortunately, he passed me onto a partner company that is clueless and I can't seem to find any more information about it. Can someone point me to a CDN that offers such a product?


Why did my new markup cause the site to disappear from Google?

Unfortunately this post isn't about something as concrete as a bug, but it's been driving me nuts. I recently updated my blog's theme and software (I basically rewrote it) from http://old.korokithakis.net/ to http://www.korokithakis.net/. Yesterday, I noticed all my pages dropping from Google's search results. My Python tutorial used to be 3rd for "learn python" and now it's 30th, if it even appears on the list. I've allowed robots, all the header tags are in place, titles are the same as they used to be and the URLs that changed have permanent redirects to the new ones (the tutorial URLs haven't changed). Still, all my pages dropped from the results. What can be having such a huge impact on the rankings? Thanks.


Movable Type on GoDaddy

I have deluxe linux shared hosting with godaddy, and it supports perl. but i dont know how to setup and use perl scripts. Also i have no folder named CGI or CGI-BIN or anything like that. As movable type requires me to put my content in the CGI folder, i cant. creating it also doesn't work. So can you guide me on how to install movable type on godaddy. Also i dont want to spend money and install it from the godaddy hosting connection. And please remember as i'm on a shared hosting, i might not be able to edit my apache server configuration file. Thanks.


Adding a second domain to a website

I want to direct an easy to remember domain url to my website that has nothing to do with the brand or the original domain. What is the proper way to add a second domain to a website without opening up the chance for being penalized by search engines? I don't want the second domain to show up in SERPs.


How to detect if a placement would be empty (Doubleclick for Publishers)?

I want to use DFP for my ads. To display an ad I am calling `GA_googleFillSlot()`. My understanding of this is, that this function injects the ad code at the position where the JS call is placed. How can I detect if the placement is empty, e.g. no banner code will be injected because there is currently no banner. I need to know because the surrounding html needs to be adapted. Any ideas? **Edit:**   Alternatively, is it possible to alter the injected html elements? DFP injects a div with id="google_ads_div_$PLACEMENT_ID">. Is it possible to add a class attribute?


How does Google's Website Optimizer do all its funky goodness with an unbalanced </noscript> tag?

Last week one of the guy's at our office did a talk on using Google's Website Optimizer for AB multivariate testing. In the talk, he says that when you set it up you just add some special code to the page around the HTML you want to vary [ see #3 under multivariate test here ]               <script>utmx_section("Headline")</script>     Welcome!     </noscript>      What's going on with that unbalanced tag at the end? What magic is Google doing?


Contact YouTube

Is there any direct way do contact a „real” person, an YouTube employer? Someone created an account for the company I work for (previous employer). She entered some password and e-mail. The provided e-mail was valid, but since last login (more than two years), we changed our domain, and this e-mail is probably not valid anymore (and we even don't know it), co we can't use option to reset password. I have used all the options in YouTube help center, and no one worked. Also we _can't_ contact this previous employer to get any data she entered in the registration form. The only data I know is the username. All the movies present the products of our company, there are links to our site in movie descriptions, so there should be no problem to prove that the account is ours. This is an urgent case, becouse the movies contain outdated information.


how do I get my friend to see my domain?

How do I allow my friend to see a web site via an unregistered domain name and not via a direct IP address. I'm using Xampp 1.8.1 and have my ports forwarded.


What is user agent Issbot

I am seeing a lot of traffic to my website from user agent Issbot. This certainly looks like a bot, but is not listed in the www.user-agents.org listing, and I have not been able to find anything useful on Google. Does anyone know what or who this is?


I have a website which uses page refresh when the browser is resized below a certain point am I violating AdSense TOS?

Will google AdSense punish me for refreshing the page if the user resizes the browser below a certain point?


Here we go again - quest for web hosted forum via javascript

**disclaimer** If this is the wrong location for this question, then please advise me accordingly. **backgound** I've been using Disqus and intense debate as a 'comments' service for a variety of my sites to great effect and love the fact that i get alot of the facebook/twitter integration 'for free', as well as the SEO benefits. **request** To this end, does anyone out there know of similar services that can be used to pull entire forums/threaded discussions into the app in a similar fashion (i.e. via ajax webservices). google has been at a loss to turn anything up on this front and i'm therefore wondeing if it's unlikely that such a 'service' exists. **respect** hope this stikes a chord out there... btw - altho using this in asp.net mvc, I'm aware that this technology could be used on any platform capable of consuming javascript via ajax, thus the wide spread of 'tags'.


Why does bingbot access my sites the most even if I set crawl rate to the minmum?

Recently my sites got overloaded and it turned out bingbot was the culprit. I set the crawl rate for the minimum for my sites in bing webmaster tools, but regardless bingbot has the most access (about 30000 requests a day) among all the crawlers. Google has less requests a day. Do you also experience heavy traffic from bingbot? Why doesn't it behave when I set crawling rate to a minimum?


Redisigning an old site, structure change etc

I have an old site built in 2006, it has around 200 pages and 500 pictures. Every single page is of course indexed as well as images. It is very well ranked for targeted keywords and I receive good amount of SEO traffic (I guess that's due the various campaigns, branding, ppc, etc..) **Problem:** Site has outdated design, pages and images have not so proper names, there are no heading and alt tags, it was built in tables, inline CSS etc.. **Goal:** Complete redisign site, use divs, change file names, add proper meta data, alt tags etc.. **Question:** How this can affect current SEO positions? I will redirect (301) every single page to the new one, build site map, but what to do with images? Do I need to redirect them also? Any other suggestion?


Choosing good keywords with respect to match type "Phrase" only

How to choose good keywords or phrases with respective to competition, monthly global searches and monthly local searches? I am using google keyword tool. I am concentrating on Match type : "Phrase". Is this good enough? Match Type : "Phrase"   Competition less is at 3%   Monthly Global search is 1600   Monthly local search is 110


wrestling with some rewrites for Apache

I have upgraded my gallery2 to gallery3, and notice that some links no longer resolve correctly. Since the proper way is to redirect these with a 301, that is the way I'm going. The following series need redirecting: folders:   old: photo.meulie.net/v/various/Gry/   new: http://photo.meulie.net/various/Gry/ pages:   old: photo.meulie.net/v/Jacob/02112008310.jpg.html   new: http://photo.meulie.net/Jacob/02112008310 (both are of course just examples. there are 100's of folders & files to redirect...) I think there were/are also direct links to images, but those I'm not bothering with for now. Who can help me out? :-) Regards, Evert NB. these are the existing rewrite rules: `Options +FollowSymLinks   RewriteEngine On   RewriteBase /   RewriteCond %{REQUEST_FILENAME} !-f   RewriteCond %{REQUEST_FILENAME} !-d   RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]   RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]   RewriteRule ^index.php/(.*) $1 [QSA,R,L]   ` Where should I insert your lines? Greetings, Evert


Install Moodle to subdomain with Softaculous via cPanel

I installed Moodle to a directory with Softaculous. Since it doesn't allow installing to a subdomain, after installing it I created a subdomain and pointed the destination (of the subdomain) to the previously created Moodle directory. Now when I go to the `subdomain.example.com` it says > Incorrect access detected, this server may be accessed only through > "`http://example.com/moodle`" address, sorry. Please notify server > administrator. I must be doing something wrong, when installing it was very similar to these instructions. Any suggestions would be much appreciated.


I need good CRM written in php

I need open source, mature, good, flexible, extensible php CRM with liberal free license that allowing for redistribution. I heard that SugarCRM is good one, but its not free, and right now their page is not working.


where should I use new → I see everywhere?

I currently use ![enter image description here](http://i.stack.imgur.com/GWAKR.png) to refer to an external link on my personal website. However recently I have started noticing extended use of → for links. Is this a replacement for ![enter image description here](http://i.stack.imgur.com/GWAKR.png) ? or is it used to convey some other meaning?


Alternative to mediacore in PHP?

What's a good (also free) alternative to mediacore (http://getmediacore.com/) but done in PHP. I mean with the same good look&feel, support and community support.


Is it legal for U.S. based websites to serve online gambling ads?

I have a site that hits the sweet spot for that demographic but my user base is 90% in the U.S.


Getting a lot of postmaster undeliverable notices for non-existent users

I've had my domain (straightpathsql.com) for a few years now. I host my e-mail with Google Accounts for business and have for awhile. ALl of the sudden in the past week I am starting to get a lot of postmaster delivery fail notices from various domains, most of them involving bogus e-mail addresses at my domain (hank787989714@straightpathsql.com, for example)... My assumption here is that someone is trying to relay on some other host (not my hosts which are secure through google apps for business, I presume) and there isn't much I can do to stop it. But I just want to make sure there isn't something else I need to be looking at here.. An example delivery fail notice is below.. I know nothing of those addresses below and they look like garbage... (Quick edit: the reason I get these messages is I set myself up as a catch all, so it doesn't matter what e-mail you send a note to at my domain, I'll get it if the account isn't setup... All of the failure messages are sent to bogus addresses on my domain)               The following message to <omiivi2922@4speed.co.jp> was undeliverable.     The reason for the problem:     5.1.0 - Unknown address error 553-'sorry, this recipient is in my badrecipientto list (#5.7.1)'          Final-Recipient: rfc822;omiivi2922@4speed.co.jp     Action: failed     Status: 5.0.0 (permanent failure)     Remote-MTA: dns; [118.82.83.11]     Diagnostic-Code: smtp; 5.1.0 - Unknown address error 553-'sorry, this recipient is in my badrecipientto list (#5.7.1)' (delivery attempts: 0)               ---------- Forwarded message ----------     From: Howard Blankenship <SolomonF5E948@straightpathsql.com>     To: omiivi2922 <omiivi2922@4speed.co.jp>     Cc:      Date:      Subject: Hi omiivi2922      Full Header:               Delivered-To: solomonf5e948@straightpathsql.com     Received: by 10.204.120.16 with SMTP id b16csp19402bkr;             Thu, 28 Jun 2012 09:05:27 -0700 (PDT)     Received: by 10.68.190.102 with SMTP id gp6mr9307880pbc.5.1340899526973;             Thu, 28 Jun 2012 09:05:26 -0700 (PDT)     Return-Path: <>     Received: from irmx01.secure.ne.jp (irmx01.secure.ne.jp. [122.200.253.201])             by mx.google.com with ESMTP id vo8si2410809pbc.133.2012.06.28.09.05.26;             Thu, 28 Jun 2012 09:05:26 -0700 (PDT)     Received-SPF: pass (google.com: best guess record for domain of irmx01.secure.ne.jp designates 122.200.253.201 as permitted sender) client-ip=122.200.253.201;     Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of irmx01.secure.ne.jp designates 122.200.253.201 as permitted sender) smtp.mail=     Message-Id: <afddd6$1uo8qbc@irmx01.secure.ne.jp>     Received: from localhost by irmx01.secure.ne.jp;       29 Jun 2012 01:05:25 +0900     Date: 29 Jun 2012 01:05:25 +0900     To: SolomonF5E948@straightpathsql.com     From: "Mail Delivery System" <MAILER-DAEMON@irmx01.secure.ne.jp>     Subject: Delivery Status Notification (Failure)     MIME-Version: 1.0     Content-Type: multipart/report; report-type=delivery-status; boundary="1zX6bY.4muf/vHVS.1LvkrJ.2ohy5+/"          --1zX6bY.4muf/vHVS.1LvkrJ.2ohy5+/     content-type: text/plain;         charset="utf-8"     Content-Transfer-Encoding: quoted-printable          The following message to <omiivi2922@4speed.co.jp> was undeliverable.     The reason for the problem:     5.1.0 - Unknown address error 553-'sorry, this recipient is in my badrecipi=     entto list (#5.7.1)'          --1zX6bY.4muf/vHVS.1LvkrJ.2ohy5+/     content-type: message/delivery-status          Reporting-MTA: dns; irmx01.secure.ne.jp          Final-Recipient: rfc822;omiivi2922@4speed.co.jp     Action: failed     Status: 5.0.0 (permanent failure)     Remote-MTA: dns; [118.82.83.11]     Diagnostic-Code: smtp; 5.1.0 - Unknown address error 553-'sorry, this recipient is in my badrecipientto list (#5.7.1)' (delivery attempts: 0)          --1zX6bY.4muf/vHVS.1LvkrJ.2ohy5+/     content-type: message/rfc822          X-SBRS: -4.0     X-IronPort-Anti-Spam-Filtered: true     X-IronPort-Anti-Spam-Result: ArX2ALV/7E8CWcTHPGdsb2JhbACGH4Z3qC8EgT8BAQEBNzQdGwOCB34NAhhVGogipWeTSYEgik4LhGiWFIEThGY     X-Spam-Status: Yes     Received: from unknown (HELO dsldevice.lan) ([2.89.196.199])       by irmx01.secure.ne.jp with ESMTP; 29 Jun 2012 01:05:24 +0900     Message-Id: <20120628190518.2A7C7A6962F6869E0B42@WEC-PC>     From: Howard Blankenship <SolomonF5E948@straightpathsql.com>     To: omiivi2922 <omiivi2922@4speed.co.jp>     Reply-To: Maria Luna <Guadalupe5BF0695@quechisme.com>     Subject: Hi omiivi2922     Mime-Version: 1.0     Content-Type: text/plain; charset=utf-8     Content-Transfer-Encoding: 7bit          --1zX6bY.4muf/vHVS.1LvkrJ.2ohy5+/--


I changed my URL structure. How do I tell Google to not show my older links?

My old URL structure was http://japanaddicts.org/mind-blowing-japanese-songs/ But almost three days back, I picked the other style that's more descriptive: http://japanaddicts.org/creativity/mind-blowing-japanese-songs/ Now I have category slugs in my post URLs. When I searched for Some Mind Blowing Japanese Songs, the third result was my website's, but with the old URL. How do I somehow tell Google to refresh the listings of my website's posts? My website is only 24 days old, so I think it has to be pretty easy to refresh it completely? I have XML sitemaps enabled. Please note that I am not willing to do redirects. That'll be another problem, let's keep this problem specific. (As a further request, I would like you to open the former link and tell me whether it shows a 404 error or not, as in my case, it doesn't open anything but a blank page.)


Google and Landing Pages

Some time ago (about 12 months) I created a number of targeted pages for our main product site. Out main product can be called several different things and clearly it's not possible to optimize our home page for all of them so we created new pages called 'secondary-term-1.htm' and 'secondary-term-2.htm'. These contained unique content and at the time I linked to them our site map and our blog. And that was it. A year later these pages are now ranking quite well and I want to expand on this concept and create new landing pages for other terms. I believe these landing pages are useful to people searching using different terms and relating this back to our product. I also think they are useful in explaining how our product is useful to different market segments. What is the current thinking with respect to Google as far as these landing pages go? Are we likely to be penalized in some way? This site is our main money maker and I am ultra cautious with what we can and cannot do on it.


How many 301 redirects will the google bot handle?

If your page does five 301 redirects to get to the final page I'm guessing that google bot will follow it all the way there. However, there must be a limit at which point google bot says "hey, that's enough, I'm not going any further." What is that limit?


Simple Frameset Website vs Complex AJAX Website?

I should preface this with the statement that I **_do_** understand that HTML Framesets are on their way out, and that they have all sorts of SEO/accessibility concerns. That being said, I've been considering building a web-based API app, and I really like the format of the Java and AS3 APIs. They both use framesets in what I consider to be a reasonable manner, and are the most readable API's that I know of. The AS3 CS4 API no longer uses frames, but is verrrryyyyyy slooowwwwww. My other consideration was to make an AJAX-driven (jQuery) site so that I don't have to reload the entire API class/package list on each page load. It would likely reduce the data-transfer to be less than the frameset version. I feel that the frameset format will simplify many of the features that the AJAX version would have to re-create (resizable regions, targeted links, etc). Also, the frameset version wouldn't require javascript. Am I being foolish to think that this could be a _useful_ application of framesets?


AutoMatically Creating New Sites When New Users Sign Up

I would like to know how hosted eCommerce sites like www.shopify.com, www.3dCart.com etc.. automatically creates new sites when new users sign up. What kind of tools do they use to create those sites into the users profile. I have tried googling but couldn't find an answer. Does any of you guys have any knowledge or experience that you can share with me? Or do you know a tutorial that you can point me to? I hope my question is clear. Thanks for your help.


Why is my favicon broken in Firefox?

My new favicon works in Safari and Chrome, but it's weirdly split in Firefox on Mac or Windows: ![Broken favicon](http://i.stack.imgur.com/i7Ccn.png) However, if you navigate to the favicon itself it appears fine: ![Working favicon in same browser](http://i.stack.imgur.com/CI9E3.png) You can see how it looks in your browser here: http://coastsider.com I created the file as a png and later a jpg in Acorn. I converted it to .ico using Graphicconverter. I've also tried converting the png to an ico in other programs. Has anyone seen this problem before?


Incoming Cname does not show the subdomain

I have a subdomain: sub.domain-one.com which has a CNAME which points to sub.domain-two.com. All good. But when I enter sub.domain-one.com I don't see the sub.domain-two.com, but the basic page of the server. What am I doing wrong?


How to allow customer to "View Cart" / "Checkout" in PayPal?

We're setting up a simple website with PayPal. We've implemented a bunch of **Add to Cart** buttons and they're working well. But we assumed we would also add a **View Cart / Checkout** button at the top, so that the customer can stop shopping and complete his purchases. I know the customer can - in PayPal - finalise/checkout any time he clicks on an **Add to Cart** (so he should do it on his _final_ add) but he may not have known at that stage that it _was_ his final purchase. Surely there's some PayPal code we can drop onto our **View Cart / Checkout** button which will take the customer direct to his PayPal checkout? But the PayPal page listing button types doesn't have a checkout button: ![enter image description here](http://i.stack.imgur.com/Q1wS0.jpg) Note: this question isn't about the button image (we're doing that ourselves), it's about what plumbing to put in behind the scenes.


Only First Link Counts

If anyone hasn't seen yet the following blog: http://www.seomoz.org/ugc/3-ways-to-avoid-the-first-link-counts-rule It is describing that from at least two links (so two or more) that are located on the same page and both (or all if more than two) pointing to the same other page, only the first one will have some seo benefit (link juice). The rest won't count in seo benefit. Here doesn't count the links in images. I think most of us knew that already BUT:   1. As ''first link'' is probably meant the first one in the HTML code of particular page but what when we are in the process of designing the page? In this case the code is changing on the fly (xsitepro - ''what you see is what you get'' simplified tool for website design). First link in the code can be replaced with new first one at any time. Is there any fast way to see which one is really the first one in the html code of the page?   2. Sure the fact that first links only counts for seo benefit isn't relevant for images. But what about other links such as the ones in footer, buttons, potential testimonials, links in navigation menu and so on? Does absolutelly everything (except images) what is dofollow counts?   3. Is that fact relevant along internal links, also for outbound and inbound ones? Probably yes.


Dynamically load CSS

I'm using LESS for creating CSS and I'm considering using something like `grunt-render` on the server side in order to only load the CSS / JS that is needed for that page. My goal is to reduce overhead for page load. My CSS is fairly big, but I wonder; Will it matter if my CSS is minimized anyway? Will a few bytes less make any difference?


How to make CloudFlare cache everything?

I want CloudFlare to cache everything, PHP files too, every request from the domain, I want it to cache it. Is this possible? (There are PHP scripts on the domain that print out images, JS and CSS, they return the appropriate mime type, but I read that CloudFlare caches according to file extenstion, if printing out the mime type helps, it's good too.)


Facebook and Crawl-delay in robots.txt?

Do Facebook's webcrawling bots (for example facebookexternalhit/*) respect the `Crawl-delay:` directive in _robots.txt_ files?


Alot of Pirated Material on Someone's Website - What Can Be Done?

We've developed our website for over 10 years. Recently a website in China has begun to pirate our images and product descriptions (they are showing "new" March offerings). Nearly all of the items they "offer" are ours. Their whois leads to an outfit in France which by chance also hosts a website for Steroids, and both the Steroid and the pirate site share an 800 phone number (coincidence??). The pirate site lists "their" products as being available in mass quantities, though very often the actual product is one-of-a-kind. The images they've stolen appear in google searches alongside our own!! Clicking on any product at the pirate site leads to nowhere. Calls to the 800 number lead to a recorded answer. No reply to our emails (funny if they would have!) Any suggestions on what to do? Much obliged for any help. https://www.collectiblereview.com (the pirates) http://www.anabolic-store.com (steroids)


dns routing MX record

I want to move an old website from a client's office server to a new hosting account but I need to leave the email accounts on my client's office server. I have done this once or twice before and what I did was to change the domains nameservers to point to the new hosting account and then in the clients new hosting account I setup a new MX record to point back to their office hosting. The problem is that this there is a lot more emphasis on email and also I may have to do the transfer midweek and possibly in the middle of the day so they don't want any real email downtime. I have 3 questions   1. If something went wrong and I needed to switch back might it take a long time for the nameserver to propagate back. I guess the answer here is yes so if that was the case then would it be that the emails sent to the domain during that time would be lost.   2. Could I test that the new MX record on the new hosting was working properly before I switched the nameserver over.   3. If everything was setup completely right might I still end up with downtime.   4. If I did an MX lookup now would the IP that I find be the one I would use for the new MX record on the new hosting.


Does transfering an existing website similar to this to a Pligg Template hurt SEO results?

I have a website very similar to this that I made from scratch. It's called www.Citybeams.com. I already have decent Google search engine results for a good amount of keywords and question titles. "City Questions" and "City Answers" page one Google for example. I was thinking of moving the whole site to a Pligg.com template still under the same domain am I'm wondering if that could hurt my search engine results?


PageSpeed - Minimize DNS lookups: why not use IP address for resources

One of the recommendations from web performance optimization services is to minimize DNS look ups. I fully understand why they recommend this but why not just point references to external files to the IP address? For example:               <script src="//555.555.55.55/cdn/jquery.min.js"></script>      I have never seen this done, and my searches here came up empty, why not?


Changing displayed price based on visitor location?

I run an online web app which at the moment I charge for in GBP. I'm expanding to the US and Europe and am looking for the best way to change the displayed price based on where the visitor is located. Because I use PayPal, ideally it would be great if it took into account the fee PayPal charges for currency conversion, but if not it wouldn't be the end of the world. What would be the best way to do this do you think?


Why do non-working websites look like search indexes?

An example of this could be shown on every .tk domain that doesn't exist,   just write www.givemeacookie.tk or something, you get into a fake search engine/index   Now these things are all over, I use to always ignore it because it was obvious just a fake template, but it's everywhere. I was wondering, where is it originated (here it's searchmagnified, but in their website it's also something generic) ? Is there a proper name for these type of websites?


Multiple sites redirected to one main site

I have a client who insists of having multiple website domains all being redirected to one main website domain. It is getting out of hand and his server has become conveluted and riddled with garbage because of it, not to mention confusing at times. Each of these domains that he is setting up has no content, they simply redirect the user to the main website domain. Is this practice of having multiple domains pointing to one main website common? And does anyone know where I can get information to give to this client to let him know this is a bad practice if it is a bad practice?


Google Analytics still reports "Tracking not installed" even though the code is on the web page

I added the code listed on the Tracking Info tab on the GA page.               <script>         (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');              ga('create', 'UA-26738353-3', 'smokingfishgames.com');         ga('send', 'pageview');     </script>      Unfortunately, for several hours now the GA tracking info shows an error message of `Status: Tracking Not Installed`. I'm unsure why, considering that every few minutes when I refresh the page it says `Last checked:` with a very recent time. I added the code to http://smokingfishgames.com, where it should be visible in the source exactly as shown above. What am I doing wrong? Did I just not wait long enough? I've tried a bunch of solutions that were posted by other people, but many of them were extremely dated. Very frustrating--I'm having the same issue with another web page. Reports aren't being generated, either, so it's not a false alarm with the installation detection. ![GA Screenshot](http://i.imgur.com/baed5yE.png)


Can internal linking create excessive web server load?

SE sites allow tags chaining like this:               /questions/tagged/seo+google+search-engines+research+keywords      This site has more than 700 tags. If up to 5 tags can be chained, there are               700*700*700*700*700 = 168070000000000      links that google can crawl. Can it be harmful?


SEO : urls : best place for the id

I would like to know what's the best location for an id in a SEO optimized URL:               http://www.site.com/id/slug-title          http://www.site.com/slug-title-id      What do you think ?


Estimate of Hits / Visits / Uniques in order to fall within a given Alexa Tier?

I was wondering if anyone could offer up rough estimates that could tell me how many hits a day move you into a given Alexa rank ?   * Top 5,000   * Top 10,000   * Top 50,000   * Top 100,000   * Top 500,000   * Top 1,000,000 I know this is incredibly subjective and thus the broad brush strokes with the number ranges... _BUT_ I've got a site currently ranked just over 1.2M worldwide and over 500k in the USA (http://www.alexa.com/siteinfo/fstr.net) Pretty cool for something hand-built on weekends (pat self on back) I was applying to an ad-platform and was told that their program doesn't accept webmasters who have an Alexa rank of greater than 100,000. (Time to take back that pat on the back I guess). I know that my hits in the last 30 days are somewhere on the order of 15,000 uniques and 20,000 pageviews. So I'm wondering how much harder do I have to work to achieve my next "goals"? I'd like to break into the top million, then re-evaluate from there. It'd be nice to know what those targets translate into (very roughly of course). I imagine that alexa ranks and tiers become very much exponential as you move up the ranks, but even hearing annecdotal evidence from other webmasters would be really useful to me. (ie: I have a site that is ranked X and it got Y hits in the last 30 days)


I am setting up PHP for the first time and I am getting this error from the Apache server: Set the "servername" directive globally to suppress this message. This is the content of my `httpd.conf` file:               # This is the main Apache HTTP server configuration file.  It contains the     # configuration directives that give the server its instructions.     # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.     # In particular, see      # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>     # for a discussion of each configuration directive.     #     # Do NOT simply read the instructions in here without understanding     # what they do.  They're here only as hints or reminders.  If you are unsure     # consult the online docs. You have been warned.       #     # Configuration and logfile names: If the filenames you specify for many     # of the server's control files begin with "/" (or "drive:/" for Win32), the     # server will use that explicit path.  If the filenames do *not* begin     # with "/", the value of ServerRoot is prepended -- so "logs/access_log"     # with ServerRoot set to "/usr/local/apache2" will be interpreted by the     # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"      # will be interpreted as '/logs/access_log'.     #     # NOTE: Where filenames are specified, you must use forward slashes     # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").     # If a drive letter is omitted, the drive on which httpd.exe is located     # will be used by default.  It is recommended that you always supply     # an explicit drive letter in absolute paths to avoid confusion.          #     # ServerRoot: The top of the directory tree under which the server's     # configuration, error, and log files are kept.     #     # Do not add a slash at the end of the directory path.  If you point     # ServerRoot at a non-local disk, be sure to specify a local disk on the     # Mutex directive, if file-based mutexes are used.  If you wish to share the     # same ServerRoot for multiple httpd daemons, you will need to change at     # least PidFile.     #     ServerRoot "c:/Users/lotusms/Desktop/Apache/Apache24"          #     # Mutex: Allows you to set the mutex mechanism and mutex file directory     # for individual mutexes, or change the global defaults     #     # Uncomment and change the directory if mutexes are file-based and the default     # mutex file directory is not on a local disk or is not appropriate for some     # other reason.     #     # Mutex default:logs          #     # Listen: Allows you to bind Apache to specific IP addresses and/or     # ports, instead of the default. See also the <VirtualHost>     # directive.     #     # Change this to Listen on specific IP addresses as shown below to      # prevent Apache from glomming onto all bound IP addresses.     #     #Listen 12.34.56.78:80     Listen 8080          #     # Dynamic Shared Object (DSO) Support     #     # To be able to use the functionality of a module which was built as a DSO you     # have to place corresponding `LoadModule' lines at this location so the     # directives contained in it are actually available _before_ they are used.     # Statically compiled modules (those listed by `httpd -l') do not need     # to be loaded here.     #     # Example:     # LoadModule foo_module modules/mod_foo.so     #     LoadModule access_compat_module modules/mod_access_compat.so     LoadModule actions_module modules/mod_actions.so     LoadModule alias_module modules/mod_alias.so     LoadModule allowmethods_module modules/mod_allowmethods.so     LoadModule asis_module modules/mod_asis.so     LoadModule auth_basic_module modules/mod_auth_basic.so     #LoadModule auth_digest_module modules/mod_auth_digest.so     #LoadModule authn_anon_module modules/mod_authn_anon.so     LoadModule authn_core_module modules/mod_authn_core.so     #LoadModule authn_dbd_module modules/mod_authn_dbd.so     #LoadModule authn_dbm_module modules/mod_authn_dbm.so     LoadModule authn_file_module modules/mod_authn_file.so     #LoadModule authn_socache_module modules/mod_authn_socache.so     #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so     LoadModule authz_core_module modules/mod_authz_core.so     #LoadModule authz_dbd_module modules/mod_authz_dbd.so     #LoadModule authz_dbm_module modules/mod_authz_dbm.so     LoadModule authz_groupfile_module modules/mod_authz_groupfile.so     LoadModule authz_host_module modules/mod_authz_host.so     #LoadModule authz_owner_module modules/mod_authz_owner.so     LoadModule authz_user_module modules/mod_authz_user.so     LoadModule autoindex_module modules/mod_autoindex.so     #LoadModule buffer_module modules/mod_buffer.so     #LoadModule cache_module modules/mod_cache.so     #LoadModule cache_disk_module modules/mod_cache_disk.so     #LoadModule cern_meta_module modules/mod_cern_meta.so     LoadModule cgi_module modules/mod_cgi.so     #LoadModule charset_lite_module modules/mod_charset_lite.so     #LoadModule data_module modules/mod_data.so     #LoadModule dav_module modules/mod_dav.so     #LoadModule dav_fs_module modules/mod_dav_fs.so     #LoadModule dav_lock_module modules/mod_dav_lock.so     #LoadModule dbd_module modules/mod_dbd.so     #LoadModule deflate_module modules/mod_deflate.so     LoadModule dir_module modules/mod_dir.so     #LoadModule dumpio_module modules/mod_dumpio.so     LoadModule env_module modules/mod_env.so     #LoadModule expires_module modules/mod_expires.so     #LoadModule ext_filter_module modules/mod_ext_filter.so     #LoadModule file_cache_module modules/mod_file_cache.so     #LoadModule filter_module modules/mod_filter.so     #LoadModule headers_module modules/mod_headers.so     #LoadModule heartbeat_module modules/mod_heartbeat.so     #LoadModule heartmonitor_module modules/mod_heartmonitor.so     #LoadModule ident_module modules/mod_ident.so     #LoadModule imagemap_module modules/mod_imagemap.so     LoadModule include_module modules/mod_include.so     #LoadModule info_module modules/mod_info.so     LoadModule isapi_module modules/mod_isapi.so     #LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so     #LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so     #LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so     #LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so     #LoadModule ldap_module modules/mod_ldap.so     #LoadModule logio_module modules/mod_logio.so     LoadModule log_config_module modules/mod_log_config.so     #LoadModule log_debug_module modules/mod_log_debug.so     #LoadModule log_forensic_module modules/mod_log_forensic.so     #LoadModule lua_module modules/mod_lua.so     LoadModule mime_module modules/mod_mime.so     #LoadModule mime_magic_module modules/mod_mime_magic.so     LoadModule negotiation_module modules/mod_negotiation.so     #LoadModule proxy_module modules/mod_proxy.so     #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so     #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so     #LoadModule proxy_connect_module modules/mod_proxy_connect.so     #LoadModule proxy_express_module modules/mod_proxy_express.so     #LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so     #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so     #LoadModule proxy_html_module modules/mod_proxy_html.so     #LoadModule proxy_http_module modules/mod_proxy_http.so     #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so     #LoadModule ratelimit_module modules/mod_ratelimit.so     #LoadModule reflector_module modules/mod_reflector.so     #LoadModule remoteip_module modules/mod_remoteip.so     #LoadModule request_module modules/mod_request.so     #LoadModule reqtimeout_module modules/mod_reqtimeout.so     #LoadModule rewrite_module modules/mod_rewrite.so     #LoadModule sed_module modules/mod_sed.so     #LoadModule session_module modules/mod_session.so     #LoadModule session_cookie_module modules/mod_session_cookie.so     #LoadModule session_crypto_module modules/mod_session_crypto.so     #LoadModule session_dbd_module modules/mod_session_dbd.so     LoadModule setenvif_module modules/mod_setenvif.so     #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so     #LoadModule slotmem_shm_module modules/mod_slotmem_shm.so     #LoadModule socache_dbm_module modules/mod_socache_dbm.so     #LoadModule socache_memcache_module modules/mod_socache_memcache.so     #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so     #LoadModule speling_module modules/mod_speling.so     #LoadModule ssl_module modules/mod_ssl.so     #LoadModule status_module modules/mod_status.so     #LoadModule substitute_module modules/mod_substitute.so     #LoadModule unique_id_module modules/mod_unique_id.so     #LoadModule userdir_module modules/mod_userdir.so     #LoadModule usertrack_module modules/mod_usertrack.so     #LoadModule version_module modules/mod_version.so     #LoadModule vhost_alias_module modules/mod_vhost_alias.so     #LoadModule watchdog_module modules/mod_watchdog.so     #LoadModule xml2enc_module modules/mod_xml2enc.so          <IfModule unixd_module>     #     # If you wish httpd to run as a different user or group, you must run     # httpd as root initially and it will switch.       #     # User/Group: The name (or #number) of the user/group to run httpd as.     # It is usually good practice to create a dedicated user and group for     # running httpd, as with most system services.     #     User daemon     Group daemon          </IfModule>          # 'Main' server configuration     #     # The directives in this section set up the values used by the 'main'     # server, which responds to any requests that aren't handled by a     # <VirtualHost> definition.  These values also provide defaults for     # any <VirtualHost> containers you may define later in the file.     #     # All of these directives may appear inside <VirtualHost> containers,     # in which case these default settings will be overridden for the     # virtual host being defined.     #          #     # ServerAdmin: Your address, where problems with the server should be     # e-mailed.  This address appears on some server-generated pages, such     # as error documents.  e.g. admin@your-domain.com     #     ServerAdmin admin@example.com          #     # ServerName gives the name and port that the server uses to identify itself.     # This can often be determined automatically, but we recommend you specify     # it explicitly to prevent problems during startup.     #     # If your host doesn't have a registered DNS name, enter its IP address here.     #     #ServerName www.example.com:8080     #     # Deny access to the entirety of your server's filesystem. You must     # explicitly permit access to web content directories in other      # <Directory> blocks below.     #     <Directory />     AllowOverride none     Require all denied     </Directory>          #     # Note that from this point forward you must specifically allow     # particular features to be enabled - so if something's not working as     # you might expect, make sure that you have specifically enabled it     # below.     #          #     # DocumentRoot: The directory out of which you will serve your     # documents. By default, all requests are taken from this directory, but     # symbolic links and aliases may be used to point to other locations.     #     DocumentRoot "c:/Users/lotusms/Desktop/Apache/Apache24/htdocs"     <Directory "c:/Users/lotusms/Desktop/Apache/Apache24/htdocs">     #     # Possible values for the Options directive are "None", "All",     # or any combination of:     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews     #     # Note that "MultiViews" must be named *explicitly* --- "Options All"     # doesn't give it to you.     #     # The Options directive is both complicated and important.  Please see     # http://httpd.apache.org/docs/2.4/mod/core.html#options     # for more information.     #     Options Indexes FollowSymLinks          #     # AllowOverride controls what directives may be placed in .htaccess files.     # It can be "All", "None", or any combination of the keywords:     #   AllowOverride FileInfo AuthConfig Limit     #     AllowOverride None          #     # Controls who can get stuff from this server.     #     Require all granted     </Directory>          #     # DirectoryIndex: sets the file that Apache will serve if a directory     # is requested.     #     <IfModule dir_module>     DirectoryIndex index.html     </IfModule>          #     # The following lines prevent .htaccess and .htpasswd files from being      # viewed by Web clients.      #     <Files ".ht*">     Require all denied     </Files>          #     # ErrorLog: The location of the error log file.     # If you do not specify an ErrorLog directive within a <VirtualHost>     # container, error messages relating to that virtual host will be     # logged here.  If you *do* define an error logfile for a <VirtualHost>     # container, that host's errors will be logged there and not here.     #     ErrorLog "logs/error.log"          #     # LogLevel: Control the number of messages logged to the error_log.     # Possible values include: debug, info, notice, warn, error, crit,     # alert, emerg.     #     LogLevel warn          <IfModule log_config_module>     #     # The following directives define some format nicknames for use with     # a CustomLog directive (see below).     #     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined     LogFormat "%h %l %u %t \"%r\" %>s %b" common          <IfModule logio_module>       # You need to enable mod_logio.c to use %I and %O       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio     </IfModule>          #     # The location and format of the access logfile (Common Logfile Format).     # If you do not define any access logfiles within a <VirtualHost>     # container, they will be logged here.  Contrariwise, if you *do*     # define per-<VirtualHost> access logfiles, transactions will be     # logged therein and *not* in this file.     #     CustomLog "logs/access.log" common          #     # If you prefer a logfile with access, agent, and referer information     # (Combined Logfile Format) you can use the following directive.     #     #CustomLog "logs/access.log" combined     </IfModule>          <IfModule alias_module>     #     # Redirect: Allows you to tell clients about documents that used to      # exist in your server's namespace, but do not anymore. The client      # will make a new request for the document at its new location.     # Example:     # Redirect permanent /foo http://www.example.com/bar          #     # Alias: Maps web paths into filesystem paths and is used to     # access content that does not live under the DocumentRoot.     # Example:     # Alias /webpath /full/filesystem/path     #     # If you include a trailing / on /webpath then the server will     # require it to be present in the URL.  You will also likely     # need to provide a <Directory> section to allow access to     # the filesystem path.          #     # ScriptAlias: This controls which directories contain server scripts.      # ScriptAliases are essentially the same as Aliases, except that     # documents in the target directory are treated as applications and     # run by the server when requested rather than as documents sent to the     # client.  The same rules about trailing "/" apply to ScriptAlias     # directives as to Alias.     #     ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"          </IfModule>          <IfModule cgid_module>     #     # ScriptSock: On threaded servers, designate the path to the UNIX     # socket used to communicate with the CGI daemon of mod_cgid.     #     #Scriptsock cgisock     </IfModule>          #     # "c:/Users/lotusms/Desktop/Apache/Apache24/cgi-bin" should be changed to whatever your ScriptAliased     # CGI directory exists, if you have that configured.     #     <Directory "c:/Users/lotusms/Desktop/Apache/Apache24/cgi-bin">     AllowOverride None     Options None     Require all granted     </Directory>          <IfModule mime_module>     #     # TypesConfig points to the file containing the list of mappings from     # filename extension to MIME-type.     #     TypesConfig conf/mime.types          #     # AddType allows you to add to or override the MIME configuration     # file specified in TypesConfig for specific file types.     #     #AddType application/x-gzip .tgz     #     # AddEncoding allows you to have certain browsers uncompress     # information on the fly. Note: Not all browsers support this.     #     #AddEncoding x-compress .Z     #AddEncoding x-gzip .gz .tgz     #     # If the AddEncoding directives above are commented-out, then you     # probably should define those extensions to indicate media types:     #     AddType application/x-compress .Z     AddType application/x-gzip .gz .tgz          #     # AddHandler allows you to map certain file extensions to "handlers":     # actions unrelated to filetype. These can be either built into the server     # or added with the Action directive (see below)     #     # To use CGI scripts outside of ScriptAliased directories:     # (You will also need to add "ExecCGI" to the "Options" directive.)     #     #AddHandler cgi-script .cgi          # For type maps (negotiated resources):     #AddHandler type-map var          #     # Filters allow you to process content before it is sent to the client.     #     # To parse .shtml files for server-side includes (SSI):     # (You will also need to add "Includes" to the "Options" directive.)     #     #AddType text/html .shtml     #AddOutputFilter INCLUDES .shtml     </IfModule>          #     # The mod_mime_magic module allows the server to use various hints from the     # contents of the file itself to determine its type.  The MIMEMagicFile     # directive tells the module where the hint definitions are located.     #     #MIMEMagicFile conf/magic          #     # Customizable error responses come in three flavors:     # 1) plain text 2) local redirects 3) external redirects     #     # Some examples:     #ErrorDocument 500 "The server made a boo boo."     #ErrorDocument 404 /missing.html     #ErrorDocument 404 "/cgi-bin/missing_handler.pl"     #ErrorDocument 402 http://www.example.com/subscription_info.html     #          #     # MaxRanges: Maximum number of Ranges in a request before     # returning the entire resource, or one of the special     # values 'default', 'none' or 'unlimited'.     # Default setting is to accept 200 Ranges.     #MaxRanges unlimited          #     # EnableMMAP and EnableSendfile: On systems that support it,      # memory-mapping or the sendfile syscall may be used to deliver     # files.  This usually improves server performance, but must     # be turned off when serving from networked-mounted      # filesystems or if support for these functions is otherwise     # broken on your system.     # Defaults: EnableMMAP On, EnableSendfile Off     #     #EnableMMAP off     #EnableSendfile on          # Supplemental configuration     #     # The configuration files in the conf/extra/ directory can be      # included to add extra features or to modify the default configuration of      # the server, or you may simply copy their contents here and change as      # necessary.          # Server-pool management (MPM specific)     #Include conf/extra/httpd-mpm.conf          # Multi-language error messages     #Include conf/extra/httpd-multilang-errordoc.conf          # Fancy directory listings     #Include conf/extra/httpd-autoindex.conf          # Language settings     #Include conf/extra/httpd-languages.conf          # User home directories     #Include conf/extra/httpd-userdir.conf          # Real-time info on requests and configuration     #Include conf/extra/httpd-info.conf          # Virtual hosts     #Include conf/extra/httpd-vhosts.conf          # Local access to the Apache HTTP Server Manual     #Include conf/extra/httpd-manual.conf          # Distributed authoring and versioning (WebDAV)     #Include conf/extra/httpd-dav.conf          # Various default settings     #Include conf/extra/httpd-default.conf          # Configure mod_proxy_html to understand HTML4/XHTML1     <IfModule proxy_html_module>     Include conf/extra/proxy-html.conf     </IfModule>          # Secure (SSL/TLS) connections     #Include conf/extra/httpd-ssl.conf     #     # Note: The following must must be present to support     #       starting without SSL on platforms with no /dev/random equivalent     #       but a statically compiled-in mod_ssl.     #     <IfModule ssl_module>     SSLRandomSeed startup builtin     SSLRandomSeed connect builtin     </IfModule>     #     # uncomment out the below to deal with user agents that deliberately     # violate open standards by misusing DNT (DNT *must* be a specific     # end-user choice)     #     #<IfModule setenvif_module>     #BrowserMatch "MSIE 10.0;" bad_DNT     #</IfModule>     #<IfModule headers_module>     #RequestHeader unset DNT env=bad_DNT     #</IfModule>      All right so that is a lot. I'm sorry but I didn't want to leave anything out. So do you see anything there I can't see?


How to protect a domain

I have a domain and I worry how to protect its. My question is: What step that I must do to protect my domain name and any suggests to enhance protection domain from thief ? thanks advance


(How) Could I import twitter posts as annotations in Google Analytics?

A site I maintain tweets every time a blog post is published. Since the editors of the site have gone a bit mad with the ability to change the apparent date a blog post was published (back-dating as a layout tool), the twitter stream is the easiest way I have of knowing the actual date of publication. I now need to make a case for the efficacy of blogging (in conversion terms) and have turned to Google Analytics, who have been hoovering up our visitor data for over a year. My first thoughts were therefore to add annotations for each blog publish event, so that the ramps and spikes are more easily interpreted. Is there any way of importing data to be used as annotations? How hard would it be to massage the twitter stream data into a format that Google might play nicely with? Would it just be easier to manually add an annotation for each tweet?


Default encoding vs. content-type specified encoding

We have a website (www.semanticdesigns.com) that delivers a default encoding of ISO-8859-1. The pages are written in, guess what, ASCII mostly with some ISO-8859-1 characters. We have a few example directories where the pages under that directory are actually UTF-8-encoded with BOM. (http://www.semanticdesigns.com/Products/Formatters/JavaHTMLJunit/index.html) These display fine in IE8 and IE9, but FireFox gets confused and displays just the BOM characters                "ï»¿ "      My reading of the HTML standard is that we need to add a meta tag to those pages:                <meta http-equiv="content-type" content="text/html;charset=UTF-8"></meta>      These pages are generated automatically if it isn't obvious, so this is an easy change to make. But, I tried patching this by hand, but it doesn't seem to have an effect on FireFox. How does the browser actually decide which encoding to use? The default one provided by the server? Or what's in the meta tag? Suggestions on how to solve this problem, without changing the site default?


How to get out of google penalty for spammy links linking to my site?

One day I checked my google analytics and there was like a 60% drop in search traffic. There was no panda updates in that time. I checked my webmaster tools and saw about 200 spammy sites linking to mine that did not link to it before. So I figured I got penalized for having lots of spam sites linking to me. I sent a reconsideration request to google, and they said it wasn't a manual penalty, so they can't do anything. Any idea how I can get de-penalized from all these spammy links?


Help with simple website development

I'm trying to set up a website according to this model: http://s7.postimage.org/vxv4w5rih/site.jpg (sorry I can't post the image directly). It's very small (about 10 pages) and static (texts updated once or twice a year), but I have some doubts on how to actually put it together (I'm no pro, just amateur). My questions: 1) Would it make sense to create a static website and just insert a light- weight blog where necessary (retaining the same style)? Or it's better to base the whole site on a CMS (I know installations can be tedious)? 2) If static is ok, would it be a good idea to simply use a HTML table to put together all the images and leave the texts in dedicated cells? 3) Some menu items should display sub-items when hovered. Can you suggest a simple script? 4) Can you suggest a (possibly free and easy) software to help building it?


Should a website be on a topic?

I run an online writers' community where authors publish their literature works and other members of the community read and comment on them. The authors write a wide variety of literature pieces(such as haikus, stories, poems, scientific articles, personal narratives) on a wide variety of topics(about sun and anything under it). My intention of providing the authors with search engine traffic is largely affected by the non existence of topical focus of the website(or so I think). Is there a way to overcome this problem?


All articles with infinite scroll, or one per page for usability and SEO?

Imagine a hypothetical website with all user generated content of single page articles. Here are some ways to structuring such a website:   1. Putting up more than one article in one page and creating an infinite scroll or a pager. The fact that the articles may not be on the same topic makes this a less search engine friendly way.    2. Giving a unique page to each article and putting up a list of links/titles in the front page with or without a teaser and a thumbnail. This might make the home page look unprofessional.    3. Keeping the front page clean, without direct links to internal pages. Which method would be a search engine friendly and user friendly way to do this? How about combining 1 and 2, as in blog.codinghorror.com? Is there an advantage to it?


Confused about redirect and robots.txt

I am updating a site by creating new pages and deleting old ones. To avoid crawling errors should I use both a _robots.txt_ file and 301 redirect on _.htaccess_? _robots.txt_ :               Disallow: /products.php      _.htaccess_ :               Redirect /products.php /my-brand-new-products-page.php      Is this the way to go?


Author bio on all pages - is it duplicate content?

In a website with user generated content, I provide an author bio under every article on the site. The author bio will be the same under every article the same author wrote. For some authors, the author bio is no longer then a couple of sentences, but for some descriptive writers, it is a good 100 words. These 100 words get repeated in almost 15 pages, some of them without substantial original content (such as haikus). Will this lead to duplicate content issues?


Multiple Domains, SEO and redirections

I work for an ecommerce company which sells a core product, and am currently working on a site for a client. For this particular website, we've purchased a number of other domains (aside from the main one), that they'd like pointing to specific single pages. These pages would then have backward links to the main site. The purpose of this is to increase SEO, funnelling more users to the core website. e.g. www.fakesite.com www.seconddomain.com -> pointing to /FakePage.asp?ID=blah www.thirddomain.com -> pointing to /FakePage.asp?ID=blah The content on each page would be specific to the domain itself - e.g. a manufacturer page/domain. These pages may have links to "buy" the relevant product, which would then go back to www.fakesite.com. Alternatively I could have separate pages for each domain to point to. What I am unsure about is how to do this with IIS, and what the best practice would be for this in regards to SEO. I am a little bit unsure about redirects and how these affect SEO, or whether there is a more suitable way to do this. Any information you could give me would be greatly appreciated.


Form development optimization

Like many web developers I do forms all the time. I found myself doing the same all the time: placing input fields, assigning a name to each, ajax the form, then create the PHP which involves to assign a PHP var to each `$_REQUEST['var']`, escape and validate data, build the html and emailing the results. So I found that 70% of the work is duplicated but I just can't duplicate a page and change the fields. I end up wasting more time reformatting, deleting and adding different fields than creating from scratch. I started planing to program a "list of IDs to html+php" converter in which I'd input all the IDs and this would output the basic html and php. Then I thought: there's got to be thousands of developers that go through this, I'd be reinventing the wheel. So this is my question, I'm trying to find that wheel that somebody must have invented already. I found this: http://www.trirand.com/blog/jqform/ which does more or less what I'm looking for but it's an expensive solution and it has too much functionality for what I'd be using it. Which tools do you use to optimize repetitive task about HTML and PHP?


How to track where web page visitors are coming from?

My main web page is `nmjava.com/index.html`, I have posted "nmjava.com" in different places on the web, when visitors click on the link how do I know where they are from ? I've come up with the following method, but I wonder if there are any other ways to do it ?               <1> Create a few pages : Page_1.html , Page_2.html , ... Page_N.html     <2> Use 301 redirect to point them all to index.html     <3> Post the link to Page_1.html on site_1, post Page_2.html on site_2 ...     <4> When visitors on site_1 click on the link to Page_1.html, my web page access log         will record nmjava.com/Page_1.html is clicked, and by that I can tell the         visitor is from site_1, and if I see a log of nmjava.com/Page_N.html is clicked,         I'll know that visitor is brought by site_N.      Is there any other way to achieve this ?


CSS style viewer/tester

Is there a site out there that has a bunch of typical html for seeing what the css looks like once applied? I mean, something full of table, a, div, span, p, whatever. You go there, paste in your css and see the results.


OpenID login buttons for related modules of a site (especially a MediaWiki)

I am putting up a site. Right now it will include a MediaWiki (the sort that powers Wikipedia). In the future it may contain a blog (Wordpress?) and forums (Vanilla Forums 2?). I want the site to be viewable by the general public, but editable by anyone who signs in with an OpenID. I'd like a login page like the one used on a stack exchange sites, where the user is presented with a series of familiar buttons to choose an identity provider. Jeff Atwood has open-sourced the login component for Stack Overflow, which is awesome, but I am unable to use it as my shared hosting is on a LAMP stack, where the 'P' includes Python (2.4.3), Perl (5.8.8), PHP (5.2.4), and Ruby (1.8.7). The M is MySQL (5.1.50). I have tried a number of things with limited success. 1) MediaWiki with the OpenID login extension. When I manually install the php- openid library, and run the test, it complains about the lack of GMP support, does something strange with HTTP fetching, and complains about a lack of mod_encoding. I contacted support and they said that they will not install mod_encoding, and that GMP is already installed. 2) MediaWiki with MultiAuthPlugin against simpleSAMLphp. I think I partially have simpleSAMLphp working, but it is not clear to me what I need to do to make it an OpenID consumer -- its over my head. Then I decided that if I could authenticate against WordPress, I could use a MediaWiki extension to use that information to log people in. 3) WordPress OpenID plugin. Everything appeared to install correctly that is needed for OpenID consumption, although it didn't appear to work. I suspect it uses the php-openid library. I'm not sure how to debug it. More to the point, it just offers an OpenID textbox, which is not friendly for people who have no idea what it is -- I'd like buttons! 4) Google Friend Connect for WordPress. This is the first I've heard of friend connect. It was not clear that one was authenticated to do more than comment, and the intention is to be some sort of "social media" overlay on your site -- not what I had in mind. 5) Gigya Socialize for WordPress. Finally, a nice login using buttons and OpenID. (Mind you, when I tried to log in using it, it told me, "New user access is currently disabled for this site.") This is pretty slick, but:   * when I try to log in using my Google or Yahoo accounts, it asks for my contacts! There is no way that it is acceptable for my users to give up contact information to a third party just to log into my site.   * As I am authenticating, there is very little indication that this is authenticating me to my site; instead, it appears that the request is for Gigya.   * If my site becomes really popular, I'll have to pay money to allow people to log in! I haven't completed setting up JanRain Engage for WordPress, but I think it will be much the same as Gigya. * * * How can I have a unified, single sign-in for a group of related sites on the same domain, using OpenID and friendly google, yahoo, twitter, etc., buttons, which authenticates directly from my domain (ie. without claiming to be from a third party)? Barring that, how can I get users to log into MediaWiki using OpenID (without changing web hosts)? _Edit:_ Are there any wikis you would recommend that already have a nice OpenID login feature? I am happy to provide further details on my adventures so far. I am also a programmer, albeit not a web-programmer, quite familiar with python, and knowing enough Perl, PHP, and Ruby that I could hack on a near-solution to make it work.


Possible reasons RSS generated content won't index

I built a digg-like clone at fantasybookmark.com. Google crawled the site, but only indexed about 21 pages out of the 2,000 or so (and growing) pages on the site. We use rss feeds to find and generate content and allow users to comment. What are reasons we are not getting indexed? Are there ways to solve this?


Porting a Flash site to non-Flash site

I have many clients with Flash interfaces that they like quite a bit. But these things don't work on many (most?) mobile devices. This is a two part question:   1. If I get access to the original `.fla` files, is there a way to bulk export/compile Flash into individual images with hotspots?    2. If I don't have access to the original `.fla` is there a mechanism to turn a `.swf` into a format friendly to webkit devices? * * * **Comment:** My fear is that I'll be left with either **recreating** the interface entirely or **building something all-new**. It would be nice to have some automated options in terms of making sites more non-Flash available (possibly HTML5? possibly tailored to WebKit? possibly tailored to other mobile platforms?). Keep in mind, I love Flash, not looking to bash Flash, trying to see options for existing Flash content.


Setting DNS when registrar and host is different

Just to confirm that my assumptions are correct (if not, please let me know where I'm doing wrong):   * My domain refers to `jkwsp.com`   * The registrar where I have registered my domain is `hioxindia.com`   * My domain is hosted at `ixwebhosting.com` I have access to DNS settings in the registrar as well as in the hosting. **Setting 1**.- At Registrar DNS Setting: Name server is already entered by registrar.   * **Q1.1.** If I do `A record` to the IP given to me by the host, will it work?    * **Q1.2.** For subdomain should I make `Cname record` or a new `A record` point to the IP given to me for subdomain by my host?    * **Q1.3.** To access my site as `http://jkwsp.com` and `http://www.jkwsp.com` do I have to make the entry as: `*.jkwsp.com to IP` OR `jkwsp.com to IP` and `www.jkwsp.com as Cname`?  **Setting2**.- At Host:   * **Q2.1** Point the NameServers given by host in Registrar NS record and remove all `A record` mentioned under A record at the Registrar?    * **Q2.2** `A record` and subdomain entry is already created by Host. Since NameServer is pointed to Host now setting at host will take effect and `A record` will point to my site? And any future change needs to be done At Host Only? In Both Settings which one should be preferred?


How to prevent wpad.dat entries in log file

My Nginx access.log is FULL with lines about /wpad.dat (on a completely empty site with only "index.php") :   * 190.199.220.124 - - [13/Aug/2013:22:37:04 +0000] "GET /wpad.dat HTTP/1.1" 200 731 "-" "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36" and on another empty site:   * 190.199.220.124 - - [14/Aug/2013:00:22:42 +0000] "GET /wpad.dat HTTP/1.1" 404 168 "-" "WinHttp-Autoproxy-Service/5.1"   * 190.199.220.124 - - [14/Aug/2013:00:22:46 +0000] "GET /wpad.dat HTTP/1.1" 404 168 "-" "Kaspersky Proxy-Server detection agent" Can I prevent the above / does it point to some misconfiguration? It seems only 2 of my sites hosted on this amazon image show these entries in the log files.


Does Google host all the jQuery UI themes?

I have seen the base theme http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css Are the other themes found in the gallery also hosted (Darkness, Smoothness, etc.)? If so, where?


How can I create an SPF record on my 1and1.com hosted domain?

Emails from my domain (hosted at 1and1, and using Google Apps Premier edition) have sporadically been going to recipients' spam folders lately. I did some research, tested, and found out that I do not have an SPF record for my domain. According to this Google Support page, I need to create one. Following the steps on that page is easy, until I get to #3: > Create a TXT record containing this text: v=spf1 include:_spf.google.com > ~all I see no way to create a "TXT record". Here is a screenshot of the admin panel: ![dns settings](http://imgur.com/csHEr.png)


Cross Browser CSS script?

a few weeks ago I stumbled over a javascript that you can add to your site, and it would automatically modify your css, to work around some bugs in browsers, and add features they don't support (e.g. drop shadow) Now I can't find it anymore. I found http://css3pie.com/ but that's not it. Any hints?


Issues with timed out downloads via TomCat?

We get, in our opinion, a lot of failed download attempts and want to understand why. We offer downloads via an email link (typical):                http://www.semanticdesigns.com/deliverEval/<productname>      This is processed by Tomcat on Linux via a jsp file, with the following code:               response.addHeader( "Content-Disposition", "attachment; filename=" + fileTail );     response.addHeader( "Content-Type", "application/x-msdos-program" );     byte[] buf = new byte[8192];     int read;          try {         java.io.FileInputStream input = new java.io.FileInputStream( filename );         java.io.OutputStream o = response.getOutputStream();         while( ( read = input.read( buf, 0, 8192 ) ) != -1 ){             o.write( buf, 0, read );         }         o.flush();     } catch( Exception e ){         util.fatalError( request.getRequestURI(), "Error sending file '" + filename + "' to client", e );         throw e;     }      We get a lot of reported errors (about 50% error rate):                URI      ---      /deliverEval/download.jsp           Code Message: Error sending file '/home/sd/ShippingMasters/DMS/Domains/C/GCC3/Tools/TestCoverage/SD_C~GCC3_TestCoverage.1.6.12.exe' to client           Stack Trace      -----------      null           at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(byte[], int, int) (Unknown Source)      at org.apache.tomcat.util.buf.ByteChunk.append(byte[], int, int) (Unknown Source)      at org.apache.coyote.tomcat5.OutputBuffer.writeBytes(byte[], int, int) (Unknown Source)      at org.apache.coyote.tomcat5.OutputBuffer.write(byte[], int, int) (Unknown Source)      at org.apache.coyote.tomcat5.CoyoteOutputStream.write(byte[], int, int) (Unknown Source)      at org.apache.jsp.deliverEval.download_jsp._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown Source)      at org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown Source)      at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (Unknown Source)      at org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean) (Unknown Source)      at org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean) (Unknown Source)      at org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown Source)      at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (Unknown Source)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (Unknown Source)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (Unknown Source)      at org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (Unknown Source)      We don't understand why this rate should be so high. Is there any way to get more information about the cause of the error? It is useful to know that these are pretty big documents, 3-50 megabytes. They reside on the Linux server so reading them is just a local disk read, and is unlikely to be a contributor to the problem. But sheer size might be an issue for the recipients browser? Is this kind of error rate typical for downloads? My personal experience downloading other's documents suggests no; our internal attempts show this to be very reliable, but we're operating on our internal network for such experiments so we're missing the complexity of the intervening internet.


Mediawiki 1.16: Leaving timestamp in template

~~~~ is used to leave your timestamp with your name and date. I want to put this in a template so that whoever uses the template will have have the timestamp printed out as well. Is this possible?


URL subfolder rewrite without server access

I am having trouble with the following. I have a site in development that has every link on the site pointing to the wrong folder. Example: `example.com/en/home/`, a site link goes to `example.com/en/`, which throws a 404. Now the way the system is setup requires server access but I do not have that and information services is backlogged with requests and will take a week. But I still need to develop the site. So is there a way to have the browser recognize when `example.com/en/` is clicked then automatically redirect it to `example.com/en/home` so it bypasses the 404 and I can actually work. I'm looking for anything that gets the job done. I am considering developing a Chrome app to do this but that would mean a shit ton of overtime and more work I don't want to do. Is there a easier way of doing this?


Should a client pay to fix broken features because of changes in third party APIs?

**Is it reasonable to ask a web development client to pay to fix features that are now broken because of third party APIs?** Examples:   * We integrate a Twitter feed into a site's homepage, which works fine for months, and then one day just dies because Twitter change their API   * A spell-checking feature that relies on Google's spelling API one day goes down because Google decide to close down that API Can we realistically ask a client to pay for our time to fix those things? Or should we absorb the cost of that in order to maintain an ongoing relationship with them? In some cases, we set up and monitor the hosting for our clients, so there is some level of expectation that we keep their site up and running. Other clients arrange their own hosting. Does that affect the answer to the question? And how do other industries handle this kind of problem?


Does the calculation of time on page include the pageview of the exit page?

My question revolves around average time on page and how Google Analytics calculates this metric. I will provide an example to illustrate my question. I viewed 3 pages then exited.   * page one view time = 10 sec   * page two view time = 10 sec    * page three view time = 5 sec, then exit Questions:   1. Is my total time on page 20 sec or 25 sec?   2. would my page views be 3 or 2?   3. Is my average time on page 10 sec or 8.33sec. I ask because I pull time on page metric as part of my data pull and then I calculate Avg Time on Page in an Excel pivot. I am wondering if my calculation for Average time on page should be:               AvgTimeOnPage = total time on page/total page views      or               AvgTimeOnPage = total time on page/(total page views-total exits)


Prevent hotlinking of attachments

People are able to embed my forum's attachments (vbulletin). I tried to create an htaccess rule for the hotlinking, but it did not work.               RewriteCond %{HTTP_REFERER} !^$     RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.com.*$ [NC]     RewriteRule attachmentid=\d+(\&d=\d*)?|\.([Gg][Ii][Ff]|[Jj][Pp][Gg])$ http://mydomain.com/antihotlink.jpeg [R]      Is it not possible to check for numbers in regular expressions in htaccess files?


How to begin editing sites?

I'm new to creating web-sites and I have just registered a domain name here: from Europe Registry and started trial version of hosting from: ispserver.com. I shall connect domain and hosting somehow and the only thing I've found at Europe Registry was this: http://i.stack.imgur.com/gPLNg.jpg is it the right menu, how do I find the host name of my hosting provider, IP address of what should I specify, why are there two groups of fields, are there any other steps required before editing the site? Maybe, there's already a guide somewhere.


Blog posts all on homepage or teasers that link to main post?

Which is better? Which will lead to more readership and/or SEO? Currently showing a synopsis on homepage that links to full blog post. What would be the better approach: the whole blog post on posts feed or shortened synopsis with a "read more" link?


PHP won't load certain pages and images, Godaddy

I realize that Godaddy isn't the ideal hosting choice, but I'm running a site on an account with them. One of the pages on the site, /contactus.php refuses to load. Instead of loading the page, it loads my home page – even though the url displays /contactus.php. This issue only began to occur when I moved the site from Media Temple to Godaddy (don't ask – it's a weird string of events that led me to do that). When I run the site on MAMP, /contactus.php loads correctly. Here is the page on Godaddy (it incorrectly loads the home page): http://aandbinteriors.com/contactus.php/ – and here is a preview of the page on Media Temple that shows how it ought to look http://neilrenicker.com.s140277.gridserver.com/contactus.php/ The fact that it seems to load OK everywhere else makes me think it's an issue at Godaddy, but I'm not sure what! Any clues, anyone?


Making an advertising server ads from different ad networks

In India there are many ad-networks(other than Adsense) who pay per acquisition or per lead. So Javascript ad code is not required(as fraud clicks don't matter as long as one converts). So an ad network will have many companies and each company will have many banner sizes for ads. Also suddenly any ad may be stopped just because company's target has met. Which is a common nuisance since if we don't remove those url's then that company will get conversions for free. I've a dozen sites and removing the ads are difficult every now and then. Also CPA based ads may not convert at all. That means I'll need to remove non- performing ads regularly. I've gone through: How can I show multiple ad networks on my site? . I've also visited DFP solution but without Adsense they wouldn't let me open account. I want to make an ad server wherein I'll feed new ads (banner image + link for click). I want to maintain categories there like ( shoes, phones, books etc). So if an ad is paused - i'll simply remove/pause the ad there while other ads in the category keep running. Also changing ad code within sites will no more be required. For example - let me have an ad category "clothing" where I can add ads from different companies. So if one of my site requests an ad from there it'll randomly select an ad in this category and return it to site for display. Removing/adding ads within this category will not affect the site requesting those ads. Any idea how to implement it?


Workaround a huge number of image links on a page? [SEO]

I have a page that often contains large image galleries displayed with thumbnails linking to the actual images. They are then rerouted with JavaScript to open an overlay gallery instead, but I noticed that so many links on a single page can be really harmful for SEO. Is there a way around this or should I just remove the links and make JavaScript do all the work? An additional note... All the images are linking to a subdomain like **img.domain.com** and there are sometimes over 100 of them on a page.


site:mysite.com shows home page as HTTPS, home page not showing in search properly

site: rockitpro.com I've been trying to figure out a problem with my site since August 2012, my home page fell off the map and won't show in Google unless I search exactly **rockitpro.com**. My home page doesn't show for my website's name **rockitpro** or any of my targeted keywords. If you search my main keyword **buy beats** my site is on page 2 but it points to a category page. I figured it was Panda/Penguin but after cleaning up my site and contacting Google, they said that no manual action had ever been taken. I just did a **site:rockitpro.com** and the first result shows HTTPS : //www.rockitpro.com/ In Bing searching for **buy beats rockitpro** shows https but searching for **rockitpro** shows the normal http. I checked my domain in Plesk and it has no SSL certificates, I've never enabled ssl security on my website. Searching site:rockitpro.com inurl:https -inurl:http shows a few weird links. Searched Google and found 18 sites that link to my site via https. How do I fix this and do you guys think this is the problem as to why my home page isn't showing up in search correctly or is it a deeper problem?


no-ip.com how to hide static IP address

I'm using no-ip.com in "Port 80 redirect" mode - in fact my provider doesn't mind port 80 being used it's just I don't want to reveal my static IP. When I type the alias (from either local or remote locations) it gets picked up but then the page gets refreshed and my static IP gets displayed instead of the alias. Is it a by design behavior or how can I fix it otherwise?


What percent of visitors should click on the next page before you enable prefetching?

Mozilla Firefox and Google Chrome support prefetching via an HTML tag:               <!-- in chrome -->     <link rel="prerender" href="http://example.org/index.html">      I suppose it is always worthwhile to include this tag if 100% of users on a page click on the "Next Page" button or similar, and never worthwhile to include it if only 2% or 3% of users visit the following page. At what percent of clicks should you turn on prefetching of the next page? 65%? Also, does the calculus change if the current page is HTTP and the next page is HTTPS?


How to see the amount of visits from mobile bookmarks

For my website I want to see in Google Analytics how many people have been visiting my website through a bookmark icon on their phone's screen. This way I can learn how many people have bookmarked my website - and treat it like an app. Is there any way you guys can think of of how to track these visits?


301 Redirects for regional variants of a homepage

I am planning on implementing a website which has regional homepage variants. For Example:   * mycompany.com/europe   * mycompany.com/us The rest of the site is region agnostic and content will continue such as:   * mycompany.com/news   * mycompany.com/about-us   * etc For homepage (.com) requests, I plan on redirecting users to the correct homepage variant (via 301). If I cannot determine the correct one, I will fallback to redirecting them to the US homepage (/us). From an SEO point of view, firstly is this ok? or should I be doing anything additional to this for making search engines aware of the regional differences? As crawlers are region agnostic, I plan on directing them to the US page with a 301, or should I have something on the .com page which they use? Being that the regional homepage's will likely be the most visited pages, they should show up in result sitelinks when searching for mycompany (which I think is a good thing). Apologies for the slightly open question - I know anything SEO related is more opinion/best practice than fact but am purely looking for advice.


Can merging 4 sites into 1 help?

The company I work for has 4 websites. There is a related theme to them (all IT services or web design / development). All have unique content. I am hearing more and more that these need to be brought in under one domain and managed as one. In order for this to happen I will need to get the comapny to 'buy into' this way of thinking. And what Owners and Directors need to hear are facts! Can anyone supply any facts (or point me in the right direction) that I can report back as to why merging the 4 sites will benefit the company. Thanks Mark


Is SEO affected negatively by having densely encoded identifiers of content in URLs?

This isn't about _where_ to put the id of a piece of unique content in URLs, but more about densely packing the URL (or, does it just not matter). Take for example, a hypothetical post in a blog:               http://tempuri.org/123456789/seo-friendly-title      The ID that uniquely identifies this is 123456789. This corresponds to a look- up and is the direct key in the underlying data store. However, I could encode that in say, hexadecimal, like so:               http://tempuri.org/75bcd15/seo-friendly-title      And that would be shorter. One could take it even further and have more compact encodings; since URLs are case sensitive, one could imagine an encoding that uses numbers, lowercase and uppercase letters, for a base of 62 (26 upper case + 26 lower case + 10 digits):               0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz      For a resulting URL of:               http://tempuri.org/8M0kX/seo-friendly-title      The question is, does densely packing the ID of the content (the requirement is that an ID is _mandatory_ for look-ups) have a negative impact on SEO (and dare I ask, might it have any positive impact), or is it just not worth the time? Note that this is not for a URL shortening service, so saving space in the URL for browser limitation purposes is not an issue.


Custom Analytics report with multiple tabs

Is it possible to set up a custom report with multiple tabs, and have each tab filter data differently? I have too many metrics to use a dashboard.


What to choose for a multilingual site with support for Markdown and commenting

I want to publish articles at a multilingual site.   1. I want to be able to write an article in two languages and have them available on separate URLs:     * thesite.foo/english-breakfast     * thesite.com/engelsk-frukost   2. If the users web browser is set to English I'd like to show a small notice at the top of the Swedish version with a link to the English one. The link should have an appropriate rel attribute for a translation (search for hreflang at http://diveintohtml5.org/semantics.html).   3. There should be a way to list all articles belonging to these sets: Swedish only, English only, Swedish versions + English only, English versions + Swedish only. I'd like to publish these as four RSS-feeds. And I would like to have two versions of the main site, one in Swedish (showing Swedish versions + English only) and one in English (showing English versions).   4. I shall be able to write the articles using Markdown, as that is the formatting language I find most convenient.   5. There should be a way for users to comment. And some kind of way for me to protect myself against comment spam. I am leaning towards learning Drupal. I suspect I'll have to code this behavior myself as a module. To be frank I'd rather work with Java. Is Drupal the way to go? Or is there something more suitable for this project?


Is there any advantage or disadvantage to add subdomain twice in search engines?

I have a domain (`example.com`) and some subdomains (e.g., `sd1.example.com`, ...). I added `example.com` to Google and Bing Webmaster Tools. I added `example.com/sitemap` and `sd1.example.com/sitemap` (with a redirect) for this site on Webmaster Tools.   Then I added `sd1.example.com` as a site in Webmaster Tools and added `sd1.example.com/sitemap` for this site. I did this for all subdomains. 1) Now, is there any benefit for adding subdomains and their sitemaps twice? Or are there any disadvantages? 2) Which one is better? (from an SEO point-of-view) 3) If I want to change `example.com` domain to `newdomain.com`, should I redirect URLs separately in Webmaster Tools? **Edit** :   Clarifying the above questions: 1) For example, is there any penalty from Google in adding a sitemap twice in two websites? Does Google show two results with the same URL (because I submitted a URL twice)? 2) Is it better to have one indexed result for same URL or two? 3) After moving `example.com` to `newdomain.com` in Webmaster Tools, is there any need to do it for subdomains too? **Edit** :   I need to have separate Webmaster Tools sites for subdomains. **Before** , I added sitemaps to both main domain and subdomain in Webmaster Tools. **Now** , that I have changed main domain, I must remove old subdomains from Webmaster Tools. In this situation sitemaps vanish and I do need to submit sitemap for new subdomains. Will doing this cause Google to lose data for my subdomains?


Removing non-www support

I'm **not** an advocate of the no-www movement. I like the www because it adds as a buffer to distinguish between our public and private/static sites. The problem is that with one of our sites, our traffic is split pretty much 50/50 between those that use our www and those that don't. Should I bother rewriting those who hit our non-www site to our WWW site? Or should I just leave them alone? All our google SEO whatnot is on our www site, so I'm not concerned about any of that, only about user perception. Has anyone here had this problem before? I'm not concerned about the technial aspect (that's easy with a quick rewrite rule), primarily the social side.


Redirect of www vs. "all works"

I was asked a question from a friend if he should redirect `his-domain.com` to `www.his-domain.com`. I answered him that it seems more intuitive to just make both work. So if you enter by `his-domain.com` you get to `his-domain.com` and if you enter `www.his-domain.com` you get to `www.his-domain.com`. This is what I do on my sites. I have an ServerAlias in my apache.conf file that says `ServerAlias my- domain.com *.my-domain.com` But to my surprise,most major sites seems to take the redirect approach. Which I can understand if the sites are using SSL. But if they are not, I don't. So are there any objective reasons to choose one instead of the other? ### More nuanced edit It would be nice if you read my question before closing it. But from the reactions I get I guess the answer could be something like: "Don't make both www.domain.com and domain.com work side by side. Nobody does that. Just redirect one to the other". Even if none is willing to give a technical answer to my question I would hope someone could have answered at least that instead of closing as a duplicate and refering to different question (which to some degree was related)


Is there anyway to re-submit all sitemaps in Google Webmaster Tools at once for a domain?

Something happened and I need to resubmit A LOT of sitemaps across a lot of domains.   Is there any way I can submit all sitemaps/all errorful sitemaps per domain even? It would make things easier for me.