Hello,
Have you tried to use SEO plugin, for example, Yoast SEO? Check docs of plugin https://yoast.com/beginners-guide-yoast-seo/ maybe it is what you are looking for.
Regards