First time here? Check out the FAQ!

Revision history  [back]

Problem accessing /admin - redirects to old domain

We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.

Now the site is in production and I have changed settings.py:

DOMAIN_NAME = 'draw3cards.com'

CSRF_COOKIE_NAME = 'draw3cards.com_csrf'

The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work.

UPDATE:

I've searched both in the code and the database the string beta.draw3cards.com and it doesn't appear in either one.

However, looking in error_log I found this:

[Wed Jan 16 17:54:23 2013] [debug] mod_deflate.c(615): [client xx.xx.xx.xx] Zlib: Compressed 337 to 234 : URL /draw3cards/admin/

Problem accessing /admin - redirects to old domain

We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.

Now the site is in production and I have changed settings.py:

DOMAIN_NAME = 'draw3cards.com'

CSRF_COOKIE_NAME = 'draw3cards.com_csrf'

The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work.

UPDATE:

I've searched both in the code and the database the string beta.draw3cards.com and it doesn't appear in either one.

However, looking in error_log I found this:

[Wed Jan 16 17:54:23 2013] [debug] mod_deflate.c(615): [client xx.xx.xx.xx] 95.21.140.153] Zlib: Compressed 337 to 234 : URL /draw3cards/admin/

Problem accessing /admin - redirects to old domain

We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.

Now the site is in production and I have changed settings.py:

DOMAIN_NAME = 'draw3cards.com'

CSRF_COOKIE_NAME = 'draw3cards.com_csrf'

The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work.

UPDATE:

I've searched both in the code and the database the string beta.draw3cards.com and it doesn't appear in either one.one

However, looking in error_log I found this:

[Wed Jan 16 17:54:23 2013] [debug] mod_deflate.c(615): [client 95.21.140.153] Zlib: Compressed 337 to 234 : URL /draw3cards/admin/

Problem accessing /admin - redirects to old domain

We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.

Now the site is in production and I have changed settings.py:

DOMAIN_NAME = 'draw3cards.com'

CSRF_COOKIE_NAME = 'draw3cards.com_csrf'

The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work.

UPDATE:

I've searched both in the code and the database the string beta.draw3cards.com and it doesn't appear in either one

Problem accessing /admin - redirects to old with site domain

We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.

Now the site is in production and I have changed settings.py:

DOMAIN_NAME = 'draw3cards.com'

CSRF_COOKIE_NAME = 'draw3cards.com_csrf'

The site works well, but when I try to access draw3cards.com/admin the site redirects me to beta.draw3cards.com/draw3cards/admin and, obviously, doesn't work.