Hot answers tagged

8

Although Rails hosting will probably never be as inexpensive as PHP, since the infrastructure requirements are always higher, it is not expensive to host a Rails site. It does take a certain amount of technical skill to properly deploy a Linux-based server and load on Rails and all the associated database back-end stuff, but this is not an insurmountable ...


6

This is a bad idea. This practice, of showing one thing to search engines and another to users, is called cloaking: http://www.google.com/support/webmasters/bin/answer.py?answer=66355 It will cause your site more harm than good, with respect to search engine results; it "may cause your site to be perceived as deceptive and removed from the Google index", ...


5

Not an answer to your question, but to be very honest, my initial impulse when I read about your business setup was: "Why is he not just sticking with PHP?" Don't get me wrong: I'm sure Ruby is a beautiful language, and Rails a great framework and much of it is in many ways superior to PHP. It's also great for a developer to explore new fields etc. etc. ...


5

Two options are "Question2Answer" (open) and Google Moderator (hosted but free) http://question2answer.org/ http://www.google.com/moderator/ If it's open source and you want to host it in Launchpad, you can also use their Blueprints feature: https://blueprints.launchpad.net/ But I think you don't vote on this last one, and it may be too ...


3

You should start with html 4.01. Don't discard it because it's old, Is is the core language for all the websites in the world. But of course, the specs by itself could be hard to understand, so you need sites like html dog or w3 schools, or any other site with HTML tutorials. Once you are familiar with it, you should practice with CSS, again don't discar ...


3

Functionality Testing Many automated browsers such as SeleniumHQ can perform the tests. If you feel it is too complicated you can write your own script with greasemonkey / tempermonkey since you have knowledge in js and jQuery. Performance and stability testing If you expect the number of user is large, it is worth to do stress test with JMeter although ...


3

Use www as the default one and force redirect to www with this htaccess script: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.WEBSITE.com$ RewriteRule ^(.*)$ http://www.WEBSITE.com/$1 [R=301] This way you avoid duplicate content on Google.


3

You can do what sites like experts-exchange.com does and use a feature called "first page free". Google will index content that is normally blocked by a pay wall in exchange the publication is required to show the full content of that page to any visitor from Google. Obviously this means savy users can find your content for free if they keep using Google ...


2

I was getting same error then I saw that the extension of google verification file was wrong.So check for the extension of your verification file in your ftp folder.


2

Verify that the file name is right. In particular verify that your host isn't converting it to htm instead of html. Try to load the file yourself to ensure that there is not a redirect. Google doesn't follow redirects when verifying for obvious reasons. Next, check the permissions on the file. Files uploaded at the site root like Google requires are ...


2

I've played with Magento, which is one of the more popular open-source solutions out there. I wasn't too keen on the structure of the file system, for me it wasn't very intuitive to dive in and figure out how to customize templates. I personally had a better experience building an eCommerce site using OpenCart. It has an active user forum for getting ...


2

without knowing anything more about your site, I would say, you have a similar problem as described here. The main idea behind this bug is, if you modify some DIV or other kind of HTML-tags with JavaScript, before they are closed, IE says 'Operation cancelled...' and will not load the page. I would suggest that you disable JavaScript for testing. If IE ...


2

CakePHP is similar to RoR, but the bake utility is a console app. You could bake your code locally and upload it to your GoDaddy account though. However, you'll have to do all of your unit testing via the browser or do it locally if you want to test via the CLI. It's a bit less convenient, but that's the cost of choosing an economy hosting package.


2

Overview Heroku is a cloud-based hosting solution targeted specifically at Ruby applications. They provide a complete hardware solution. Features Dynamic Performance Adjustment - Rails applications can have additional resources allocated to them almost immediately in the form of dynos and workers. No server maintenance is required or performed for this ...


2

