跳至内容
菜单
此问题已终结
6910 查看

with a new page odoo's websit-builder creates URL's like /page/website.contact

Unfortunately, here there is no possibility to change this comprehensively. The url format is unfortunately very bad, so I need to find a solution. It is not only SEO but also the readability.

the "website." you can later remove it from the url, but not the directory "page" (404). I suspect it will probably be used as a controller?

Now I think about how I can solve the problem easiest.

I looked for creating a module as a Theme (I wanted to do this later, but if it can solve the problem, okay)

http://odoo-80.readthedocs.org/en/latest/guides/themes.html

but I can define the url without the "page" there, that would work?

<record id="hello_menu" model="website.menu">
    <field name="name">Hello</field>
    <field name="url">/nopage/hello</field>
    <field name="parent_id" ref="website.main_menu"/>
    <field name="sequence" type="int">20</field>
</record>

or there may be a way to replace "page" with another word?


I know on Launchpad.net which was already discussed - and it will probably be changes in the next version. but I need to find a solution now. would be nice if someone had an idea

形象
丢弃
相关帖文 回复 查看 活动
2
3月 15
9108
4
5月 25
1877
1
5月 25
668
2
1月 25
1926
4
1月 25
3947