-
AuthorPosts
-
March 25, 2017 at 10:54 pm #766753
I would like to use the tab name in the URL, instead of the generic #tab-id-1, #tab-id-2 etc. appended to the url.
For an SEO friendly theme this seems like a no brainer? How can I do this?
March 26, 2017 at 12:12 am #766770Hey freelancemom!
There is no such option.
Also, please note that the tab name, as an ID selector, has nothing to do with SEO.
The ID of a sections and anchors are not been indexed from googleRegards,
BasilisMarch 26, 2017 at 8:22 pm #767032Thanks for the quick reply.
Nice article, I’m well aware of Google’s move to avoid link bombs and reducing the weight for anchor text in the algorithm. But I think most would agree not all of the ingredients in the secret sauce are disclosed, and it makes sense to optimize anything you can.If someone is promoting a link to the tab element on my home page, there is no doubt in my mind that abc.com#keyword-relevant-text is going to be more effective in telling Google what the content is about (ex. LSI) than abc.com#tab-id-1. The same holds true for internal linking.
Also, real good SEO is not just for bots, but people also. The click probability for a readable URL that describes the content is much better than not, hence the widespread use of pretty links etc.
I’ll go ahead and make a feature request anyways. I hope you will consider it.
March 28, 2017 at 11:48 am #768057Hi,
To make it clear, they are not available in Tab Section element. However if you are using Tabs element, please see – http://kriesi.at/documentation/enfold/custom-tab-and-toggle-ids-for-prettier-url-hashes/
Best regards,
YigitMarch 28, 2017 at 8:00 pm #768402This is exactly what we need :)
It doesn’t say on that link where that snippet should be placed? And also in the snippet it says: add_theme_support(‘avia_template_builder_custom_tab_toogle_id’);
is it really “toogle_id”, or “toggle_id”?
Thanks as always for your help Yigit!
March 28, 2017 at 9:11 pm #768432Hey!
It is actually toogle the function it is not a typo.
The code has to be placed at your functions.php file of your chidl themeLet us know if we can help you with something else.
Thank you
Best regards,
Basilis- This reply was modified 7 years, 7 months ago by Basilis.
March 29, 2017 at 10:03 pm #769118Thanks Basilis!
It’s working perfectly!March 29, 2017 at 10:36 pm #769129Hi,
Let us know if you have any other questions or issues :)
Best regards,
John Torvik -
AuthorPosts
- You must be logged in to reply to this topic.