Configuring Apache 2.2 for Python web app in subdirectory

I have been assigned a web server to administer, and I have to deploy a web application I wrote on it. This application is mostly a single page in JS + HTML, but it has a little form to accept submissions from users, and there is some simple server side code to handle them, written with Python and the Flask web framework. The web server is Linux Ubuntu 12, I am using Apache 2.2, and Python, Flask and mod_wsgi are already installed. Let's imagine that the web server's URL is www.company.com; my web application should be served at www.company.com/webapplication. The URL my web page uses to post user submissions to the server should be www.company.com/webapplication/submit. The web application is in /home/someuser/web/webapplication. Here's the directory structure:               +-/       +-home/         +-someuser/           +-web/                -> All web apps on this server go here             +-webapplication/    -> Location for www.company.com/webapplication               +-html/            -> HTML and JS files               +-app/             -> Python code                +-logs/            -> Well, logs, obviously               +-wsgi/            -> The WSGI file for this web application      Complication: there will be other, different web applications I'll have to write and deploy later on on that same server, at other subdirectories, for example www.company.com/webapp2, www.company.com/anotherwebapp and so on, that will use different frameworks, such as Django or Tornado. I left the /etc/apache2/apache2.conf untouched and put this file in /etc/apache2/sites-available, starting from some examples I found online. Here it is, changing bits here and there for security:               <VirtualHost *:80>         # Configure virtualhost defaults         ServerName www.company.com         ServerAdmin me@company.com         DocumentRoot /home/someuser/web/webapplication/html         <Directory /webapplication>             Options FollowSymLinks             AllowOverride None         </Directory>              <Directory /home/someuser/web/webapplication/html/>             Options Indexes FollowSymLinks MultiViews             AllowOverride None             Order allow,deny             allow from all         </Directory>              # Configure WSGI Listener         WSGIDaemonProcess webapplication user=someuser group=users threads=5         WSGIScriptAlias /webapplication /home/someuser/web/webapplication/wsgi/webapplication.wsgi         WSGIScriptReloading On              <Directory /home/someuser/web/webapplication/app>             WSGIProcessGroup webapplication             WSGIApplicationGroup %{GLOBAL}             Order deny,allow             Allow from all         </Directory>              # Configure Logging         ErrorLog /home/someuser/web/webapplication/logs/error.log         LogLevel warn         CustomLog /home/someuser/web/webapplication/logs/access.log combined          </VirtualHost>      And this is my WSGI file:               import sys     sys.path.insert(0, '/home/someuser/web/webapplication/app')     from DataSubmissionServer import app as application      where DataSubmissionServer is a Python file in /home/someuser/web/webapplication/app. What happens with this configuration is this: my web page is displayed at www.company.com, taking over the home page on this server. Using the form to submit data gives me a 500 INTERNAL SERVER ERROR. How can I fix this configuration?


Google Maps Reviews: How do I get my site included?

I am NOT asking about getting a business added to Google Places. I'm asking about the 'user reviews' that show up on a Google Places listings. They seem to be pulled out from other review sites, like urbanspoon.com, etc. Is this something that Google does by itself, or is there an API or mechanism to get your site included as a source of reviews? In other words, can I get user reviews from my site something.com included in Google Places/Maps?


Should a single page fetcher like TinEye obey robots.txt?

I've noticed that tineye.com does not attempt to fetch "robots.txt" from my website. It also sends a "user agent" string consisting of the user's browser with "TinEye/1.0 (via http://www.tineye.com/)" tagged on to the end. Is this correct behaviour? If I write something which fetches one file from a web site, at the user's discretion, is it acceptable to not fetch "robots.txt"? Or should any automated program always obey robots.txt? Please note **this is not a question about tineye.com**.


How to earn high quality DoFollow backlinks?

I have a personal blog regarding How to Blogging. I would like no the ideas that how do i get dofollow backlinks to my blog? Is there any fast ways to get backlinks? Some webmaster says that edu., org, gov. Backliks are high quality. Is is true? I hope for your right information.


Facebook like button for a Facebook feed item

Here is what I do: When the admin of a website i'm creating adds a new 'news' item to his website, it directly posts the same item on the Facebook 'fanpage' of the website. This is done by an Facebook app with the permissions to post an item on the Facebook fanpage. So far so good. I'm getting the new post id from the facebook graph. Here is what I want to achieve: I'm adding a 'like' button on the original website, but when this is clicked it should be referenced to the same post item on the facebook page. So if someone likes the news post on the website he should also like the referencing facebook feed post. Which is exactly the same. Can this be done? I've been playing around with the href etc of the like button, without any success. When I hit the like button it likes the url given, but is doesn't recognizes that this is a feed post. Any idea? Thx in advance.


Why do people crawl sites without downloading pictures?

Let me show you what I mean:               IP               Pages   Hits    Bandwidth     85.xx.xx.xxx     236     236     735.00 KB     195.xx.xxx.xx    164     164     533.74 KB     95.xxx.xxx.xxx   90      90      293.47 KB      It's very clear that these person are crawling my site with bots. There's no way that you could visit my site and use <1MB bandwidth. You might say that there's the possibility that they could be browsing the site using some browser or plug-in that does not download images, js/css files, etc., but the simple fact of the matter is that there are not 90-236 pages that are linked from the home page (outside of WP files), even if you visited every page twice. I could understand if these people were crawling the site for pictures, but once again, the bandwidth indicates that this isn't what is happening. Why, then, would they crawl the site to simply view the HTML/txt/js/etc. files? The only thing that I can come up with is that they are scanning for outdated versions of WordPress, SQL injection vulnerabilities, etc., which makes me inclined to outright ban the IPs, but I'm curious, is it possible that this person is a legitimate user, or at the very least, not intending to be harmful?


Advertisement system with allowed click encouragement

Is there any advertisement system (like AdSense) that would allow me to encourage the visitors on my page to click the ad? The pay doesn't need to be as high as in AdSense, it's only important that I'm not braking the rules by doing so.


Where can I find a List of the top 10,000 keyword search queries?


How can I check that ads are loading correctly on my website?

How can I monitor the JavaScript ads on my website to ensure they show up? I **don't** want to use this process to generate false impressions but I need a way to gather data and report that ads are functioning correctly.


How do I see total "Sessions" for certain pages on Google Analytics?

On Google Analytics, I can use the Behavior tab to see the details of my pages and how many Page Views and Unique Page Views they generated. I want to know if there is a way to select a number of pages and see how many unique Sessions those pages had. For example, if I myself visited a few pages from my site, this is how Analytics currently shows it:               Page            Page Views    Unique Page Views     -----------------------------------------------     /index.html     5             1     /about.html     2             1     /contact.html   1             1     -----------------------------------------------                     8             3       There's no way to know all of this was generated by 1 session. How can I possibly do this?


html/css vs CMS

I am currently a CS student and an aspiring programmer/web developer. I am wondering whether it is worth taking the time to master html and css to make websites when these CMS services/wysiwyg editors (wordpress, squarespace) seem to be becoming more and more functional. Does anyone think these publishing services might eventually make the need to design websites from raw code unnecessary? If not, please explain why. If designing a website eventually becomes as simple as using Photoshop I would much rather invest my time in programming languages.


Having a domain with the name Google in it

I have a domain name "GooglePlayStall.com". I want to know, will Google penalize me for using their name in domain? I want to make this site as a "Fan version" of "GooglePlay". I will pick popular apps of "Google Play" and will describe the application (its uses etc) in the post and at the end of each post there will be link to the app at Google Play. Is this safe? Should I go for it?


What are Mozilla compatible Agents in Google Analytics?