How your server will be set up depends a lot on what language your using. You should decide between PHP and Ruby then ask about a good setup for whichever you choose. Whichever one you choose, make sure you use good coding techniques. Having sloppy code can cause more issues than just performance. If you use PHP (which i would recommend), read up on OOP in ...


2

Website development and Website hosting are two very different beasts. If your primary goal is to learn how to develop I would recommend using a local desktop. You can install whatever you want (apache for webserver, development environments, libraries, etc) and play and learn as much as you want for no cost. Once you have a sense of what it is you want ...


2

I'm not sure if such 'shared hosting' accounts is the best way to approach this. Instead I would suggest a vps account into which you can SSH in directly and setup a Linux distro of your choice - the most hassle free solution would be Ubuntu 10.04 LTS (or the newer 10.10). Look at setting up Passenger + Apache. Getting Capistrano to work after that is ...


2

If you use reCAPTCHA, you can use their API to log the number of failed attempts (code shown uses the reCAPTCHA Ruby gem): if validate_recap(params) #user validated the captcha, create an account else #user failed to validate, log the attempt and show a new captcha end Using the reCAPTCHA library helps digitise books while reducing scripted ...


2

Joomla 'works like that' because your web hosting comes pre-setup with a server configured to serve PHP scripts. Some webhosts will also allow you to serve Rails apps this way - this is very uncommon. Working with Rails involves working with the command line, to set up your app, run tests, use the rails console, etc. so command-line access to your ...


2

As far as I know, there is no way to have your HTML frame site get indexed the way you want. Google always indexes content at the URL of the child frame, not at the URL of the parent frame. Lack of search engine support is one of the reasons that frames are so rarely used on the web. It is far more common to rely on server side technology to build a ...


2

You can do either -- leave English without a language code, or redirect the English pages to be under /en/. Language is handled on a per-URL basis, you can set it up however you want, it can even be via querystring parameter.


2

Go to your Google analytics Admin page and check if your VIEW(s) has ecommerce enabled (Set to ON). Also make sure you have created a Goal to track conversion to that "thank you" Page. If you use a destination goal to the "thank you" page remember to leave the goal Value field blank.


2

It doesn't seem like this would be a problem as I don't see this form containing any kind of content that might be possibly used to benefit your rankings. But if you're using JavaScript to populate and submit the form why not go all the way and use JavaScript to capture the data and submit it via Ajax so there is no hidden form necessary?


1

Installing Ruby on your own machine If you'd just like to experiment and learn more about Ruby, the easiest way to do that would be to install Ruby locally on your own computer and play with it there. You can install both Ruby and Rails on your Mac or PC using the Rails Installer. If you want to install Ruby without Rails, you can use the Windows ...


1

You could use FaultPress from WooThemes, and install any number of Voting plugins into WordPress so people could post feature requests and vote on them. Each feature could be associated with a Milestone that your developers could keep track of. http://demo.woothemes.com/faultpress/


1

If the jquery / custom js is implemented within a component that is shared by both the editing and view modal states then yes, it could potentially interfere with other components. It would be best to isolate function to form - insofar as to streamline components only necessary for "published" display vs "edit mode" Without knowing more specifics and an ...


1

If you server is running Nginx+Passeneger , you can start your Ruby application in the following way: cd /home/user/rails_apps/user; sudo -u user /usr/local/bin/ruby /usr/local/bin/passenger start -p 12045 -e production & sudo -u user /usr/local/bin/ruby /usr/local/bin/passenger start -p 12421 -e production & - the command for running is screen ...


1

Check the permissions for /home/username/rails-live/rails-app/public. Make sure the user running Nginx has read and execute permissions.


1

You never asked a question, but looking at your data I will try to fix your potential problems, so please update the question with a real question so it better serves anyone else who may have similar issues in the future and stumbles across this question. Try putting a space in here: Listen80 like Listen 80. Then try putting this: <VirtualHost *:80> ...



Only top voted, non community-wiki answers of a minimum length are eligible