Reading list Switch to dark mode

    User Manual of Odoo SEO-URL Redirect/Rewrite

    Updated 4 April 2023

    INTRODUCTION

    Make your links presentable with Odoo SEO-URL Redirect/Rewrite!

    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 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.

    Searching for an experienced
    Odoo Company ?
    Find out More

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

    FEATURES

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

    INSTALLATION

    1. Once you purchase the App from 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 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

    Let’s begin the configuration of the Odoo SEO-URL Redirect/Rewrite.

    CONFIGURATION

    1. Once installed, go to ‘Website> SEO URL Rewite> SEO Rewrite Configuration> New’ to start creating the settings.
    locating-odoo-seo-url-redirect-rewrite
    1. Now on the page configure the following settings:
      • Enter the name of the SEO rewrite configuration.
      • Enter the pattern for the product and category URL in their respective boxes. You can use the product attributes such as name, id_name, etc to create unique URL slugs.
      • Check the box next to ‘Use Suffix in URL’ to enable suffixes in the category and product URL. You can enter suffix text, such as .php or .html, etc.
      • Use Web Server Rewrites-  If enabled the settings will remove all the controllers like shop/product/category from the URL.
      • Once done, click the save icon and click the ‘Ready to Generate URL Keys’ button.
    configuring-odoo-seo-url-redirect-rewrite
    1. After that, click the ‘Generate Product SEO URL Keys’ button to create SEO URL keys for every product listed on the store. Also, it generates the URL Key for multiple languages as well (if languages are added in the backend).
    2. Further, the ‘Generate Category SEO URL Keys’ button to create SEO URL Keys for every product category.
    geenrating-product-and-category-keys-n-odoo-seo-url-redirect-rewrite
    odoo-seo-url-redirect-rewrite-url-with-suffix
    URL With Suffix
    odoo-seo-url-redirect-rewrite-url-without-suffix
    URL Without Suffix
    odoo-seo-url-redirect-rewrite-without-web-server-rewrite
    Without Web Server Rewrite-URL
    odoo-seo-url-redirect-rewrite-with-web-server-rewrite
    With Web Server Rewrite-URL

    REWRITING A URL SLUG

    1. Go to ‘Website> SEO URL Rewrite> Product’ to view all product URLs Redirect.
    odoo-seo-url-redirect-rewrite-product-url-list
    1. 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.
    rewriting-slug-in-odoo-seo-url-redirect-rewrite
    1. This is how the new URL will look after making the changes.
    rewritten-slug

    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 assigned to the event page to direct traffic from the old slug to the new slug.

    assigned-redirect-links
    1. You can also rewrite the slug from the product page. Go to ‘eCommerce> Products> Products’ and open any product. On the product page open the ‘Sales’ tab and change the ‘SEO URL Key’ according to your need.
    slug-rewriting-from-product-page

    USING PRODUCT CATEGORY URL REWRITES

    1. Similarly, you can change the URL keys for product categories of your  Odoo website. Go to ‘Website> SEO URL Rewrite> Category.’ 
    seo-url-category-page
    1. After that, enter the new slug for the desired category from the list.
    rewriting-category-slug
    1. This is how the new category slug in the URL will look on the Odoo website.
    rewritten-category-slug
    1. You can also rewrite the slug from the category form also. Go to ‘Website> eCommerce> Products> eCommerce Categories.’
    rewiting-ecommerce-category-individually-1
    rewiting-ecommerce-category-individually-2

    USING URL REDIRECTS IN ODOO

    1. Redirecting diverts the traffic from one page to another. However, redirecting a URL (Source and Destination) should be real and working. On the other hand, for rewrites, you create an entirely new URL for the event and then redirect the traffic from the old one.
    2. Go to ‘Website> SEO URL Rewrite> SEO Redirects> New.’
    creating-seo-redirect-1
    1. On the page, fill in the following:
      • Action- Not found, moved permanently, moved temporarily, redirect/rewrite(404, 301, 302, and 308 respectively).
      • URL from- Old URL which you want to change. (NOTE: The slug of the source URL should be from the Odoo website).
      • URL to- The URL you want to change to. (NOTE: The page should exist otherwise it will show a 404 error).
      • Create URL Rewrites- Select between custom, product, and category.
      • Language- In case you have multiple languages installed, then choose the desired one.
      • Is Old Redirect- Tick the checkbox if the ‘URL to’ already exists.
      • Website- In case you have multiple websites.
      • Enable the status as active.
      • Type- Select between System and Custom according to your choice.
      • Once done, click the ‘Save’ icon.
    creating-seo-redirect-2
    1. Now, whenever you click on the page, it will automatically redirect you to another page. And you can see the assigned redirects from the list.
    created-redirect-seo-url

    OTHER ODOO MODULES

    NEED HELP?

    Hope you find the guide helpful! Please feel free to share your feedback in the comments below.

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

    Also, please explore our Odoo development services & an extensive range of quality Odoo Apps.

    For any doubt, contact us at [email protected].

    Thanks for paying attention!!

    Current Product Version - 1.0.2

    Supported Framework Version - Odoo 16, 15, 14

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

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

    Back to Home