When I create a pivot table showing the number of visits for each type of browsers and regions, here is what I obtain: ![enter image description here](http://i.stack.imgur.com/8mEeu.png) As you can see, regions such as `Northen America` the number of visits corresponding to `Mozilla Compatible Agent` represents a significant percentage (18% in that case). While doing some research on the net, I came across this article on `SEOmoz` which talks about a bug related to `Mozilla Compatible Agent`. Can someone with experience in GA tell me: **Q1: Can I trust figures under the`5\. Mozilla Compatible Agent` column?** **Q2: How can I break down those figures to have more specific information on the type of browsers?** **Breakdown for`Mozilla Compatible Agent`** Here are the totals per agent: ![enter image description here](http://i.stack.imgur.com/ctVIH.png) And here are the totals per device: ![enter image description here](http://i.stack.imgur.com/CzS6k.png) As you can see nothing obvious there as with some OS (e.g. Android) you can actually use different browsers. I just find it annoying that we can't get the exact breakdown per user agent string when clicking on `Mozilla Compatible Agent` (all you get is a line showing `5.0`). I guess I can at least conclude `Mozilla Compatible Agents` are mobile devices.


Will the already indexed URLs be removed if I use a robots.txt for my site?

Many URLs from my site have been added to Google's index, but a lot of them are outdated and they will never result in a `404` error and take the user to my site's homepage. I have submitted a new sitemap with my latest URLs, but the the old and obsolete URLs of my site are still shown on top in Google search. There're 100's of such URLs. I know about creating URL removal requests and _robot.txt_. But submitting removal requests will take a lot of time and effort. I would like to use _robots.txt_ instead. But if I list them in my _robots.txt_ using a wild card expression that matches my old URLs, will Google remove them from its index? Or will it just stop crawling them again, which means they will not be re- indexed, but already indexed old URLs will still be shown in Google search, which is not I want. Can you please let me know what I should do?


Cloud server or VPS server

I have a website on shared server, which is been suspended , due to high traffic, Now I am planning some thing higher then shared server, I have never used or configure VPS. And after hearing about cloud servers performance and the cheap rates, I am confuse between them, Should I go with Cloud Server or VPS? I will be hosting a single wordpress site which will be having 500-1000 visitors per day, One more thing, I have never configured a VPS or Cloud, so is it difficult to configure them and what OS in Linux, I have to select? And is their any website for configuring a cloud server tutorial or something in basic to understand?


Does Google award less importance to each keyword on a domain if there are more keywords?

If there are several pages on a domain, and they are optimized for different keywords, will google award less importance to each of them than if there was only one prevailing keyword on the whole domain?


Photoshop, slice, Dreamweaver, web?

So I am playing around with Photoshop and Dreamweaver. I have created a site layout, and have used the slice function on it. Next, I saved as html & images. In Dreamweaver, I open such html file and I fill the page with content, links, etc. I have a website and everything, and I would like to use my newly created html page on it. But, obviously, if I copy & paste the html to my website it won't work because it will lack the images. But two things: I can't find the images, and apparently they are a lot. I am sure I am doing a great mistake regarding the images. Can someone help me?


Problem with getting footer down

I used the method described in this article to get my footer down. Worked beautifully, except it floats ~3 pixels above the bottom of the page: http://nclabs.org/screenshots/1295742373.png How can I fix that? Full HTML: http://nclabs.org/index.php   Full CSS: http://nclabs.org/includes/layout-global.css   IE-only CS: http://nclabs.org/includes/ie.css


Can we use genesis framework for free?

First of all, I know that Genesis framework is paid framework. But many bloggers are using it for free because paypal is not supported in their country. Genesis framework is under GPL (General public licence) which means that anyone can redistribute it for free. I found many bloggers giving it for free but is it safe to use it for free?


What do I do if a user uploads child pornography?

If my website allows uploading images (which are not moderated), what action do I take if a user uploads child pornography? I already make it easy to report images, and have never had this problem before, but am wondering what the appropriate response is. My initial thought is to:   * Immediately delete (not just make inaccessible) the image   * File a report with the National Center for Missing and Exploited Children with all information I have on the user (IP, URL, user-agent, etc.), identifying myself as the website operator and providing contact information   * Check any other images uploaded by that IP user and prevent them from uploading in the future (this is impossible, but I can at least block their account). This seems like a good way to be responsible in reporting, but does this satisfy all of my legal and moral responsibilities? Would it be better _not_ to delete the image and to just make it inaccessible, so that it can be sent to the National Center for Missing & Exploted Children, the police, FBI, etc?


What are the advantages of using country specific top level domains?

For instance, do country-specific sites and/or search engines give more weight to sites under a specific country level TLD? Or, do country-specific TLDs exist just to increase the WWW namespace and provide window dressing to websites that are focused to a specific country?


Is there a way to mark content as random?

> **Possible Duplicate:**   >  Is there any way to have search engines not index a certain section of a > page? **Is there a way to mark a section of a webpage (div) so that it is not considered for ranking?** What I am seeing is that sometimes a page ranks for a keyword which is not permanently on that page but only there randomly or semi-randomly. For example, a div may show a random image, or the most popular item or article for that day, or simply a random quote. It gives something interesting for recurring visitors but when the enclosing page ranks for keywords which appeared in those sections (and may no longer appear) is feels less than ideal.


Adding RSS/ATOM feed for a completely static web site

I am helping a friend to bring a very large, completely static web site out of the stone age. One thing I'd like to add immediately is a RSS/ATOM feed. He does not like working with any kind of CMS. He makes his pages using a Dream Weaver template, then uploads it and manually updates some pages to link to the new content. His site does very, very well in search engines, but he's not quite engaging new visitors who would probably put him in their reader. Is there something I can install that allows him to easily / manually add new items to a feed? Perhaps something that if given a link could fetch a content excerpt? Searching around yielded hundreds of things that might work, but many from 2000 or prior that have not been updated since. Language is not critical, but PHP/Python would be ideal. I really need something self hosted. **Edit** The flow of this should be, webmaster makes a new static page, uploads it, links to it .. now some mention of that page should exist in the RSS feed. Ideally, the webmaster could just provide the link to the new page, and the title with a short excerpt would appear in the feed. **Edit** Perhaps even something that just scraped title / excerpt from comment tags, i.e. :                     I don't need a full blown parser, just something that makes it easy for someone with minimal skills to maintain a feed on a completely static site.


What kind of hosting web server / DB / infrastructure is need for high volume dating website?

I want to know what kind of infrastructure is need for a dating website developed in php/mysql. Consider a website like match.com and eharmony.com with millions of users. Users create their profile, can upload several photos, serach profiles and chat and Emails. So what kind of hosting plan is needed for such website? How much DiskSpace is ideal? Any limitations with Database? What kind of Server Configuration? What kind of plan/server configuration should I start with initially? say my site is going to be about one-third of match.com When should I move to a higher level plan?


What do you think is a possessional looking font for a web application

I am creating a website / web application where companies can do there accounting. It is sort of a alternative to the regular desktop accounting program. I want the application to have a look and feel of a normal desktop application, and not of a traditional websites. What kind of font and font-size do you think comes close to the traditional desktop application. I am styling in CSS.


Content Optimization only?

There are tons of discussions around tips&tricks to improve Search Engines "ranking" and SEOs. If I concentrate only on the content* of the website will there be consequences on the pages' rank by letting down search engine optimizations... Or third party SEOs are a " _must have_ " required by search-engines in order to be competitive regarding the other websites in the same category? (*) The Focus is 100% set on the quality of the content with precise keywords in meta tags, clean design, regular articles updates, clean URLs and highly filtered external links leading to pages on websites dealing on the same,or related subjects.


Paypal parallel payments implementation in Magento

I want to integrate PayPal parallel payments in Magento. Is this possible through Magento's admin interface without working on the code? Are there any extensions available for this? I have already found this developer network post which is pretty helpful for implementing Parallel payments in PHP.


How could a web developer go about offering free hosting to clients that buy a website?

Lots of web design companies offer a year free hosting service when purchasing a website. How do they offer this service? Do these companies use their own server to host sites or do they buy a years hosting from somewhere and use that? I understand that not all companies would use the same method, but in general, how would it be done? Thanks for any answers :)


Calculating payment: what kind of rounding should be used?

There are several different methods of rounding. When developing a website that requires calculating a payment, between promotional codes, sales tax, credit card processing fees, it's possible end up with a total that results in a fraction of a penny. What kind of rounding should be used when converting the total to two decimal places?


[BlogEngine.NET] Compression error

I have a blogengine.net website hosted on godaddy and I'm having issues when viewing it with Firefox and Chrome. On Firefox I get this error :               Content Encoding Error          The page you are trying to view cannot be shown      because it uses an invalid or unsupported form of compression.      On Google Chrome however, I only get a white page like if there was nothing that would load. I'm wondering if it's the server (GoDaddy hosting), the website or both together that is causing this problem. When I run it directly from VS2010 I don't get any errors. What could cause that and how could I solve it. Thanks


Where to store project resource files?

You are working on a website for a client. He (the client) sends you a bunch of MS Word documents with text that you have to use in the website. Where do you store them? My approach would be to store them on my local server along with the source files for the website - in a folder named "res" (for "resources").


Do hosting companies, usually, allow running custom made server software?

I am starting a new project that includes subscriber registration and emailing them daily. For my project I created a server application written in c#, a website written in PHP, and a database managed by PHPMYADMIN and MySQL My question is, do hosting companies, usually, allow running custom made server software? and how do I know if a specific hosting company allows for all the technologies I use to create my project? Thanks


Backlink anchor text and Local SEO

If I have a business in, say Tampa Florida, and we offer irrigation services, and I want to create some backlinks for a SEO campaign, should I use "Tampa Florida Irrigation Services" as my anchor text? Or should I just use "Irrigation Services" and let Google figure out our location by our Google local directory listing (that I hope would associate with the web site)?. "Irrigation Services" here is just a sample keyword. It could be any other one, but in general, would you use the location as part of the anchor text? I really hope not, cause there are just too many ways to express the same location.


Google Webmaster Tools average position?

I see that my site's average position is 7.0 for a certain search query. However, it is kind of impossible for now. And when I search that query, I cannot find my site even in the first 10 pages. So is there something I misunderstood about the average position?


Town Of Pixels - Getting Traffic

