Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect en.domain.com not working #314

Open
sscorpdev opened this issue Dec 9, 2021 · 2 comments
Open

Redirect en.domain.com not working #314

sscorpdev opened this issue Dec 9, 2021 · 2 comments

Comments

@sscorpdev
Copy link

Dear Goteo Team for your amazing project, I am a junior developer. After installation in my main domain (domain.com) every site loading it is automatically redirect to (en.domain.com) and it is not working. Can you guide me with this misconfiguration? Thank in advance.

@davidbeig
Copy link
Member

Hi @sscorpdev, can you tell us what do you have inside the settings.yml? The redirection might be because of how you defined the url.main property.

@sscorpdev
Copy link
Author

sscorpdev commented Dec 15, 2021

Here is my main configured inside "settings.yml"

Internal secret for hashes

secret: --a-very-secret-string---

local enviroment: local, beta, real

env: local
debug: true # whether to show trace for errors or not

Default system language

lang: es

Default timezone

timezone: Europe/Madrid

url

url:
main: //angelist.org
# static resources url if you use a different assets server
assets: //angelist.org
#optional, configure this as hostname only (ex: example.com) if you want languages to be selected as subdomains (es.example.com, en.example.com)
url_lang: angelist.org

# If you want to use a CDN or another web server to serve the cached images
# You can define this constants. All cached images links will point to this
# Url, event if do not exists yet.
# Example:
# Point a data.example.com to var/cache/images
# the place a .htaccess in var/cache/images/.htaccess with this content
# <ifmodule mod_rewrite.c>
# RewriteEngine on
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*) http://example.com/img/$1 [R=302,L]
# </ifmodule>
#
data:

plugins:
goteo-dev:
active: true # plugin should be active=true to be loaded


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants