Hot answers tagged

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 ...


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

Not a Django user but I guess you will have to install a different WYSIWYG Editor from the Package list https://djangopackages.org/grids/g/wysiwyg/ Some of them have the HTML content editable feature you are looking for.


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

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

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 ...


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