alphalemon / AlphaLemonCmsBundle

This project has been moved to https://github.com/redkite-labs/RedKiteCmsBundle
Other
26 stars 23 forks source link

Routing management for homepage #19

Closed gaelb80 closed 12 years ago

gaelb80 commented 12 years ago

The hompage respond on 2 different url: the root http://www.xxx.xx/ and the permalink name http://www.xxx.xx/homepage.

And link generated in html with tinyMCE link select, used the permalink

For SEO it's really bad.

Is it clear enough ?

alphalemon commented 12 years ago

Find a bug. Must recreate route [main language][homepage] that points the home [/] route. So now there are two routes that point the home [/]. Is that fixing?

alphalemon commented 12 years ago

Actually AlphaLemon CMS has been fixed to generate two internal routes that responds to home page, as follows:

_en_index: pattern: / defaults: { _controller: AlphaLemonWebSiteBundle:WebSite:show, _locale: en, page: index }

Route << >> generated for language << en >> and page << index >>

_home: pattern: / defaults: { _controller: AlphaLemonWebSiteBundle:WebSite:show, _locale: en, page: index }

so there's just a route for homepage. Is this fixing for you?

gaelb80 commented 12 years ago

Sorry, at this moment I do not really have time to spend on this project. I hope I can help you later when my schedule lightens a little :|

alphalemon commented 12 years ago

Ok, no prob! I'll close these opened issue, in case you'll open it again later. Thank you very much for the time you've dedicated on this project since now and hope to hear you soon!