How did you do it with the locations page? You can probably do something similar with the individual locations pages.
Thread Starter
mrppp
(@mrppp)
it was an option with a seo plugin, but does not enable it for single locations
Ah, ok. Then you could probably do this by editing the header.php template of your theme, so that it includes a noindex tag on the pages you want to use it on.
hi, can I know what seo plugin is this?
Thread Starter
mrppp
(@mrppp)
All In One SEO Pack.
I have since found I can noindex them one by one rather than default noindex them all
hmm, haven’t tried that one but maybe you can modify that plugin to support custom post type like EM specifically post type – event and location
Thread Starter
mrppp
(@mrppp)
Is there a more suitable SEO plugin?
actually, I installed All In One SEO Pack just now and seems that it works for me; e.g. I do get options Robots Meta NOINDEX, Robots Meta NOFOLLOW both on Add Event and Add Location page?
Thread Starter
mrppp
(@mrppp)
Yes on the /locations/ it will noindex but not on say /locations/uk or
/locations/usa etc etc
So I can noindex
http://www.gigzone.co.uk/locations/
<meta name="robots" content="noindex,follow" />
but not
http://www.gigzone.co.uk/locations/reading-2/
although I can go into each location and noindex one by one so maybe that is how I will have to do it
this works for me still; e.g. when I add a new location under Events > Locations > Add Location > All in One SEO Pack metabox
don’t you have this option on this page? or can you share screenshots?
Thread Starter
mrppp
(@mrppp)
Yes I do, but if a user registers and adds an event and gives it a location, it will not make it noindex, so I guess I will manually have to go into each new event and set its new location as ADMIN to noindex
ALSO
Ideally I would like the input box called Location Name in add event renamed to Event name
as that makes it clearer rather than maybe putting a town name users will put a venue name
I have edited location.php to do this is that ok
/wp-content/plugins/events-manager/templates/forms/event/location.php
looks now as
http://www.gigzone.co.uk/wp10.jpg
I see what you mean now, you are pertaining to event submission form? but unfortunately I can’t help you with this since I haven’t tried it yet; however if you can ask all in one seo if there’s any shortcode you can use to output that settings then this might be possible.