Questions tagged [sites]
121 questions
1
vote
1 answer
Publishing multiple sites on a single instance of umbraco
I am looking to setup a parallel site to one already that already uses umbraco for its content management system. The new site would share admins, templates, macros, and media resources, but not any content. If I setup multiple host headers…

Soldarnal
- 7,558
- 9
- 47
- 65
1
vote
0 answers
How to prevent dropdown list from opening links in iframe?
I have a dropdown list which I created on Google Sites (I'm too poor for better hosting) and I have a little problem. Clicked option opens in iframe instead in current tab. I'm using this code:
1
vote
0 answers
When I change the HTML website to Django redirects app, I how do I do a 301 redirection automatically for diverting traffic from an old to a new link?
Django redirects app
I added this , in my installed app section in settings.py
'django.contrib.redirects',
MIDDLEWARE = [
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
]
I added the sites in the admin panel
domain name :…

Divya V
- 11
- 3
1
vote
0 answers
Reorder django core functionality
I faced the problem of the Django multi-site project. Each site can handle multiple languages. Project handle languages by URL and we don’t use default language prefix. For example
Site one: root / specify Russian language and /en specify English…

Veniamin
- 41
- 1
- 3
1
vote
1 answer
Nginx location - sites configuration not working
i have an nginx running with a location :
location / {
proxy_pass http://10.22.1.27:3000;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
as a result my application comes up
when I change the location…

Michael Reh
- 183
- 1
- 1
- 7
1
vote
0 answers
Trailing Slash on URLs rather than file name
I am trying to make a site, such as example.com/about , where the page is after the slash without the .php or .html, like example.com/about.php
I have looked online for what this is called but I couldn't find any information as I am not entirely…
1
vote
1 answer
Alfresco management Site
Use Alfresco 5.2.0
I have some problems managing my sites.
When I try to create a new site I get the message:
Failed to execute script 'classpath *: alfresco / templates / webscripts / org / alfresco / slingshot / sites /…

aivdev
- 59
- 7
1
vote
0 answers
Using Data Validation in an Embedded Google Sheet in Google Sites
For a while I have been looking for a way of using Data Validation drop downs in an embedded Google Sheet in Google Sites . Apparently in Classic sites you could configure the embedded site as a list ( although this didn't work for me at the time )…

George J
- 51
- 1
- 7
1
vote
1 answer
Django Sites Framework on Localhost Based on Port (8001, 8002, 8003)
I'm developing on localhost, assigning each port (8001, 8002, 8003) to correspond to each site (site1.com, site2.com, site3.com).
How do I get the Django sites framework to recognize these ports as sites, or cause them to correspond?

Leo Blanchette
- 43
- 3
1
vote
0 answers
Can/Should I make my web app partially static and serve it from a CDN?
I have developed an event web app with three parts: a CMS, an API and a user search/view section. All written in Flask using Postgres.
The CMS and API definitely need to be dynamic, but the user-facing section is basically 95% static and seems like…

William Kelley
- 137
- 1
- 2
1
vote
1 answer
Why do eclipse update software sites keep coming back?
I recently updated eclipse to the latest Oxygen version.
I don't really mind much if I am not using the latest version of each software, but whenever eclipse prompts me to update something, I go ahead and accept it as I trust it knows what it's…

gaudi_br
- 183
- 2
- 12
1
vote
1 answer
Loading Django sites (contrib.sites) in initial_data
Is there a way to load some initial sites (from the sites framework) thorough initial_data fixtures, so that I can avoid setting them up in each of my tests?
I'm having this error trying to put it there:
DeserializationError: Invalid model…

diogobaeder
- 461
- 5
- 16
1
vote
1 answer
Migration file don't change Site name and domain
I have this migration file:
from django.db import migrations
from django.contrib.sites.models import Site as DjangoSite
def change_django_site(apps, schema_editor):
site = DjangoSite.objects.get(id=1)
site.delete()
…

SalahAdDin
- 2,023
- 25
- 51
1
vote
1 answer
Nginx ERR_CONNECTION_RESET only one domain name
Problem
Other sites work with exactly the same configuration, but one site is different and does not work. Browser outputs ERR_CONNECTION_RESET. Nginx logs 6819 # 0: signal process started.
If you change server _name to another domain then…

Daniil Demchenko
- 68
- 1
- 8
1
vote
2 answers
pagination wrong progress of numbers
This is my Code:
var pages = Math.ceil(allItems / itemsPerPage);
var pagesArray = [];
for(var i = 0; i < pages; i++){
pagesArray.push(i);
}
var show = 3;
var offset = pageCounter + show;
var showPages = pagesArray.slice(pageCounter,…

F. Dengler
- 63
- 5