跳至內容
選單
此問題已被標幟
1 回覆
8422 瀏覽次數

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.

相關帖文 回覆 瀏覽次數 活動
1
5月 25
732
0
11月 24
1384
0
3月 24
1383
1
12月 23
7137
1
3月 20
4658