Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How do you add meta data to dynamic pages?
-
We have 1000's of dynamic pages on the website and would like to know how to add meta data to these dynamically generated pages.
Thanks!
-
Thanks Vijay.
-
Hi There,
You can edit SEO information for your Sitecore based website using this guide https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/improve_page_seo .
If you have rightly optimized content structure on the pages, it will be best to leave it as it is. The Google search engine will dynamically generate Title and description in SERPs based on the content of your page, in my experience that will be more useful for users and generate more clicks.
I hope it helps.
Regards,
Vijay
-
Thanks Sean. I would like to know how Google inputs meta title, description and keywords for a page that does not physically exist. How will a dynamic page appear in Google organic search results?
-
Our technology is .net (cms: sitecore). Will this be something that the developer will code for us? Just curious to know how Google will display meta titles and description for a page that does not physically exist.
-
When you say meta tags is there something in particular you're wanting to do? Meta Tags accomplish a number of different tasks. Some as simple as a text description in Google search, others will make Twitter Cards and large thumbnails for Facebook's open graph. Some can tell pages not to index certain
urls with robot crawlers.
How specifically you add them in your content is quite simple. Almost always meta tags will be placed in the header like say the meta description for a post on how you add meta data to dynamic pages:
name="description" content="This page is about how to properly use meta tags on dynamic pages or any page" />
-
It totally depends on the technology being used for your website. If you are using WordPress then Yoast plugin is good enough to get you the Meta tags optimized for all pages. If you are using any other technology, then there will be different steps altogether.
I hope this helps, let me know if you have further queries.
Regards,
Vijay
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Meta keywords
should every site have meta keywords or is this not used anymore? I don't use yoast and prefer rank math but there is nowhere to insert it. when I look at moz bar it shows meta keywords as a field so maybe it is important...
On-Page Optimization | | Mosaj0 -
Page Title Length
Hi Gurus, I understand that it is a good practice is to use 50-60 characters for the a page title length. Google appends my brand name to the end of each title (15 characters including spaces) it index. Do I need to count what google adds as part of the maximum recommended length? i.e.
On-Page Optimization | | SunnyMay
is the maximum 50-60 characters + the 15 characters brand name Google adds to the end of the title or 50-60 including the addition? Many thanks!
Lev0 -
Structured Data on mobile and desktop version of a page
Hey there,
On-Page Optimization | | Online-Marketing-Guy
certain pages of our website have mobile versions like m.mysite.com/content-xyz. On the desktop pages (i.e. mysite.com/content-xyz) we have "rich snippets for ratings" marked up and displayed in SERPs. However the ratings also appear in mobile search results when SERPS reference the mobile version of the page (m.mysite.com/content-xyz) which doesn't have any ratings or markup? I am trying to figure out how Google treats mobile versions of a page in relation to the desktop version in relation to structured data (breadcrumbs etc.)? Would you always mark up both versions to be the same? Any ideas and thoughts on this are greatly appreciated. Cheers, Jochen rich Snippets for Ratings1 -
Page Title & Meta Description Getting Cut Off In The SERPs
Hi Guys, I am trying to figure out why my page titles and meta d tags are getting cut off in Goofle SERPS. My page titles are 70 characters or under (including spaces) and my meta Dd's are 155 characters or under (including spaces) so I cannot work out why They are getting cut off. Is there something I have missed?! Thanks, Meaghan
On-Page Optimization | | StoryScout0 -
Home page and category page target same keyword
Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian
On-Page Optimization | | tprg0 -
Should I add PDF manuals to my product pages?
Hello. A lot of the products I sell on my e-commerce site are very technical. I decided to add PDF data sheets, manuals etc on each of the product pages to improve the customer experience. Now I am not sure if it was the best thing to do. I have noticed a couple of times that the PDF is out ranking the product page in the SERP. For a few products, the PDF ranks but the product page doesn't. Anyone got any ideas?
On-Page Optimization | | DavidLenehan0 -
Would it be bad to change the canonical URL to the most recent page that has duplicate content, or should we just 301 redirect to the new page?
Is it bad to change the canonical URL in the tag, meaning does it lose it's stats? If we add a new page that may have duplicate content, but we want that page to be indexed over the older pages, should we just change the canonical page or redirect from the original canonical page? Thanks so much! -Amy
On-Page Optimization | | MeghanPrudencio0 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5