Forum Replies Created
-
AuthorPosts
-
Omar
ParticipantHey Nico,
Thanks for your response. As I will be on vacation till Monday I can give you a feedback to the solution on Monday.
Much thanks for your effort.Best regards
Omar
ParticipantHey!
Goal of this customization would be to only index the main page of all events / organizers / venues, as a specific event will expire and customers on google can still search for it and will find it already taken place. The same is for venues and organizers.
The meta tag should be a good plan in the html, so there are two options as I see:
– nofollow on link outgoing from the list of all events / organizers …
– noindex on specific pageAs for implementation I would think, that adding the noindex on specific events is way more simple.
Best regards
Omar
ParticipantHey,
Thanks for your quick reponse.
Yes the snippet is working for the filters you’ve mentioned, unfortunately it’s not the filters which I need to work.
I just need the links to the single organizer, single event and a specific venue to be nofollow.
If you could afford me with a hacky solution that would be awesome.
Regarding the robots I don’t know if it would work, as I’m not so experienced in writing robots.txt .
Thanks and best regards!
Omar
ParticipantHey Nico,
Thanks for your quick response.
Sure, i’ve tried the solution presented in this thread:
add_filter( 'tribe_get_event_website_link', 'add_no_follow_event_website', 10, 2); function add_no_follow_event_website( $html ) { //Strip out HTML $url = strip_tags( $html ); //Add nofollow attribute return sprintf( '<a href="%1$s" rel="nofollow" target="_self">%1$s</a>', $url ); }I’ve tried to add a filter to :
‘tribe_get_venue_website_link’
‘tribe_get_day_link’
‘tribe_get_organizer_link’but unfortunately it didn’t work out.
Basically the following structure or the following links should be made nofollow:
/venue/specific_venue
/organizer/specific_organizer
/events/2016-xx-xx
/event/specific_name_of_eventBest regards
-
AuthorPosts