I need some inputs and feedback on one of my application which i released a week back. Its name is Town of Pixels (http://www.townofpixels.com). Its majorly for designers, photographers and artists who want to showcase their work in a personalized way. Now i have a concern. I have done nothing to get much traffic. So my google anaytics shows poor results. How can i improve this. I have taken care of SEO upto my knowledge. Please help me with some tips of how to move forward and also some feedback about the application. Thanks, Abhishek


Are no "rel" attribute backlinks dofollow or nofollow?

I have signed up for Alexa's one month free and they gave me an option to list two extra links to my site. These extra two links do not have a `rel` attribute, although the main link (1st) to my site has a `rel="nofollow"` value. Does this mean that these extra two links are `dofollow` by default or `nofollow`? Here is my site's Alexa page.


My site does not get aproved by Adsense. Issues: Unacceptable site content

I've submited my website to adsense and after 5 days i got this email: > Hello, > > As mentioned in our welcome email, we continue to review your AdSense > application once AdSense code is placed on your sites. As a result of this > review, we have disapproved your account for the following violation(s). > > Issues: > >   * Unacceptable site content > > > * * * > > Further detail: > > Unacceptable site content: Your website contains content that we do not > allow at this time. Please review our policies > (https://www.google.com/adsense/policies) for a complete list of site > content not allowed on webpages. > > * * * > > To update and resubmit your application, please visit > http://www.google.com/adsense and sign in using the email address and > password you submitted with your application. Our specialists will review > your account for compliance with our program policies, so please make sure > to resolve all of the issues listed above before resubmitting. > > For more information, visit our Help Center: > http://www.google.com/adsense/support/as or search the AdSense Help Forum, > where a community of publishers shares AdSense best practices: > http://www.google.com/support/forum/p/AdSense. Representatives of Google > AdSense also participate in discussions. > > Regards, > > The Google AdSense Team Unacceptable site content, what? My blog is hosted on blogspot: ... and i don't really understand why it is not approved. Can somebody help me? Thanks in advance...


Google is not seeing my HTTPS website

I have a website and it is working with HTTPS, programatically when someone got to HTTP it forward him to the HTTPS version. My issue that I see that Google Search is not seeing my pages, the website is there now for 2 months and if I searched for text copied from the website, I don't get the website in the search results. Is there something special I should do in case of HTTPS websites to make Google index my website better? I am using GoDaddy to manage the domain, should I do something in the domain manager?


301 Redirect not behaving like I am wanting it too. What is my mistake?

301 Wildcard. I don't think I am doing it right. Need `domain1.com/keyword5` to go to `domain2.com/keyword5`. Instead it does this: `www.domain1.com/keyword5` goes to `www.domain2.com` (tld, root, not the keyword5 directory) Here is my .htaccess:               RewriteCond %{HTTP_HOST} ^domain1\.com$ [OR]     RewriteCond %{HTTP_HOST} ^www\.domain1\.com$     RewriteRule ^(.*)$ "http\:\/\/www\.domain2\.com\/$1" [R=301,L]      PS: Can I do multiple domains on the same .htaccess? For example, I have 3 domains on the same public_html, can I 301 each of them like this?


Favicon will not show up... Searched other questions, no answers

My favicon will not show up. I have searched the site for similar questions and I do not see where I am going wrong. Here is my tag:               <head>     <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"  />      Do you see anything wrong here? I have my favicon.ico in the correct directory. I am testing this locally in incognito via google chrome.


Where does the Google `site:` operator for site-specific searches get its information?

I have read in many places that one should use Google Webmaster preferably to the `site:` search operator. However, I would like to know where the `site:` operator gets its information from? Here is my situation. I have imported a new blog on Blogger and tried to have the pages added to the index. The problem is that Google Webmaster's index status is updated once per week --too slow for me. Right now, it says no pages have been added to the index yet. But, when I search `site:trovare-parole.blogspot.com`, it returns plenty of links. So does it mean Google has indexed some of my pages yet (and the index status is late) or not? How should I interpret the result of a site search?


How to add DNS txt record in cpanel and what to name it?

I have a domain, where I have to add a DNS text change. More specifically, I have to do the following: " _You should now create a DNS text record with the meta tag value shown below for the domain you're securing._ " The value I should insert is this one:               globalsign-domain-verification=list_of_random_chars      How do I add this in cPanel? I thought about doing it this way, but I have to add a name: ![enter image description here](http://i.stack.imgur.com/uEpms.png) I also thought about adding it like this: ![enter image description here](http://i.stack.imgur.com/fZDvu.png) So my question really is: how do I add this txt file in a correct way?


I want to combine the databases from two different sites under one URL. How is this possible?

I have a small site that I want to merge with a bigger one. Both on Wordpress. How can I merge the second one with the first? I know that one solution would be to make the smaller one a subdomain of the bigger one, but I would like the following thing to happen: when I click on a category or a tag, posts from both sites/databases would appear. Something like Smashing Magazine did when it assimilated designinformer.com. The other solution and the one that I would prefer would be to merge the two databases, but I don't know if this is possible.


Configuring http://mail.example.com

Can I redirect the URL `http://mail.example.com` into webmail similar to `http://webmail.example.com`?


What Software Does Wikibooks Use?

I know they use MediaWiki but do they use any specific extensions that allow them to have hierarchies of pages/etc?


getting the user back where they came from with mod_form_auth

Using the mod_form_auth module in Apache HTTPD 2.4.3, I am looking for a way to have the user redirected to their original desired target after completing a login. That is, if I have a               <Location /protected>        ... form auth config here     </Location>      the user might browse to /protected/a, or to protected/b. In either case, they will be presented with the login form. However, as far as I can see, I must specific a single 'success' URL. I'm wondering if I'm missing some Apache feature that would allow me to, for example, cause the redirect to the login form go to something like:               https://login.html?origTarget=/protected/a      via some syntax on the `AuthForLoginRequiredLocation` statement?


Compare 3 or more date ranges in Google Analytics

Is it possible to compare 3 or more date ranges in Google Analytics? It's obvious how to compare 2 ranges. It would be great to see additional ranges - seeing the data of 6 months overlaid - seeing 3 years compared on the same chart etc.


Duplicate pages indexed in Google

I did a small coding mistake and Google indexed my site incorrectly. This is the correct form: https://www.foo.com/urunler/171/TENGA-CUP-DOUBLE- HOLE But Google indexed my site like this: https://www.foo.com/urunler/171/cart.aspx First I fixed the problem and made a site map with only the correct link in it. Now I checked webmaster tools and I see this:               Total indexed 513 Not selected 544 Blocked by robots 0      So I think this can be caused by double indexes, and it looks like the pages not selected makes the correct pages not indexed. I want to know how to fix the "https://www.foo.com/urunler/171/cart.aspx" links. Should I fix in code or should I connect to Google to re-index my site? If I should redirect wrong/duplicate links to correct ones, how should that be done?


Choosing a subject to create a site for

For 6 years I'm working as web developer and I would like to finally create my own site. I thought I have everything needed: programming and administration skills, found a good designer, own servers and understanding how to operate site. But I've missed very important (or the most important) point: how do I find a subject for my site? My hobby and my work are the same: IT, but I don't want to create just another tech blog or news aggregator, I want something different. First I thought things like Google Trends or Google top 1000 could help, but I've got lost in thousands of options I can't see them all (I actually can, but it'll take at least a couple of month). So my question is: how did you start? Where did you get the idea?


Is Google App Engine secure enough for financial applications?

I am wondering whether Google App Engine is secure enough for financial applications? This would involve storing sensitive information, access to users' funds, etc. Are there any applications like that already running on App Engine?


Using CNAME to point a subdomain to a CDN, will that affect SEO of the subdomain?

I want to install a CDN service on a subdomain of my site. Since the service requires the subdomain to use CNAME (to point to their servers), will that affect the SEO of the subdomain? I know that the domain of the contents remains the same, but I am afraid that the CNAME can affect the SEO since the CDN domain does not match with my site.


How do I get Google to index two URLs that differ only in the value of a URL parameter?

I have a site which has variable ID's which bring up different content For example:   * `http://example.com/university.php?id=3`   * `http://example.com/university.php?id=4` Technically these are two different pages which ideally I would like google to index separately (and rank for terms according to the University) What is the best way to go about doing this?


Google search overrides search term with suggested results

Searching for my domain name without the `.com` ("weddingspot") used to yield results for my website on the front page. Now, Google displays results for "wedding site" and my website no longer shows up in any search results. The user has to explicitly click the "search instead" link to find my site. Why did this happen and is there anyway I can fix this?


Hacked Wordpress site - Mobile Users only

My site has been hacked for users of mobiles only. I searched for advice here and found some advice but I couldn't see that it applied to my site nor could I fully understand the concepts. Does anyone have any advice please? Wordpress is up to date plus the .htaccess looks ok to me. Many thanks.


Port numbers appended to anchor tags

I've built a static site. Locally, when I serve the content with `python -m SimpleHTTPServer` everything behaves normally, but when I copy the HTML onto the server and browse the site at the server's URL, some links will have a port number appended to the domain. For example: `url.com:84/path` where the correct path is `url.com/path`. The port number is usually different, always between 81-85. It is an Apache server. I'm not experienced with web server configuration, and I'm not the admin of the server. Let me know if there is more information that can help solve my problem.               ~> cat /etc/*release*     SuSE SLES-8 (i386)     VERSION = 8.1     UnitedLinux 1.0 (i586)     VERSION = 1.0     LSB_VERSION="1.2"     DISTRIB_ID="UnitedLinux"     DISTRIB_RELEASE="1.0"     DISTRIB_DESCRIPTION="UnitedLinux 1.0 (i586)"


Apache HTTPS ProxyPass certificate location

I'm trying to set up an Apache server that uses ProxyPass to pass HTTPS requests on to another server. Let's call the proxy server ALPHA and the target server BETA. ALPHA does not run HTTPS, but BETA does. I first tried using this virtual host specification on ALPHA:               <VirtualHost *:443>       ServerName mysite.com       ProxyPass / https://192.168.1.105/   # BETA's IP address       ProxyPassReverse / https://192.168.1.105/  # BETA's IP address       ProxyPreserveHost On       ProxyTimeout 600            SSLProxyEngine On       RequestHeader set Front-End-Https "On"       CacheDisable *     </VirtualHost>      But when I tried this, Apache complained saying, "[error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]". I had to copy the SSL certificate from BETA to ALPHA and add these lines to the virtual host specification on ALPHA:                 SSLEngine on       SSLCertificateKeyFile /usr/local/ssl/private/BETA_private.key       SSLCertificateFile /usr/local/ssl/crt/BETA_public.crt       SSLCertificateChainFile /usr/local/ssl/crt/BETA_intermediate.crt      Now the system works. But I have a feeling that I have done something wrong or unnecessary. I have the web site's private key and certificate lying on both ALPHA and BETA. Is that necessary? Should I have done it differently?


Good tools to get all resources for a particular URL?

I'm looking for clues on which tool to use to see all the resources that a browser would load when going to a particular URL. This would be similar to the list seen in Chrome's Developer Tools -> Frames, but output as something nice like JSON or XML.


unexpected url parameters added by 3rd party browsers

I have a static html website. And I am receiving many incoming visitor, which are adding parameters to url               "?from=singlemessage&isappinstalled=0"     "?from=timeline&isappinstalled=0"      is it wechat or another website that automatically add these ? Or is this a bug ?


Cookie security risk between primary domain and a CMS on a subdomain

Without making the question too general, I am looking to discover the specific risks associated with cookies between my primary domain hosting HTML content only, to a subdomain that is hosting Hubspot, a Web-based CMS. Consider I have the following sites:               //Main site - uses HTML only, no server side languages for security     example.com          //Uses Hubspot and has Hubspot associated cookies, PHP etc.      downloads.example.com          //Our central order processing and management system (the key asset) - uses various server-side technologies e.g. Java     internal.example.com      What I'm looking to discover is if we need to host the Hubspot site elsewhere, or if it safe to host it at downloads.example.com, without creating security implications for internal.example.com. Specifically, the kind of risks I have been looking at are:   * XSS attack on downloads.example.com could create a malicious cookie, shared with internal.example.com   * Download files on downloads.example.com could be altered by a hacker to contain damaging viruses and programs. So the question is, does the Hubspot site at downloads.example.com, create vulnerabilities for the other sites (even all servers are hosted separately)?


How to prevent duplicate title tags for multilingual content

Google is reporting duplicate title tags for a website that is built for 2 languages. The URL structure seems fine it is something like:               example.com/place-1     example.com/fr/place-1      The title tags are unique for each page yet some info is of course duplicated for the other language, for example:               Place-1 - Region - Gourmet lunch and dinner     Place-1 - Region - Dîner gastronomique        1. Why would this be considered a duplicate when they clearly are not the same.   2. Even if they were the same the `<title>` is important and unique for each language, how can I tell google this.


Friendly URL change and Google Webmaster Tools warnings

I just migrated (with `mod rewrite`) from non-friendly URLs to a bit-more- friendly URLs: from `site.com/post.php?id=5` to `site.com/post/the-title-of- the-post/5`. This is my PHP redirect from old to new URL:               if(empty($_GET['friendly']) && empty($_POST)){             include('includes/basedatos.php');             include('includes/funciones.php');             $id = (int) mysql_real_escape_string($_GET['id']);             $post = mysql_fetch_array(mysql_query("SELECT id, titulo FROM post WHERE id = $id"));             $titulo = $post['titulo'];             if($titulo == ''){                 header('HTTP/1.0 404 Not Found');             }             $ruta = '/post/'.urls_amigables(trim($titulo)).'/'.$id;             header ('HTTP/1.1 301 Moved Permanently'); /* please not this */             header("Location: $ruta");             exit();         }      The problem here is that even I set the headers to 301 Google is warning me of duplicated titles (and descriptions) and shows me both (old and new) URLs. Question: is this a temporary stage? or I am not moving properly the my post URLs?


