• Resolved devworlds

    (@devworlds)


    Hi,

    I have a custom post type where also have custom post category.

    when i visit category the url like this— mydomain.com/cus-blog/category-url

    i have made redirection like this —https://imgur.com/5d0eT8z

    Redirection works with 404 like this–https://imgur.com/i4xOHQi

    Can you please help me to redirect it properly.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @devworlds,
     
    Thank you for contacting Rank Math support.
     
    The redirection is correctly working. However, your custom post type URL does not open with that slug.
     
    Please check the permalink and ensure that you have removed the /cus-blog/ in their URLs.
     
    Hope that helps.

    Thread Starter devworlds

    (@devworlds)

    Hi,

    I have removed the slug here is snapshot—https://imgur.com/UNTRwPe

    Now open category page like this–https://imgur.com/DlFVOQ8

    i want to redirect — /blog_category/iphone-rental/

    To– /iphone-rental/

    I have did this from redirection — https://imgur.com/paqdNHm

    Again Coming 404 error.

    Please help me to fix.

    Thanks

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @devworlds,
     
    The redirection is already working fine. However, your categories are not working without the base in the URL. You should check with the plugin you are using to create the CPT or remove the slug, as they will be in a better position to help you fix it.
     
    Please do not hesitate to let us know if you need our assistance with anything else.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirection Error’ is closed to new replies.