Reading list Switch to dark mode

    Odoo SEO-URL Redirect/Rewrite

    About The Module

    The module offers a quick and effective way to rewrite URLs of Odoo website products and product categories. Odoo SEO Rewrite/Redirect modules allow you to create meaningful and user-friendly URLs for your website product and category pages directly from Odoo backend.

    The module paves the way to improve the SEO of the web pages making them more user-friendly and legible for the visitors. 

    It also offers you to show the category hierarchy in the product page URL such as /category/subcategory/product-slug/

    Moreover, you can add redirects to the desired pages from Odoo. you can permanently or temporarily move the page to avoid visitors getting a 404 error if a page is no longer existent or under maintenance.

    The module every rewrite and redirect step for allowing tracking and monitoring ability to admin.

    Searching for an experienced
    Odoo Company ?
    Read More

    Features

    • It allows you to rewrite URLs of Odoo website products.
    • You can also rewrite the slug of product categories on the website.
    • You can rewrite the product URL for individual products or bulk update them at once.
    • Enables you to remove controllers like ‘/shop’, ‘/product’ from the url making it more user-friendly.
    • Add text suffix at the end of your product and category URLs such as .php, .htm, etc.
    • Enable category hierarchy on your website.
    • You can set redirects – 301 and 302 to any webpage on your Odoo website.
    • It stores the record of every rewrite/redirect operation in Odoo.

    Installation

    1.) Once you purchase the App from the Webkul store, you will receive the link to download the zip file of the module.

    2.) Extract the file on your system after the download finishes. You will be able to see a folder named- ‘seo_url_redirect’.

    3.) Copy and paste this folder inside your Odoo Add-Ons path.

    4.) Now, open the Odoo App and click on the Settings menu. Here, click on Activate the Developer Mode.

    5.) Then, open on the Apps menu and click on ‘Update Modules List’.

    6.) In the search bar, remove all the filters and search ‘seo_url_redirect.

    7.) You will be able to see the module in the search result. Click on ‘Install’ to install it.

    WorkFlow

    Default Configuration Settings

    1.) To set the configuration for the module, go to the website Webkul addons. Then click on ‘configuration’ next to SEO rewrite/redirect.

    Screenshot1

    2.) Here you can set various settings to rewrite URLs of Odoo website products and product categories.

    Screenshot

    Use Suffix in URL

    Screenshot2

    3.) Enable this to include suffix text in the product and product category URL. Enter the suffix text such as .php or .html to be used in the product and then categories.

    Screenshot20
    WITH ADD SUFFIX
    Screenshot19
    WITHOUT ADDING SUFFIX

    Pattern for catalog url key

    4.) This setting is used to create default slug for products and categories.

    Screenshot3

    5.) So now, whenever a new product or category is created this set pattern will be used. Moreover, you can bulk rewrite the products and categories URL using this setting as explained below

    6.) You can use the product attributes such as name, id_name, etc to create unique url slugs.

    SEO Optimizations – ‘Use web server rewrites’

    Screenshot4
    • If enabled the settings remove all the controllers like shop/product/category from the url.
    Screenshot20-1
    • If disabled, the url will show the controllers.
    Screenshot21

    Use Category Hierarchy

    7.) If enabled the URL will show the category hierarchy on the pages. If this is disabled, the hierarchy would not be shown in the last subcategory is visible in the URL

    Use category url in product’

    8.) Enable this setting to show the category hierarchy on the product page URL.

    Screenshot5
    • If enabled the URL of the product page will show categories and subcategories to which the product belongs.
    Screenshot23-1
    • If disabled, only the product slug shows after the main domain.
    Screenshot22

    9.) Once you have decided on the settings for how the URL will show and created, you can now rewrite and redirect URLs on the Odoo website.

    Rewriting A URL Slug

    Rewrite Product Url

    10.) Go to configuration >> SEO rewrites >> product to rewrites the product URL as you wish.

    Screenshot6

    11.) Here from the list choose the desired product and change its URL. This will change the product slug which is the last part of the product URL. Click Save.

    Screenshot7

    12.) Here is how the new URL will look after making the changes.

    Screenshot24

     Note: The system creates a redirect automatically for every rewrite. The reason for this is each URL is unique and rewriting a URL means you are creating a new one. So a permanent auto-redirect needs to be is assigned to the event page to direct traffic from the old slug to the new slug.

    Screenshot8

    13.) Alternatively you can rewrite the slug directly from the product form.

    Screenshot10

    14.) Next to bulk update the product URLs, select the products, and click on the action button. Next click on ‘Update SEO URL’. The system will use the settings from the pattern of the catalog URL keys to update the new URLs.

    Screenshot9

    Using Product Category Url rewrites

    15.) Similarly you can change the URL keys for product categories on your Odoo website.

    16.) Go to configuration >> SEO Rewrites >> categories

    Screenshot6-1

    17.) Here from the list, enter the new slug for the desired category. Click save.

    Screenshot11

    18.) Here is how the new category slug in the URL will look on Odoo website.

    Screenshot25

    19.) You can also rewrite the slug from category form also.

    Screenshot12

    20.) Like in products, you can bulk update category URLs. Select the categories and click ‘Update SEO URL’ from the action button.

    Using URL Redirects In Odoo

    21.) Redirect diverts the traffic from one page to another. The difference between rewrite and redirect is that to redirect a URL both source and destination URLs should be real and already working.

    On the other hand, for rewrites, you create an entirely new url for the event and then redirect the traffic from the old url.

    22.) Go to website redirect. Click on create

    Screenshot13

    22.) Here chose the redirect type permanent and temporary. 

    23.) Then choose the source URL. Note, the slug of the source URL should be from Odoo website.

    24.) Then enter the destination slug. (Can be any webpage). Note: the page should exist. otherwise, it will give a 404 error.

    Screenshot15

    25.) Next, choose whether you are redirecting the product and product category. The ID path is auto-filled depending upon what you choose.

    Screenshot17

    26.) So now whenever you click on blog post you will redirect to another page automatically.

    27.) You can see the assigned redirects from the list.

    Screenshot18

    User Guides For Similar Modules

    Need Help?

    Was this guide helpful? Please share your feedback in the comments below.

    If you have any issues/queries regarding the module please raise a ticket at
    https://webkul.uvdesk.com/en/customer/create-ticket/

    For any doubt contact us at [email protected].

    Thanks for reading!!

    Current Product Version - 1.0

    Supported Framework Version - Odoo V10, V11

    . . .
    Add a comment

    Leave a Comment

    Your email address will not be published.

    Be the first to comment.

    Back to Top
    Very helpful and super fast support from Abhishek. Much appreciated for your help. He is very helpful and keen to resolve the issue.
    Emma Nguyen
    Co-Founder
    www.chaocatering.com.au
    Talk to Sales

    Global

    Live Chat

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content