SSL on site which asks API via HTTPS

For example I have a site `site.com`. It has its own http json api: `api.site.com`. API has authorisation and it runs under `https`. Now, I need to make visualization of some functionality of json api - so I need to make a profile section on `site.com`: Authorisation form, and user profile section with actions. All actions will be done via cURL requests to `https://api.site.com`. Have I use SSL on `site.com` too?


G+ author image for blog posts not showing in search results, but does in rich snippet tool

I have registered my Google authorship e-mail, and my blog posts are on the same domain. Why is my G+ profile image not appearing in SERPs? I have e-mail registered and verified for Google authorship. All my posts have the same problem, and no profile image of mine appears. Though, when testing it in the rich snippet tool, the profile image DOES appear:Why could this be?


Apache Server-Side Includes Refuse to Work (Tried everything in the docs but still no joy)

Trying to get apache server-side includes to work. Really simple - just want to include a footer on each page. Apache 2.2:               # ./httpd -v     Server version: Apache/2.2.21 (Unix)     Server built:   Dec  4 2011 18:24:53     Cpanel::Easy::Apache v3.7.2 rev9999      mod_include is compiled in:               # /usr/local/apache/bin/httpd -l | grep mod_include       mod_include.c      And it's in httpd.conf:               # grep shtml httpd.conf     AddType text/html .shtml     DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html     AddHandler server-parsed .shtml     AddType text/html .shtml      In the web directory I created a .htaccess with               Options +Includes      And then in the document, I have:
next should be the include

include done
      And I see nothing in between those headers. Tried file=, also with/without absolute path. Is there something else I'm missing? I see the same thing on another unrelated server (more or less stock CentOS 6), so I suspect the problem is between keyboard and chair...


How do I create (or remove) another FTP account for a client in Plesk?

I've currently got a reseller account with my hosting provider that I use for my clients (for their websites). And I need to add/remove a FTP user, but for the life of me I can't work out how! Am sure I've looked under every possible option, TWICE! Based on the help document it appears to be v10.4 of Plesk if that helps.


subdomain to subdomain forward with masking

I want to forward with mask from one server to another server. In Server One: www.abc.com test.abc.com live.abc.com In Server Two:               http://ipaddress.com/folder1      http://ipaddress.com/folder2          test.abc.com --> http://ipaddress.com/folder1      live.abc.com --> http://ipaddress.com/folder2      In both servers what i have to do the accomplish this task.


drupal site speed increase

I'm using a drupal site with a theme from rockettheme. The users are member users. The problem is for unknown reason the site is very slow. Takes around 20 seconds to open the page. I have tried switching the VPS, but no performance gain. I'm not using many modules, that would bog down the site. What possible solutions should I look at to increase the site's speed to bring it to open in normal time. > Executed 120 queries in 113.52 milliseconds. Queries taking longer than 5 ms > and queries executed more than once, are highlighted. Page execution time > was 2534.15 ms. > > Executed 87 queries in 24.6 milliseconds. Queries taking longer than 5 ms > and queries executed more than once, are highlighted. Page execution time > was 2609.59 ms. > > Executed 123 queries in 41.05 milliseconds. Queries taking longer than 5 ms > and queries executed more than once, are highlighted. Page execution time > was 1282.27 ms. I don't guess these are normal.


How do I block site to specific users or IP?

I have been running a website with WordPress blog since few time. I have been receiving email reporting that few specific address has been posting un-related comments in my website. I am receiving like one email per minute from same IP address. So since the IP address is posting un-related comments I would like to block it. But don't know how? Its something like: `178.238.232.234`, `234.232.238.178.static.giga-dns.com`


Google Analytics cookie across SagePay checkout

We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions. In Google Analytics, under the Ecommerce view, it shows direct/none for source/medium, as the 1st party cookie is lost when visiting the external SagePay checkout pages before the customer is redirected to my confirmation page which tracks the transaction. In all the answers I have viewed when searching for a solution, the suggestion is to alter the tracking code to read ` _gaq.push(['_setDomainName', 'none']);   _gaq.push(['_setAllowLinker', true]); ` but this needs to be implemented on all pages, including 3rd party domains (SagePay). As SagePay don't allow javascript in their template customisation, what can I do? Is there another way? Edit: I just found this code: ` var pageTracker = _gat._getTracker('UA-XXXXX-X'); pageTracker._setCampNameKey('ga_campaign'); // name pageTracker._setCampMediumKey('ga_medium'); // medium pageTracker._setCampSourceKey('ga_source'); // source pageTracker._setCampNOKey('ga_nooverride'); // don't override pageTracker._trackPageview(); ` Could I store pre-checkout values for source/campaign/medium to a cookie and the retrieve it post-checkout into the code above, or would this start a new tracking session?


Redirect page to symlink

So I have 2 URLs that basically link to the main url using a symlink                maindomain.com        englishdomain.com -> symlink to maindomain.com        frenchdomain.com - > symlink to maindomain.com/fr       When someone actually lands on maindomain.com/index.php it will automatically redirect them to the appropriate symlink The problem I'm having is I think it's affecting my google ranking and I'm not sure why.. this is my redirect code               $url = "http://" . $_SERVER['HTTP_HOST'];          if ( $url == 'http://www.maindomain.com' || $url == 'http://maindomain.com') {         header('Location: http://www.englishdomain.com/');     }     if ( $url == 'http://www.frenchdomain.com' || $url == 'http://frenchdomain.com') {         header('Location: http://www.frenchdomain.com/fr');     }      Is it possible that it's affecting my google ranking?


What framework for text rating site?

I want to start a "rate my"-style site. The rated objects are mostly texts. I want it to be rather simple. Features I need:   * object rating (thumb up, thumb down)   * object comments   * object tags   * related object presentation based on tags   * user authentication and management   * private message system   * sanity checks for text inputs (i.e. prevention of code injections)   * cache   * open source   * runs on GNU/Linux I would gladly take something that is tailored for my scenario but a generic framework would be fine too. I simply don't want to write stuff like user authentication that is been written a million times and risking security flaws. Programming language is irrelevant but python/php preferred. EDIT: I chose Django.


Huge increase in direct load homepage traffic and bounce rate, causes?

Over the holiday shopping period our website saw a huge increase in direct load traffic directly on the homepage (from 2mil to 8-9mil hits) and the bounce rate went through the roof on that page (70-80%). This is being reported by both Coremetrics and backed by Google Analytics. Direct load traffic continues to rise on the home page only, IT and developers have poured through logs with no significant findings, looking for non- standard user agents and IPs. Nothing looks out of the ordinary except for a small amount of hits (10-15%) coming through with empty user agents strings. So my question is, has anyone experienced anything similar on a site and if so how was the issue solved or troubleshot? At this point we are suspecting a distributed attack.


Moodle error - Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.

I am running a Moodle 2.4.8 (Build: 20140113) on a Debian Squeeze box, with Apache 2.2. Whenever a user (even the admin user) makes changes to certain settings (i.e. _adding a user_ ), or just accessing certain courses (in this case, Math 9), the page pops up with a 503 error, **Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.** Checking my `/config.php` file, I see the path is set to `/var/moodledata2`, which is owned by `www-data www-data`, and permissions are lined up with the Moodle documentation. This was intermittent at the start of the week, but now it's getting to be constant. There is lots of free space available (as shown below):               # df -h     Filesystem            Size  Used Avail Use% Mounted on     /dev/md2               83G   37G   42G  48% /     tmpfs                 2.0G     0  2.0G   0% /lib/init/rw     udev                  2.0G  224K  2.0G   1% /dev     tmpfs                 2.0G     0  2.0G   0% /dev/shm     /dev/md1              939M   35M  857M   4% /boot     /dev/md3              822G  355G  426G  46% /var     /dev/md4              917G   72G  799G   9% /var/moodledata2          # cat config.php     <?php  // Moodle configuration file          unset($CFG);     global $CFG;     $CFG = new stdClass();          $CFG->dbtype    = 'mysqli';     $CFG->dblibrary = 'native';     $CFG->dbhost    = 'localhost';     $CFG->dbname    = 'moodle2';     $CFG->dbuser    = 'root';     $CFG->dbpass    = '<removed>';     $CFG->prefix    = 'mdl_';     $CFG->dboptions = array (       'dbpersist' => 0,       'dbsocket' => 0,     );          $CFG->wwwroot   = 'http://example.com/moodle2'; // <removed>     $CFG->dataroot  = '/var/moodledata2';     $CFG->admin     = 'admin';          $CFG->directorypermissions = 0777;          $CFG->passwordsaltmain = '<removed>';          require_once(dirname(__FILE__) . '/lib/setup.php');          // There is no php closing tag in this file,     // it is intentional because it prevents trailing whitespace problems!     #      I'm at a loss for what to do. Permissions seem logical in how they should be (www-data owning everything, and having full access to the `/var/moodledata2` folder). What is my next step?


What is a good default font family for any IE8/9, Chrome & Firefox?

I have users complaining that fonts are not clear on some browseres (especially displaying data in grids...I'm using Trebuchet MS per default of asp.netmvc3 css site styles) Q: What is a good overall default font family size that displays with good resolution (easy on the eyes, easy to read, etc,)? Any recommendations?


What's wrong with my htaccess ? (500 Error)

I've written a small htaccess file to redirect Internet Explorer users to a specific page Here are the contents :               # MS Internet Explorer - Mozilla v4     RewriteEngine On     RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE     RewriteRule ^index\.php$ /sorry.php [L]          # All other browsers     #RewriteRule ^index\.html$ /index.32.html [L]      Any clue why this would give a 500 Internal Server Error ? I have used mod rewrite before so i have the module loaded there...


Problem getting rewrite from subdomain to directory to work

I want to redirect `demo.example.com` to `example.com/my-demo`. This is my rewrite rule, but I'm not getting it to work on my production server:                 RewriteCond %{HTTP_HOST} ^demo\.example\.com       RewriteRule ^(.*)$ /my-demo/$1 [R=301,L]


is it possible to get browser marketshare by OS?

For development purposes, I'd like to get a rough estimate of the distribution of browser usage share, but everything I've been able to find just states overall market share. Is it possible to get browser share by OS?


How can I see my website like a color blind person?

Is there some kind of plugin or service for any browser out there (Mac OS, Windows or Linux) that would let me see a website like a colorblind person would?


How to keep track of how many hits on a redirect page with Google Analytics

I've written a simple redirect script in PHP that takes a resource ID and then redirects the user to the appropriate page. The main motivation was if all of my links were to break because the service provider decided to disable them for whatever reason, I can update all links easily since they're in a single location. Now that I actually have a redirect page up, I'm interested in knowing which resources are most popular. I have looked at Google Analytics and it seems promising, but I am not sure how to set it up to capture what I want. My redirect page takes a set of parameters as such               http://mySite.com/redirect.php?type=RESOURCE_TYPE&id=RES_ID      I would like to keep track of each parameter (`type`, `id`) and the values. How can I accomplish this? Will there be a problem if the page does not load up completely before my redirect script kicks in and sends them off?


Redirect everything from old domain to new domain

I need to (permanent) redirect all of the following:   1. `www.domain.com`   2. `www.domain.com/folder`   3. `sub.domain.com`   4. `sub.domain.com/folder` Basically all URLS that are reachable without being intended to: `www.newdomain.com`, I want to do this within Apache and using the mod_rewrite module via the htaccess file.


Redirecting subdirectories to new domain

I have a WordPress blog under, let's say, `example.com`. It has pages under the following structure:   * `example.com/2013/some-article`   * `example.com/2014/some-other-article` Soon this domain will expire and I want to get rid of it and redirect traffic to `blog.example2.com`. I tried to do it in Apache by using `Redirect 301 / http://blog.example2.com` in `.htaccess` and later by changing DNS records to redirect to new domain. When I enter my old website directly, by web browser at `example.com/2013/some-article` I am redirected to `blog.example2.com/2013/some-article`. When I access website by Google, which should point to `example.com/2013/some- article` I am redirected to `blog.example2.com2013/some-article` (one slash is missing). **Questions** :   1. How can I redirect whole traffic to old domain, including traffic to sub-directories to root domain at `blog.example2.com`   2. How can I force Google to create proper URLs so traffic can be redirected to root domain at `blog.example2.com`   3. Is there any way to make Google display root domain of new website in search results in place of every result from old website?


