We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

6

I disagree with the notion that most sites don't use a CMS, particulary given the global reach of Wordpress, and the selection of Open/Closed Source CMS available, and the obviously successful business models. If you're serious about running and managing a website then a CMS is essential IMHO. If you don't want to use one the simplist way to approach the ...


5

I'll give my thoughts on VPS, as I have no experience in cloud. I was in the same boat as you in terms of having my shared hosting no longer being reliable in terms of performance. I had roughly 20 websites on the same account, but only a handful of ones that were more than basic html/css/javascript. I chose to get a cheap VPS(I pay $40/mo) and moved ...


4

I believe the problem might be due to auto redirecting the root url ('/') or automatically setting the language, should I exclude robots somehow? Correct. Googlebot et al don't send an Accept-Language header, or accept cookies, so it'll see whatever the site defaults to without it, which would appear to be English in this case. You can verify this using ...


3

location blocks are not additive. nginx selects a location block to process a request. By adding a new location block, you prevent your existing location blocks from processing the request. See this document for details. As you have multiple location blocks with multiple alias directives, it may be simpler to use a global expires directive to be inherited ...


3

See How to force files to open in browser instead of download (pdf)? which has an answer from ColinM that tells you exactly what the headers should be: To indicate to the browser that the file should be viewed in the browser: Content-Type: application/pdf Content-Disposition: inline; filename="filename.pdf" To have the file downloaded rather than ...


3

Use Ctrl+click to deselect the last item. BTW, that's the same key combo used to select multiple items in a <select> box with multiple selection enabled.


2

Depending on Hostgator you may be able to use virtual-python.py to create a local copy of python in your home directory and install packages within that copy.


2

Shared hosting accounts rarely, if ever, allow packages to be installed on their server as it will affect all sites on the server and they can't allow that. Plus for the price you're paying they wouldn't want you to. This usually requires a VPS or dedicated server.


2

I used alwaysdata to upload my site, its very easy to use, Host modern languages Simple & intuitive administration panel Responsive and high-tech support Rich in features try this one!


2

How many is a bunch of sites and how have you set up daemon mode? Initial impression would be that if hosting multiple sites that you would be worse off using embedded mode because you can't individually control number of processes for each. Thus if a site only really needed a single mutithread processes, you balloon out memory usage by number of child ...


2

It depends. If your site has very few visitors, then there may be no negative effect on SEO. If however your site is the like one of the most popular sites in the world with hundreds of visitors a minute accessing the site via the root domain (for example, by typing it in), then it may affect SEO because all accesses to the root still produce a page to the ...


2

Support for Python 2.5 has been deprecated and you should move only install version 2.7 upwards on Google Engine. These are both documented excellently at Developers Google: Install Python 2.7 on Google App Engine Django on Google App Engine


2

It is possoble using FastCGI and flup. You need to install django locally python setup.py install --user install flup unzip flup*.egg mv flup ~/.local/lib/python*/site-packages/ mv EGG-INFO ~/.local/lib/python*/site-packages/ create fcgi script #!/usr/bin/python import sys, os basepath = '/full/home/path' sys.path.insert(0, basepath + '/.local/lib') ...


1

There is nothing stopping you from building the entire site in AngularJS. For tthe last few years Google has been able to analyse the javascript and CSS on a site to identify the more interactive elements and javascript generated content for crawling purposes. A number of sites these days are built entirely on top of AngularJS without the need to have ...


1

Mostly it won't be possible unless you contact the support and ask if they can help it out. You have ssh acces. But you don't have the privileges to do most of the tasks. Eg, install a special package or software. What to do : You will have to check if there are sufficient permissions. They are making money out of it. Just like hostgator who doesn't ...


1

Redirecting from the root URL to have a different URL for the homepage is fairly common practice. Twenty years ago it was considered bad practice because browsers put redirecting URLs into the browser history. (Netscape 4, I think, was the last browser to do this.) Using redirects would "break" the back button. Users would hit "back" and get the ...


1

There is probably an easier way. You can do a lot of this with Bash. Here is what your shell script might look like. Install Script: Is git installed? Yes / No Install git Download latest git repository (you can host your scripts on GitHub or BitBucket or privately) If you don't want to use git, just have the shell script wget download your zip file from ...


1

The only way I the server change affects adsense is speed. If you switched to a server that performs slower than the last one, then you'll likely earn less or see irrelevant ads at best. I couldn't use many of the various testing tools on your site because your URL is an IP address. Your first step is to change that IP address to an actual domain name so ...


1

In this case, for install Mezzanine you have to: Login using SSH into your PaaS instance. Run the bash commands listed here in Mezzanine install guide pip install mezzanine In general, if you have to put files on your provider you can use FTP or SSH over FTP (SFTP) and after that login using SSH to operate like if you're on that machine.


1

Your token idea would work. You could change it periodically to make it harder. You could also change the parameters on your search form. Start using s= instead of q= for the search term. That would force this developer to keep up with those changes. You could also implement Captcha and not show search results unless the user proves they are a human. ...


1

If you were to use a redirect, Googlebot may not be happy. As is described here, Google is not fond of web servers displaying different content to users and crawlers. It refers to these practices as "Cloaking" and "Sneaky redirects". Although your intentions are good in this situation, you may be penalised for redirecting Googlebot to a different page than ...


1

Most likely, this is a posix-permissions-issue or an selinux-context-issue. I would check to see that the png files in question are readable to your web-server user/group and are permissions 755. To check selinux contexts, try an "ls -RZl /var/djangoblog" and see that the contexts listed are the same for files that are served and files that are not. After ...


1

Python packages are no more than just directories and files. You should upload them and then point to them using your Python code. Check whether or not your web host supports virtual environments.


1

check out http://freedjangohosting.com there is updated list in this site shows all fre django web hosts available out there


1

instagr.am & pinterest are fairly large... apparently they use Django.


1

if you are looking for a system that integrates document management, knowledge building and sharing together with a video-community platform, you may consider trying Plumi that's built on top of Plone.


1

You're not providing much in the way of requirements, but have you taken a look at MediaCore? It's essentially a (Python-based) video-focused CMS with everything already in place to set up a community site. There's also a hosted version with free trial if you want to check it out first.


1

Zend Framework has a lot of built in functions and probably the most popular


1

Maybe with Symfony (1.4 or 2.0). A lot of plugins (called bundles on Symfony 2) has been created. Symfony 2.0: symfony.com (bundles) Symfony 1.4: symfony-project.org (plugins) No experience with symfony payment bundles, sorry, but good for work.


1

I found this tutorial - http://joemaller.com/1467/django-via-cgi-on-shared-hosting/ Running Django under CGI is not impossible. It just kind of really sucks. Someone else tried it on the same host and hit a problem, but got a solution - https://stackoverflow.com/questions/3340996/hosting-django-on-a-shared-fastcgi-host Other tutorials are available ...


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