Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7853 มุมมอง

Odoo v13,

Is it possible to change URL of default module( e.g. Point of Sale)?

I want to change `example.com/shop` to `/example.com/my_url`

It will be for SEO purpose. 


อวตาร
ละทิ้ง
ผู้เขียน

Can I change all occurrences of the word "/shop" and "shop" in source code and change rows in database which contain modification of word "shop" to "<my_url>"? Can it work?

คำตอบที่ดีที่สุด

You can do that several ways, depending on what you really need :

  • set redirections or url rewriting in your web server (like apache or nginx), this can be generic

  • write a small module with a controler that change the url, can be generic too

  • use the available Odoo feature : first activate debug mode, then you will see a Redirects entry in Website/Settings menu, open it and you will be able to rewrite every url, at the cost of not being generic.

However, this will not help at all in SEO as shop is well understood by Google and others. If you need SEO help, I wrote several freely available modules that can help you. But there is no magic in SEO : content is king and that need a lot of work.


อวตาร
ละทิ้ง

Can you maybe please provide some more info on a Redirects entry. I use Odoo 14 and I couldn't find it.

Related Posts ตอบกลับ มุมมอง กิจกรรม
System redirect to a wrong url แก้ไขแล้ว
1
พ.ค. 25
308
0
พ.ย. 24
832
0
มี.ค. 24
922
1
ธ.ค. 23
6650
1
มี.ค. 20
4156