How to resolve "Google can't find your site's robots.txt" error?

I've recently found that **"Google can't find your site's robots.txt"** in crawl errors. When I tried _Fetching as Google_ , I got result "SUCCESS", then I tried looking at crawl errors and it still shows "Google can't find your site's robots.txt". What can I do to resolve this issue? Before this issue arose, my site was indexed within a few mintues, but now I find that it took time to be indexed in Google's search. When I access http://mydomain.com/robots.txt, it shows the data below:               User-agent:          *Disallow: /wp-admin/          Disallow: /wp-includes/      I found Blocked URLs = 0, also no any other errors. Is there any other thing I need to change? Or what could be the solution for this? Any help would be appreciated.


Filtering out the bounce rate to a specific domain?

I have a site that's spread across two domains. Let's say the two sites are `example.com` and `exampledatabase.com`. Right now, when someone leaves `example.com` to go to `exampledatabase.com`, it's counted as a bounce. Is the correct way to remedy this to create a filter and `exclude`->`traffic to hostname`->`exampledatabase.com`? I don't want this solution to cause unanticipated manipulation of the data within the view.


How many H2, h3 h4 are the maximum recommended?

I know that only one H1 is recommended, but what about the other titles? I've read that you can put "as many as required H2 elements to denote sections on the page". Is it correct?


Changing the content of a website completely, and SEO

I have a blog running since like 10 months, which have 300 organic unique visitors daily, and now I will establish an eCommerce website on that domain. That means, I will delete all the content related to the blog. And publish new pages related to eCommerce using a different script. Content of the blog and the topic of eCommerce are also quite different. How should i do this change in terms of SEO? What should I expect in terms of Search Rankings, organic hit?


How to determine size of website compared to others?

How does one determine the size of a website compared to others? So if I know the approximate number of visitors per month and per day - is there some metric that can tell me the size of a website compared to others?


Is permanent redirect of subdomain a bad idea for SEO?

I have a client that wants different subdomains as 'marketing URLs' that point (301 redirect) at directories, so:               shop.mysite.com -> mysite.com/shop     artist1.mysite.com -> mysite.com/artist1     artist2.mysite.com -> mysite.com/artist2      They feel that subdomain-type URLs are more prestigious and give an impression of a bigger organisation. I'd like some opinion on pros/cons for doing this from an SEO point of view.


Can I charge customers at random through my online credit card processor?

I'm developing a site and have never used CC processing before. On my site customers are submitting products to companies for review. I charge them different amounts depending on how many products they submit per month. Can I set it up where I charge them at the end of the month manually depending on how many products they submit? There is no way for me to know when they submit the first product how many more they will submit or how much to charge them so I need to wait until the month is over and then at that point it is impossible to get them sign off on the chage, so my question is can I do it manually and they just get a reciept? Or how would you handle this scenario? Thanks.


File upload through webform failed, server config?

I'm in the process of moving my sites from a shared hosting to a VPS (running CentOS with Plesk 10). When testing on my VPS I noticed that all of the sudden I couldn't upload files through a webform anymore. I get a php error: `Warning: move_uploaded_file(/uploads/logoklein.jpg): failed to open stream: No such file or directory in /var/www/vhosts/denkproducties.nl/httpdocs/denkproducties/upload.php on line 26 Warning: move_uploaded_file(): Unable to move '/tmp/php01nhmx' to '/uploads/logoklein.jpg' in /var/www/vhosts/denkproducties.nl/httpdocs/denkproducties/upload.php on line 26` There are tons of questions about this on SO, and they almost all involve setting the permissions right. I chmodded both the TMP and the uploads directory to 0777 (shudder), to no avail. I know 0777 isn't a smart thing to do, but I wanted to make sure it's not a permission issue for these folders. Since the only thing that has changed is the VPS, I figured the problem must be on the server. I thought maybe the web server was running as 'nobody', so it couldn't access the tmp folder. I ran:               ps aux | grpe httpd      Which shows me:               root   27371   0.0  2.3   340860   24726  ?   SNs   12:57   0:00   /usr/sbin/httpd     apache 27372   0.0  0.9   240994    9820 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27373   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27374   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27375   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27376   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27377   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     apache 27378   0.0  1.6   341671   16700 ?    SN    12:57   0:00   /usr/sbin/httpd     root   27817   0.0  0.0   103244     824 tty1 S+    13:40   0:00   grep httpd      My server is running fCGI, by the way. For completeness sake, I made a small upload script with a web form:               $allowed_filetypes = array('.jpg','.gif','.bmp','.png'); // These will be the types of file that will pass the validation.        $max_filesize = 1024000; // Maximum filesize in BYTES (currently 1MB).        $upload_path = '/uploads/'; // The place the files will be uploaded to (currently a 'uploads' directory).                  $filename = $_FILES['userfile']['name']; // Get the name of the file (including file extension).        $ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.             // Check if the filetype is allowed, if not DIE and inform the user.        if(!in_array($ext,$allowed_filetypes))           die('The file you attempted to upload is not allowed.');             // Now check the filesize, if it is too large then DIE and inform the user.        if(filesize($_FILES['userfile']['tmp_name']) > $max_filesize)           die('The file you attempted to upload is too large.');             // Check if we can upload to the specified path, if not DIE and inform the user.        //if(!is_writable($upload_path))        //   die('You cannot upload to '. $upload_path .'the specified directory, please CHMOD it to 777.');             // Upload the file to your specified path.        if(move_uploaded_file($_FILES['userfile']['tmp_name'],$upload_path . $filename)){              echo 'Your file upload was successful, view the file here'; // It worked.          } else {              echo 'There was an error during the file upload.  Please try again.'; // It failed :(.      }      What am I missing here?


What is the easiest and fastest way to get statistics of a webservice response time?

