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

Improper construction of urls for entries #35

Closed
Nekmo opened this issue Mar 14, 2016 · 6 comments
Closed

Improper construction of urls for entries #35

Nekmo opened this issue Mar 14, 2016 · 6 comments

Comments

@Nekmo
Copy link

Nekmo commented Mar 14, 2016

When I use the "LIVE" button from the administration Puput, opens the correct url:
http://my.dev:8001/en/esto-es-una-prueba-de-blog/una-pagina-del-blog/

But if I'm looking at the index of the blog, the url is incorrect and returns a 404 error:
http://my.dev:8001/en/esto-es-una-prueba-de-blog/2016/03/14/una-pagina-del-blog/

instantanea7

instantanea7

@marctc
Copy link
Collaborator

marctc commented Mar 16, 2016

Hi,
Try to set your site root to your blog page as is explained on the docs:
http://puput.readthedocs.org/en/latest/sites.html

@Nekmo
Copy link
Author

Nekmo commented Mar 16, 2016

Yes, I have placed inside the i18n.

Is this a problem?

@Nekmo
Copy link
Author

Nekmo commented Mar 16, 2016

I tried putting Puput outside the i18n_patterns and works fine. However, I would like to use i18n_patterns.

@marctc
Copy link
Collaborator

marctc commented Mar 16, 2016

Hi,
Have you tried that i told you on my first reply?

@Nekmo
Copy link
Author

Nekmo commented Mar 16, 2016

Yes. This is my root website:
instantanea7

My blog is inside this website root:
instantanea7

And finally my post:
instantanea7

Root is properly configured:
instantanea7

@marctc
Copy link
Collaborator

marctc commented Mar 17, 2016

Hi,

If you set the Blog as a child of "Mi sitio" and under i18n url patterns it doesn't work. I18n patterns and a Puput blog will work if you set as Root Page your Blog Page instead "Mi sitio".

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