Seo meta tag – update dynamic title and noindex
-
Hello!
So, I need a little help!
I have a script that generates dynamic content (https://mysite.com/?something=something). I have looked for updating the title of the dynamic content page, but found nothing useful or I could understand >///<
So in this script content I tried:
update_post_meta (get_the_ID(), ‘title_page’ $newtitle);
But I do not know the correct tag to update or if there is a better way to do it xD I tried a few options to try to disable the title wordpress and use only the new title, but I could not, can anyone help me? xOProduct pages are created automatically, and I wanted robots to not index these pages, it is correct to use: update_post_meta ($product->ID, ‘meta_robots_noindex’, true)?
- The topic ‘Seo meta tag – update dynamic title and noindex’ is closed to new replies.