I implemented a webservice with node.js and want to test its response time. I don't just want to do the test with one connection attempt, but I want statistics about multiple attempts, telling me the average response time and maybe even things like standard deviation and min/max. What is a good tool or webservice to do this?


I want to host the same website content on different domains

I need to find out how I can host different domains which will have the same content. I want users to be able to choose their country and based on that decide which domain to load. How do I do this without having to duplicate content? thanks


Difference between robots.txt and sitemaps index file

Do I need a sitemap index file if I have multiple sitemaps? At the moment I just specify multiple sitemaps in my robots.txt, is the equal to having the index file?


Is this safe? <a href=http://javascript:...>

I wonder if `href` and `src` attributes on `<a>` and `<img>` tags are always safe w.r.t. XSS attacks, if they start with `http://` or `https://`. For example, is it possible to append `javascript: ...` to the `href` and `src` attribute in some manner, to execute code? **Disregarding** whether or not the destination page is e.g. a pishing site, or the `<img src=...>` triggers a terribly troublesome HTTP GET request. Background: I'm processing text with markdown, and then I sanitize the resulting HTML (using Google Caja's JsHtmlSanitizer). Some sample code in Google Caja assumes all `href`s and `src`s that start with `http://` or `https://` are safe -- I wonder if it's safe to use that sample code. Kind regards,   Kaj-Magnus


PrestaShop as a webshop

I have been asked by my friend who is starting a new webshop to find the best and cheapest way to get a webshop up and running. Since my skills with php, html, css, mysql etc. are limited, and since I don't really know anything about security of webpages, I started looking for complete solutions. There are a lot of companies selling webshops with domain and everything, but they are very expensive (about 40 euro a month) , and I'm sure that it can be done cheaper. I looked at PrestaShop, and it looks quite good for a free webpage. This solution would only cost about 1 euro a month, which is a lot cheaper than a complete solution. The thing is that I don't want responsibility if something goes wrong, and therefore I want to ask you Webmasters if you have any experience with PrestaShop?   * Is it secure to use for a small webshop?    * Does it need a lot maintenance?    * Compared to a ready made solution like ScanNet (Danish webshop hosting company), what are its weaknesses?   * What are your opinions and experiences?   * If I chose PrestaShop as a solution, would it work well with www.one.com (using the 5Gb webhotel)? I hope you can help me and I appreciate the time you took to read this.


Would using the same name, logo, date, and menu on each page be considered duplicate content?

Suppose there is a website for my company named "Seven Season" which manufactures T-Shirts. In the website for this company, I have the following pages:               Home     About us     Our Products     Disclaimer     Contact Us      All pages have unique content. But following content is the same in each link:   1. Logo and name of the company (i.e., "Seven Season")   2. Today's date    3. Front image slide show   4. Scrolled company slogan   5. Navigation menu having links of: Home, About us, Our Products, Disclaimer, Contact Us I want to confirm that:   1. Because of above 5 content items which are the same on each page, would I be penalized for duplicate content?   2. Are all these repeated items treated as duplicate content by search engines?   3. If these are considered to be duplicate content, then if I mention the company name as "Seven Season" in my "Home" page, then "Six Season" in my "About Us" page, and then "Five Season" in my "Product" page...is this alternative wise according to SEO?   4. To provide unique content, should I add different menu options in different pages?   5. Should I mention different dates as Today's date in each page?


Can Shopp or WP ecommerce create something as extensive as these sites? Other recommended solutions?

The project that I'm working on will require a catalog as extensive as these sites:   * http://www.ems.com   * http://www.patagonia.com/us/home but with odd size/shaped equipment such as:   * http://www.spikevolleyball.com/ So basically I need an ecommerce package to handle these number of products and variations and also odd issues such as shipping of non-standard sized equipment. Can an ecommerce package for Wordpress handle this or I need to go to a purely ecommerce package? One of the requirements for the client is to make the online store not just about the products but about the history and development of the sport. That's one of the reason why I'm still trying to find a Wordpress solution right now, because Wordpress allows other type of content besides just purely products. I've cross posted at the Wordpress stackexchange.


HTTP code 403, access denied & Options -Indexes

at "webmasters.stackexchange.com" I already found a similar topic: Stop directory listing using .htaccess and redirect to good error page               Options -Indexes     ErrorDocument 403 /path/to/403.html      However, now I want to distinguish between whether there was actaully a directory listing request issued OR if the user tried to access a protected area (through htaccess) unsuccessfully. Both fire a 403, now how do I know which was the reason (the directory listing or the htaccess AuthName... thing) ?


microsoft ftp update remote file date

Is there a way to change the file date throw ftp connection on remote server? as the file is uploaded it sets create date to the date it was uploaded, and i want the file to keep its original date time.


http keep-alive with multiple A/AAAA records

I'm trying to estimate the performance impact of publishing several IP- addresses for a given web-site hostname. Do browsers choose addresses in a random order? Do they use the same address for all connections, or do they multiplex connections between different addresses at the same time for all requests? How does this affect keep-alive and post-keep-alive requests? For example, if a user is doing a search, then I'd very much like them to use the same server from there on out, since going to page 2 of the same search query is likely to be much faster on such a hot server than on a cold one. Is there any easy way to ensure something like that, without introducing single-location-only hostnames into www use?


Google Analytics Filters not removing traffic from other domain

