Reading list Switch to dark mode

    Odoo SEO-URL Redirect/Rewrite For Blog

    Updated 23 January 2023

    About the Module

    If you are using blogs on your Odoo website, then now you can rewrite/redirect blog urls in Odoo using the module. Odoo SEO-URL Redirect/Rewrite For Blog module provides you with the feature to change and modify the urls of your website blogs to make them human friendly.

    It also provides the opportunity to optimize the slug of your blog pages to improve the SEO.

    Moroever, you can also put the permanent (301) or temporary redirect on any page from the Odoo backend.

    Every rewrite/redirect operation is documented in the Odoo to allow for tracking anf future reference.

    Features

    • The module allows you to rewrite/redirect blog urls on Odoo website.
    • Allows you to rewrite the slug of blog post and blogs published on the Odoo website.
    • From settings, you can set a default pattern to auto-create slugs of new blogs and blog posts such as product_name, id_name, etc.
    • The set pattern is automatically used when a new blog is published.
    • You can also bulk update the slugs of already published blogs and blog posts using the set pattern.
    • The module allows you to put redirects – 301 & 302 on any blog page.
    • You can add a text suffix to the blogs and blog posts urls such as .blog, .post, etc.
    • You can remove the controllers such as /blog/blog-name/post to make it more human friendly.

    Prerequisites For Using the Module

    Odoo SEO-URL Redirect/Rewrite For Blog module is dependent on the following module:

    Searching for an experienced
    Odoo Company ?
    Find out More

    This module needs to be installed first for Odoo SEO-URL Redirect/Rewrite For Blog module to work properly.

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

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

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

    Working

    Default Configuration Settings

    To set the blog URL settings, go to website >> website addons and click on configuration next to SEO-URL Redirect/Rewrite.

    Odoo SEO-URL Redirect/Rewrite For Blog settings

    Here you can set various defaults. A number of settings come directly from SEO-URL Rewrite/Redirect module. To know about them please refer to the guide.

    Blog Suffix

    Odoo SEO-URL Redirect/Rewrite For Blog settings 2

    Use this setting to add a suffix as text at the end of your blogs and blog-posts urls such as .post, .blog, etc.

    Odoo SEO-URL Redirect/Rewrite For Blog settings 4
    Blog URL without suffix
    Odoo SEO-URL Redirect/Rewrite For Blog settings5
    Blog URL With Suffix

    Pattern For Blog URL Key

    Pattern for catalog url key – this setting is used to create default slugs for blog and blog posts.

    Odoo SEO-URL Redirect/Rewrite For Blog settings 3

    So now, whenever a new blog or blog post is published, this set pattern will be used. Moreover, when you bulk rewrite the blog and blog posts URL using this setting as explained below.

    You can use the blog attributes such as name, display_name, etc to create unique url slugs.

    Search Engines Optimization

    • If enabled, this setting will remove all the controllers like ‘/blog’ and ‘/post’ from the url.
    Screenshot7-3
    • If disabled, the url will show the controllers.
    Screenshot5-3

    Rewriting Blog URL Slug

    Using Blog URL rewrites

    Go to configuration >> seo rewrites >> blog to rewrites the blog url as you wish

    Odoo Blog SEO rewrite

    Here from the list choose the desired blog and change its url key/slug. This will change the blog slug which is the last part of the blog url. Click save.

    Odoo Blog SEO rewrite 2

    Here is how it will look before and after making the changes.

    Odoo Blog SEO rewrite 3

    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 blog page to direct traffic from old slug to new slug

    Odoo Blog SEO rewrite 4

    Now to bulk update the blog urls, select the desired blogs and click on action button. Next click on update seourl. The system will use the settings from pattern of blog catalog url key to update new url.

    Screenshot11-2

    Using blog Post Url rewrites

    Similarly you can change the url keys for Blog Post on your Odoo website.

    Go to config >> seo rewrites >> blog Post

    Odoo Blog post SEO rewrite

    Here from the list, enter the new slug for the desired blog Post. Click save.

    Odoo Blog post SEO rewrite 2

    Like in blog you can bulk update blog post urls. Select the blog posts and click update seo uel from action button.

    Odoo Blog post SEO rewrite 3

    Using Redirects

    Redirect diverts the traffic from one page to another. Diference between rewrite and redirect is that for redirecting both source and destination urls should be real and already woring.

    While for rewrites you create an entirely new url for the blog and then redirect the traffic from old url.

    Go to website redirect. Click on create

    screen

    Here chose the redirect type permanent and temporary.

    Then choose the source url. Note, the slug of the source url should be from Odoo website. It should be existent.

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

    screenshot 1

    Next, choose whether you are redirecting the blog or blog post The ID path is auto-filled depending upon what you choose.

    screenshot 3

    So now whenever you click on product you will redirect to another page automatically.

    You can see the assigned redirects from the list.

    Odoo Blog redirect 4

    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 V13, V12, V11

    . . .

    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

    Table of Content