• Hi

    Is there a way to change a canonical URL of a post?

    I couldn’t find it in post add/edit page, but there is a slim_seo_canonical_url filter, But I have no idea about how to use it.

    It could be good to add canonical url and also redirect options in post add/edit page,

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @pars0097 ,

    Would you mind sharing why do you need this feature?

    If you just need redirect a page to another page, the redirection module works well.

    Thread Starter Mohammad Salehi Koleti

    (@pars0097)

    I want to point all paginated pages canonical URL to the first page, and sometimes I have a specific parent page and want to point all its children pages (because I don’t want children pages to get index in search engines) to the parent page.

    Plugin Author Anh Tran

    (@rilwis)

    I see.

    Regarding paginated pages, it’s recommended to use their URL as the canonical page, since they’re different.

    For the child pages, if you don’t want them to be indexed, then using robots tag is much better, isn’t it?

    Thread Starter Mohammad Salehi Koleti

    (@pars0097)

    Sorry for late replay, So it’s never necessary to use canonical URLs?

    Plugin Author Anh Tran

    (@rilwis)

    For the reasons you said above, I don’t think canonical URLs are neccessary in these cases.

    Canonical URLs might be helpful if you have several pages and you want them to “point” to one single page. I’m still not sure what the use case for this, to be honest.

    Thread Starter Mohammad Salehi Koleti

    (@pars0097)

    As you said it’s useful when you have several pages, and you want them to “point” to one single page

    That’s what I meant when I said, “I have a specific parent page and want to point all its children pages to the parent page”

    I don’t need this feature for all pages, I just need to know if is there a way to hide (and add it manually using WP hooks) or change canonical URL, generated for a page by Slim SEO?

    Plugin Author Anh Tran

    (@rilwis)

    This feature is now available in version 3.19. Please update.

    Thread Starter Mohammad Salehi Koleti

    (@pars0097)

    Thank you very much! It’s working correctly.

    Just one thing, When I click Canonical URL label, the Meta title input, gets focused https://pasteboard.co/lyd0Qf9rjIwe.png.

    Thanks again.

    Plugin Author Anh Tran

    (@rilwis)

    Thanks! We’ve just found this issue and fixed it on Github. New version will be available soon.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘change canonical url of a post’ is closed to new replies.