We have a frustrating problem where someone copied our site code including our `Google Analytics` code. So we are getting stats logged from their site which is very frustrating. I have setup 4 Filters, each trying to disallow any traffic from this other website, but still their traffic is being shown, including on the Real Time section. Do Filters even work to exclude traffic? Here is how I have it setup: ![enter image description here](http://i.stack.imgur.com/H2H6U.png) ![enter image description here](http://i.stack.imgur.com/ELBQM.png) Neither of these seem to help at all.


Why does a basic Drupal view return no results

I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and if it is of type banner. In preview and when I try to print the view I get no results. When I search through my content and filter by type banner and published, I get 3 results (in /content/node/overview). I must be doing something basic and stupid, any suggestions for how I can figure out what I have done wrong? View: http://www.randomcrapilike.com/test/view_capture.jpg Content Search: http://www.randomcrapilike.com/test/contentsearch.jpg


Common steps to promote a web-site for devices reviews?

There is a web-site, that contains reviews of computers, software etc. How to promote it ? I have several ideas:   1. Answering questions, people asking on, say, Google Answers, Yahoo Answers etc.   2. I have a bunch of video, that i've uploaded to YouTube and some other hostings. These methods requires a lot of routine work. I've thinking about link- markets, but did't tried they yet. It is a good way ? I've also have questions about search engines: Question 1: Will i penalized by search engine, when i set the same description for video on several hostings ? Or i need to rephrase every description for the same video ? Question 2: In description for video, say, in YouTube, i cannot place a link, but can write it in plain text, like www.example.com. Will it handled by SE as an actual link ? Question 3: In every description for video, i write in plain text: "go to www.example.com" for more information. Will it have some positive or negative impact on my ranking ?


What is this technique called and why it is done? I typed to search for "cheap 2b memory card" in google with quotes. I find an alibaba link matching to my title, I opened it and saw the same title on their search bar. http://www.alibaba.com/showroom/cheapest-2gb-memory-card.html


Google alerts - can't tell where my site is mentioned

I recently signed up for google alerts. I get emails whenever my site is mentioned anywhere on the web. The problem is that I can't figure out where my site is mentioned from the emails they send me. Here is how their emails look like:               Web 1 new result for comehike.com          Hiking Sticks and Poles - Come Hike     Hiking sticks and poles help you prevent injury to your joints and take the stress of the joints while hiking. They can also help you prop yourself and protect you ...     hiking.comehike.com/outdoors/hiking_sticks.php      But how do I tell who mentioned it? Thanks!


If my pages is the only one ranking for a search term, and a new site starts to optimize for it, will they outrank me?

If i wrote an article on a keyword phrase with zero global monthly search and my page is indexed by google, when I try to search by those keywords, My article is the only one displayed in google search. NOW, somehow, I start getting thousands of traffic suddenly from those keywords phrases. Some popular sites saw my keywords niche popularity and traffic, and posted some articles on the same keyword niches as mine. My question is **will my article position slide down under those popular sites, just the reason that they are popular?**


Facebook sharing won't pull through ANY images anymore,

I have created a company blog and have begun implementing various social sharing plugins, had a look at integrating with OG and now Facebook won't pull any images when the page is shared. The debugger tool says that it can find a suitable image (the featured image for each post) and when I share the same link to LinkedIn the images pull fine. I can't work out for the life of me what might be wrong, again it's not that Facebook isn't pulling the right image... it's not pulling ANY. Does anyone have experience with this/know what might be wrong? http://www.chapman-freeborn.com/en/blog


300, 302, 303 or 307 redirect for international site?

A company website offers the same products and pages (more or less) across different countries. It's a mess; they use a **mix of subdirectories, subdomains and ccTLDs** for international sites:   * `us.example.com/product.html`   * `example.com/uk-EN/product.html`   * `example.com/de-DE/product.html`   * `example.com/nl-EN/product.html`   * `example.ca/product.html` They have decided to use IP-sniffing to redirect users to the right site. Which 3XX redirect protocol is the most appropriate? >   * 300 multiple choices (e.g. offer different languages) >   * 302 found (originally temporary redirect, but now commonly used to > specify redirection for unspecified reason) >   * 303 see other (e.g. for results of cgi-scripts) >   * 307 temporary redirect > I am leaning towards 300 since it makes sense, but Googlebot is in the US, so it will be redirected away from this international content in favor of the US domain? Also, implementing `hreflang` is an obvious addition to any of this, but without it, which would be most suited?


URL for separate mobile site

_I've had a look through this site and found several similar questions but none which address my current needs._ * * * Normally I create responsive sites but on occasion I will create a 'desktop' and a 'mobile' site. These sites use the same content from the same database but this is served different in html. I use browser detection to determine which html is served. I realise that it is arguable whether these two constitute separate 'sites' but this is the term I shall be using for this question. My current preference is to keep the url exactly the same between the two sites. No prefix or suffix like `m.` or `.mobi` Apart from domain cookies / session I don't know what else could be affected by this though. Since lots of sites out there use, for example, `m.` I assume there is some benefit. Can anyone please shed some light on why this might be? If I had separate content then I would probably feel `m.` was appropriate but since it is exactly the same content and hierarchy I don't see the point. Additionally the single url allows for easy sharing cross device (mobile to desktop). **So what, if any, are the benefits of using a separate url for a mobile site where the mobile and desktop version share the same content?** To be be clear, there is a way to view the desktop site on a mobile using a link. Additionally I can make it work so that appending `/mobile/` or prepending `m.` would return the mobile version but the addition would not persist through the site. **EDIT** I should have made this clear before. I am using a CMS with a url rewriter built in (in fact it is always used, regardless of how many sites you have, to create friendly urls). Due to the nature of the sites I make, cookies are unavoidable.


Does google first search as per the user given order of keywords in search bar? For example : I typed word1 word2 word3 word4 word5 in google search bar. Now my question is does google first search titles matching the order. Two case:   1. If it DOES so and unable to search for any webpage with that keyword order, does it skip to broad search?   2. If it DOES NOT, and there is page with that same order keyword typed, would it fetch that and display first, asumming that only my webpage have the order in which the user asked for in Google. Any thoughts?


Website forwarding - actions do not seem to work

I have the following website up and running: www.posti.sh The website is actually on www.myskoob.com/postish/, but I use domain forwarding so that when the user types in www.posti.sh it stays that way and does not change to www.myskoob.com/postish/. You can try out the website. It is generally about posting something and uses jQuery ajax to let the user perform posting. Here's the problem: While visiting www.myskoob.com/postish/, that works fine - all ajax calls seem to work. However, when I go to www.posti.sh, it does not work - I cannot understand why. There are two ways of forwarding - one is frame forwarding (which then works) and the other is URL-hiding, which is a much cleaner way because that way the URL actually changes with different pages that are opened. Anybody knows a reason why URL-hiding does not work? Thank you! Dennis


Company blog, host internally or not?

If I have a website for a company selling product(s). Is there any difference in terms of rewards/penalties from having a company blog hosted interally (for example `mycompany.com/blog`) or going externally to Blogpost, WordPress, etc. (`mycompany.blogspot.com` for example).


RSS in a Wordpress

is there any way to show an image for RSS feess in my wordpress page... it os because currently defaul wordpress RSS feeds will only show a text of other feeds from other site..how can i make my site show a thumb image of rss feeds of th other sites..below are example of the rss feeds on my site. plizzz help me.i really needs a help from all of u guys.... ![alt text](http://i.stack.imgur.com/fbONi.jpg)


google page scan and backlinks

As i seen using google webmaster tools, google was cahing near about all links present on a webpage of my site. I just want to be ensure, if there is an external link present on my webpage outside the main contents (like sidebar, comments, post footer) then would it be counted as backlink to that side. For example, if i let a plugin to display "credit to" or "powered by" etc link then would it be counted as backlink?


Domain registration public information, measures domain authority in SEO?

I have seen on internet in various places talking about this and they says this information do have impact on SEO, specially in the _domain authority_ section. Is it so?   * If so, Is there any proper way to fill this up? Like, I am running a site as my blog, what should the the _organization_ field?   * If I own multiple domains, will having same contact information on all of them help gain domain authority?   * As a owner of multiple sites, should organization name be same or different? Considering I don't own a company yet?   * Any other suggestion about this?


Single page not appearing in Google Search

## Description I have a static franchise website which has various sub pages each dedicated to an individual franchisee. For each franchisee the page, the only thing slightly similar between all of them are the page titles, they follow this structure:               <title>       Welcome to THE_COMPANY - PRODUCT_DESCRIPTION Services, THE_LOCATION     </title>      **THE_COMPANY** and **PRODUCT_DESCRIPTION** are the same across all franchisees, however **THE_LOCATION** changes depeding on where they are located in the UK. Each franchisee page has the following `<meta />` tags:               <meta name="DC.creator" content="user"/>     <meta name="DC.format" content="text/html"/>     <meta name="DC.language" content="en"/>     <meta name="DC.date.modified" content="2014-01-23T11:22:31+00:00"/>     <meta name="DC.date.created" content="2014-01-23T11:22:09+00:00"/>     <meta name="DC.type" content="Page"/>     <meta name="DC.distribution" content="Global"/>     <meta name="robots" content="ALL"/>     <meta name="distribution" content="Global"/>      The main content on each franchisee page is completely different. ## The Problem There is one particular franchisee page, located in _Area A_.. Which will **not** appear in Google Search results at all. However every single other franchisee (if you Google Search for " **THE_COMPANY** , **THE_LOCATION** " is number 1). And if I do the same search on Bing, Yahoo or DuckDuckGo, the **Area A** franchisee is the first result on all of them. Has Google for some reason black listed one page on the site? ## What I Have Tried   * Ensuring the page is referenced in my **sitemap.xml** file   * 'Fetching as Google Bot' the link www.the_company.co.uk/areaa      * When that came back as **OK** I would submit to index    * Resubmitting the **sitemap.xml** file in Webmaster Tools   * Linking to the **Area A** page from another pages content      * For this I also waited about 3 weeks before checking again to give Google time to re-index    * Making a change to the page content and waiting another 2 / 3 weeks   * Removing the page completely and recreating it with an alternative URL The closest thing I have found to this issue is this StackOverflow question but this particular franchisee has existed for almost a year, it used to appear on Google searches however no longer does. I'm guessing the Panda update wasn't too happy with something on the page, but it hasn't effected anything else on the site and I am at a loss for things to try. I would greatly appreciate any information or thoughts as to what could have caused this Thanks. ## Update In line with Daniel Fukudas answer below, I have followed some of his steps but everything seems to check out alright: **HTTP Headers**               HTTP/1.1 200 OK =>     Date => Tue, 25 Feb 2014 16:31:29 GMT     Server => Zope/(2.12.16, python 2.6.6, linux2) ZServer/1.1     Content-Length => 40078     Expires => Sat, 01 Jan 2000 00:00:00 GMT     Content-Type => text/html;charset=utf-8     Content-Language => en     Vary => Accept-Encoding     Connection => close      **Robots`<meta />` tag**:               <meta name="robots" content="ALL"/>      I have updated this `<meta />` tag to read `content="INDEX"` instead now. **robots.txt** :               User-agent: *     Disallow:          User-Agent: Googlebot     Disallow: /*sendto_form$     Disallow: /*folder_factories$      **Using site:THE_COMPANY.co.uk** : Searching for 'AREA A site:THE_COMPANY.co.uk' does not return the page, but regardless of that searching just for **site:THE_COMPANY.co.uk** will not necessarily return every indexed page, or so I understand... ## Update It appears Google likes to drop pages every now and then from the index, despite my steps above, I left the site alone and the page appeared back in the SERPs by itself.


phpBB SEO memberlist pagination error caused by Ultimate SEO URL plugin

I have recently installed following mods on my PhpBB board (version 3.0.12):   * Zero Dupe   * Ultimate SEO URL   * Related Links   * Gym Sitemap The problem is that the pagination for `memberlist.php` is broken now. Instead of giving me a link that looks like `forumRoot/memberlist.php?start=25` for page 2; I get `forumRoot/?start=25`. I have tried looking on an official forum but it did not help me at all since even mods of the plugin sometimes unsure how to deal with it.


Why is my Google Analytics data removed?

I'm sure I had several visitors from Germany but now I don't see any visits from Germany in my analytics report. What could be the reason? I'm looking at Audience -> Overview section. Does it reset every month? My other site does not get reset. I'm sure I have not messed with anything other than just looking at the data.


Show Facebook likes on the website

I have just added the Facebook likes indicator in a website: `www.canalonesbastimar.com`. Since I have created a profile with that URL in Facebook, and I have 13 likes, I expected it would be shown those 13 in the website also, but no. Any idea?


How would a search engine see url encoded characters?

I've got my URL however some of the strings would contain &. Obviously I can't use them as best practice so I've replaced them with +. However if I encoded my & instead it would become %26. How would a search engine see that? Would it see %26 as a & so still bring back the URL or would it just see it as a %26? ie. Would www.example.com/sweet?m&m show as that, or would they see it as www.example.com/sweet?m%26m


How to block FeedReader from fetching my content to their site?

As you all can see from the picture below, my site's content is duplicated by FeedReader and indexed at Google. When I clicked at the FeedReader link, it uses some sort of iFrame to draw content from my site live. This forms some sort of content duplication to me, and I believe it does harm to my site. ![enter image description here](http://i.stack.imgur.com/q5o7B.png) ![enter image description here](http://i.stack.imgur.com/xeNs1.png) (Stackoverflow doesn't allow me to post image due to new account, pls click at the link above to see the picture, million thanks to you.) What can I do to prevent Feedreader to fetch my content to their site? I know robots.txt can perform such function, but I don't know how to do it. Any help would be much appreciated. I have also highlighted this issue to FeedReader 2 days ago, but yet to get any reply from them.


Google Webmaster tools and geotargeting at TLD and Folder levels

Hoping you can help us with this question: We are one Canada’s leading websites with a PR8. For privacy's sake, let's call our main URL www.OurMainWebsite.com As we are expanding globally, we are planning to build a web site to service the US market but want to keep the domain above as is from branding perspective. Questions:   * Can we keep: www.OurMainWebsite.com as the main Canada site and create a www.OurMainWebsite.com/US as the US site?   * Can those 2 URL's be geotargetted as per above, and wouldn't the fact that US is a subfolder of the main TLD through things off? can I target a TLD to one country and a subfolder under the TLD to abother? Thanks in advance for your help.


Cannot edit .htaccess

So I had some issues regarding my website security and my host provider added this to my _.htaccess_ until I solve the issues:               deny from all      allow from 10x.xxx.xxx.xxx      Now, I solved my issues, but cannot edit the file to remove those lines. I tried everything, even to delete the file, but no, operation forbidden. `public_html` has 777 _.htaccess_ has 644 The issue is that allow from `10x.xxx.xxx.xxx` has my home IP and now I am at work, so a different IP. Is there any way to remove those lines from a different IP or do I have to wait until I get back home?


Is site directory with "dofollow" links still effective?

I am planning to create site directory, but I learned that Google consider site directories as low quality. They emphasized that without any editorial effort to maintain a web directory and without continues effort to update them will bound to fail. I clearly understand the Google algo updates. I need your analysis if creating a more modern way for site directory can still be possible now today. What I'm planning to do:   * Review sites that are not spammy before adding to directory   * Put a "dofollow" link without anchor text   * Make sure that all contents are unique and meaningful to visitors   * No keyword stuffing    * No misleading content If I do these does Google consider my site as a high quality one even though I pass PageRank? I am planning to place it in the subdomain, does it affect the rank on my main domain or just on the subdomain itself?


Is there a way to download the Google index for my website?

I have a client that's launching a new website on their current domain. I don't want to lose their SEO rankings, so I need to ensure that all the old, indexed content gets properly redirected to the new site when it launches. Is there a way to get the search index from Google so that no links are missed in the relaunch? There is no sitemap, but I do have a Google Analytics account.


Is it acceptable to repeat the same h1 tag for desktop and mobile browsers in a responsive site?

I have a website with a page that has a video as the main content. It uses a responsive design layout that requires the `<h1>` tag (with the same text) to be used in two different places: one for desktop browsers and one for mobile browsers. I will have to hide the mobile version of the `<h1>` tag for desktop browsers, and hide the desktop `<h1>` tag for mobile versions. Will this present any problems with respect to SEO or otherwise? Or what if I make the second header a simple `<div>` or `<p>` tag instead of an `<h1>` tag, and apply CSS accordingly - would that be acceptable then?


Is there any badges like envato badges available readymade? Free or commercial?

I really like envato's badges. I would like to implement such badge system in my website. ![enter image description here](http://i.stack.imgur.com/ntAfs.png) Is there any readymade free or commercial badge pack available? Thanks


All Wordpress PHP Mail stuff being sent to spam

Every mail sent with the PHP Mail() is getting sent straight to spam (all providers e.g. gmail, yahoo, hotmail) My IP is not blacklisted. Here is an example of an email header that got sent to spam:               Delivered-To: jordashtalon@gmail.com     Received: by 10.229.91.149 with SMTP id n21cs189229qcm;             Mon, 26 Dec 2011 17:43:12 -0800 (PST)     Received: by 10.43.117.194 with SMTP id fn2mr27050431icc.53.1324950190711;         Mon, 26 Dec 2011 17:43:10 -0800 (PST)     Return-Path: <noreply@avatarthelastairbenderonline.com>     Received: from host.avatarthelastairbenderonline.com           (host.avatarthelastairbenderonline.com. [173.199.171.80])             by mx.google.com with ESMTPS id ut2si17526443igc.26.2011.12.26.17.43.10             (version=TLSv1/SSLv3 cipher=OTHER);             Mon, 26 Dec 2011 17:43:10 -0800 (PST)     Received-SPF: pass (google.com: best guess record for domain of noreply@avatarthelastairbenderonline.com designates 173.199.171.80 as permitted sender) client-ip=173.199.171.80;     DomainKey-Status: bad format     Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of noreply@avatarthelastairbenderonline.com designates 173.199.171.80 as permitted sender) smtp.mail=noreply@avatarthelastairbenderonline.com; domainkeys=neutral (bad format) header.From=noreply@avatarthelastairbenderonline.com     DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=avatarthelastairbenderonline.com;         h=Received:Date:To:From:Subject:Message-ID:X-Priority:X-Mailer:MIME-Version:Content-Transfer-Encoding:Content-Type:X-Source:X-Source-Args:X-Source-Dir;         b=p8We0ql3qPoF6Jk79NICVgnMedJR6xGsnBQPp0q/0h+NCY2YdtUh7ouRKNEcpAhXNr+OKzs2XWd37fn86sLcrC0tWUGXU0JUeyktyGYpNOoTeI9ImFlrD3Vt1VDQ+JXr;     Received: from host.avatarthelastairbenderonline.com ([173.199.171.80] helo=avatarthelastairbenderonline.com)         by host.avatarthelastairbenderonline.com with esmtpsa (TLSv1:AES256-SHA:256)         (Exim 4.69)         (envelope-from <noreply@avatarthelastairbenderonline.com>)         id 1RfM4K-0001Yg-Bz         for jordashtalon@gmail.com; Mon, 26 Dec 2011 19:43:08 -0600     Date: Tue, 27 Dec 2011 01:43:08 +0000     To: jordashtalon@gmail.com     From: Avatar The Last Airbender <noreply@avatarthelastairbenderonline.com>     Subject: Test message from your WordPress blog     Message-ID: <3bfb7466ba93540ac86be00e3792e30b@avatarthelastairbenderonline.com>     X-Priority: 3     X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)     MIME-Version: 1.0     Content-Transfer-Encoding: 8bit     Content-Type: text/plain; charset="UTF-8"     X-AntiAbuse: This header was added to track abuse, please include it with any abuse report     X-AntiAbuse: Primary Hostname - host.avatarthelastairbenderonline.com     X-AntiAbuse: Original Domain - gmail.com     X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]     X-AntiAbuse: Sender Address Domain - avatarthelastairbenderonline.com     X-Source:      X-Source-Args:      X-Source-Dir:           Hi, this is the Configure SMTP plugin e-mailing you a test message from your WordPress blog.          This message was sent with this time-stamp: 2011-12-26 19:43:08      Only think I can see is it says that the DomainKey-status says bad format. What is the domain key? and would it send emails to spam? Can anyone tell why these emails are being sent to spam? Even the basic Contact Form 7 Wordpress plugin is sending emails straight to spam.


