Hi there guys :
How Is it possible to avoid links to categories and author’s page to appear on my pages ?
Even If I “Hide” them on the builder, those links still appear in the source code which is really complicated
to manage for SEO purposes.
1 – Look at https://www.holaparis.com/
2 – From this page as you can see there is no visible link to any category. Let’s say a category like https://www.holaparis.com/cat/museos-de-paris
3 – Look at the source and start typing /cat/ to look for categories links.
4 – You can see there’s a bunch of links pointing to categories (15)
5 – Problem is the same with author page /author/ page which is hidden on the frontpage but also appears on the source code.
5 – I’ve used blocks for creating this page where an option is offered to “hide” categories and author links.
The problem it seems to be a css style only and links are still there.
Any idea would be very welcome. Thanks a lot …
Hi,
The theme need those link to can access those files -> https://i.imgur.com/6eDsT6i.png, if you want to removed theme, you can do it only from theme files, but is very possible to break the theme functionality.
The category file can be found on this path -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_category_template.php
If you want to remove the author links you can do it from here wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php -> https://i.imgur.com/NzeROzY.png
Thank you!
Hi,
So you do not want to use the category from the theme and you want to use your own page category (the same with author), in order to remove/delete the links for the category and author from modules, you need to make some changes in theme file.
If you have tagDiv Standard Pack deactivate, then all the changes you need to do is in these files from wp-content/plugins/td-composer/legacy/Newspaper/includes/modules for flex 1 -> https://i.imgur.com/6QGfOTy.png -> https://i.imgur.com/Qoqap7N.png
If you want you can use the child theme provide in the theme package, also please check our documentation for child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hope this will help you!
Thank you!
Hi Calin and thanks for replyin.
I read in the doc and just realized yesterday night it is possible to build our own categories templates using the cloud and importing blank template.
I didn’t know this was possible but this is brilliant !
This is more than enough for me to not having to create 301 redirect for each category page.
Nevertheless is it still possible to delete categories tags and author tags using solutions you provided to me ?
What about theme updates ? Do they overwrite those codes edition once updated ?
Many thanks
Hi,
Yes, you can build or set premade category templates from tagDiv Cloud Library, these can be edited using tagDiv Composer
Yes, you can use the above solution, but this will be overwrite when you’ll make an update, what you can do is to use a child theme and set these change in it.
Thank you!