Are there any length limitations for image alt or title property?

I'd like to insert an image on a webpage with an `alt` property. But the text length I'd like to use for this `alt` property is pretty long: about 200 words (slightly less than 1000 characters). Moreover this text has some line breaks. I have some doubts that such a long `alt` property won't be appreciated by search engines. So do I need to follow some guidelines regarding the length of an `alt` property? I have the same question regarding the `title` property.


Preserve Facebook comments when the site changes domain name

I'm going to be changing the domain name of one of my sites. I'll use 301 redirects. One thing that I can't figure out is how to preserve all the comments that users have made on the page through Facebook. We use the Facebook developer comment API to allow comments on our pages. It appears that when I change the URL of my page, the comments on the page disappear. Is there any way to let facebook know that this URL is changing and that comments should be moved over?


Is it a good practice to use Gmail, Yahoo Mail & Hotmail addresses for registration?

I am designing a website in which clients should register to use some specific services, and I am trying to prevent temp mails, or mails from personal domain. The question is that is this a good practice to use Gmail, Yahoo mail, Hotmail and some other well-known mail services? Do you have a domain in which you implemented registration system? If the answer is positive, do we have people from other mail services? (how many?)


Not able to track traffic on subdomain using Google Analytics

I'm trying to track traffic for my sub-domain, but it's not happening.   This is how it's set up. My partner has a domain called sub1.partner.com. This domain points to partner1.mydomain.com. The idea is that users think they are browsing my partners website, when they are in fact browsing pages on my server. My tracking code looks like this:               var _gaq = _gaq || [];     _gaq.push(['_setAccount', 'UA-xxxxxxxx-x']);     _gaq.push(['_setDomainName', '.mysite.com']);     _gaq.push(['_trackPageview']);          (function() {       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);     })();      In Google analytics I've created a new account under my main account and called in partner1.mysite.com. On this account I have created a filter: Filter type: include   Filter field: Host name   Filter pattern: partner1.mysite.no   Case sensetive: No What more can I try to track traffic on my subdomain? **UPDATE** **Question 1**   Is this line correct?               _gaq.push(['_setDomainName', '.mysite.com']);      **Question 2**   Is it correct that I have to add `\` before any punctuations like so `\\.` in filters?


Google position changing on different computers

Just put my new site live last Saturday and I have found it has completely different search rankings when I’m in two different locations (very similar distance apart). I get position 3 for ‘Sound Plaza’ for google.co.uk at home and nonexistent search result on google.co.uk at work. The domain for the site is www.soundplaza.co.uk From reading this old post it seems that Google uses your Google log in information, but also uses your browser history, cookies and cache to create the right search results. - http://www.warriorforum.com/main-internet- marketing-discussion-forum/147383-google-rank-two-different-computers.html They recommend CCleaner to get 'neutral' search results however I would prefer to have my internet history, cookies etc. Also it would be a pain to consistently do this. Does anyone know if there is a way of browsing the internet with completely neutral search results? If not, does anyone know any reliable free software which can check your search engine ranking? So far I have tried the following quite helpful. http://www.seocentro.com/tools/search-engines/keyword-position.html http://www.searchenginegenie.com/google-rank-checker.html


Developing a new site over an existing site. How do I do this with WordPress?

Let's say I have an ecommerce site that is already up and functioning, www.widgets.com but I don't like the shopping cart that I got with the host and instead want to use Wordpress and a Wordpress shopping cart plugin. I don't want the site that is up to come down but I would like to develop the Wordpress site on the same host account and same domain. Is that possible? Once the Wordpress site is all developed, how do I make it the root site?


Google analytics event tracking doesn't show the related revenue

We're tracking clicks on certain banners on a site using synchroneous tracking:               var pageTracker = _gat._getTracker(\''+ ga_acc_code +'\');     pageTracker._trackEvent(\'click_1\', \'Home\', \'%title%\');      The site uses asynchroneous tracking and this is synchroneous tracking. But it works and the events _are_ being registered. The site analytics is in "ecommerce mode". On the Top Events report we don't see revenues for these segments (see image below). What is wrong? Could it be related to the fact we are using synchronous while the analytics script is set for async tracking? For other events which are tracked asynchronously we do see related revenues. ![enter image description here](http://i.stack.imgur.com/nOk1G.png)