Dynamic pages and code within content
-
Hi all,
I'm considering creating a dynamic table on my site that highlights rows / columns and cells depending on buttons that users can click. Each cell in the table links to a separate page that is created dynamically pulling information from a database.
Now I'm aware of the google guidelines: "If you decide to use dynamic pages (i.e., the URL contains a "?" character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them few."
So we wondered whether we could put the dynamic pages in our sitemap so that google could index them - the pages can be seen with javascript off which is how the pages are manipulated to make them dynamic.
Could anyone give us a overview of the dangers here?
I also wondered if you still need to separate content from code on a page? My developer still seems very keen to use inline CSS and javascript!
Thanks a bundle.
-
That's it! Thanks Baptiste - the anchor text is going to be an image and an unoptimised image at that... I knew there was a reason that my brain was kicking up a fuss with this code. Brilliant, thanks.
-
If you have pages on your site without any internal link to them (I mean pages reachable by Google Bot when he visits your site), they won't rank well, and your site won't be ranking well too.
That's because your pages will only be visible to Google through the sitemap. The Google Bot will think "Hey these pages are not accessible to the user through the site links? I should not rank them then."
You will penalize your whole domain too because you will be losing additional pages in the site. Especially if those pages have good content (I suppose this the case anyway).
BUT, given your example, Google Bot should be able to access them with you strange link. Question is, what is the anchor text ? Is the anchor a generic text or a good keyword for each page? If you have bad anchor text, I would make a specific section on the site which allows the user and GBot to access theses pages with good anchor text.
Maybe a HTML sitemap, as you may see one on rotten tomatoes :
-
Ok, thanks so much for the advice, just to clarify there is a link to the dynamic page and it's address will be permanent so it can be accessed in the browser address bar. Here is the link example that the developer gave:
[If I understand correctly you are saying that this dynamic page can't rank? Even if it is permanently there?
Is that right?](Index.asp?Page=ExamplePage)
-
agreed, ref=canonical
-
I would rel=canonical all versions of the page to point to one without querystring. You only want one page to be indexed.
I would also (sorry) reconsider your ties with a developer who wants to use inline CSS. That is just dumb...
-
I would not recommend doing so, google will index you pages but he won't be able to find them anywhere on the internet, event on your website. They won't rank.
You should make, at least, a way for users and google to access theses pages without the buttons.
For the code / content / style issue, you should really stop putting all together - it's been 10 years since people started to separate content and style
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
-
JS and HTML links: Any risk involved being employing two similar links on every page?
Hi all, We used a have a banner with link from all pages our subdomain. The link is JS link and it's linking to our website homepage from our sub domain. Recently we have added similar HTML link from all pages of sub domain presuming that Google might not be considering JS links. So, now we have 2 links (JS and HTML) from every page of sub domain pointing to the website. If Google considers 2 links, will there be any risk for employing same link twice from every page? Thanks
Web Design | | vtmoz0 -
Will HTTPS Effect SERPS Depending on Different Page Content?
I know that HTTPS can have a positive influence on SERPS. Does anyone have any thoughts or evidence of this effect being different depending on the page content? For example, I would think that for e-commerce sites HTPS is a must, and I guess the change in rankings would be more significant. But what about other situations, AMP pages for example? Of if you run Adsense, or Affiliate links? Or if your page contains a form?
Web Design | | GrouchyKids1 -
Avg Page Load Time Increase After Responsive Web Design
The Avg. Page Load Time has been steadily increasing after our website went responsive. What could have cause this?
Web Design | | JMSCC1 -
Managing website content/keywords for wordpress site
We are in the midst of redesigning our website and have been working with freelance blog/content writers to increase the unique content on our site. We are finding it increasingly difficult to manage the topics/keywords as we continue to expand. Googledrive and google spreadsheets have been our primary tools thus far. Can anyone recommend a good tool that would allow us to manage content and blog posts for our site?
Web Design | | Tom_Carc0 -
Does stock art photo attribution negatively impact SEO by leaking Google Page Rank?
Greetings: Companies such as Shutterstock often require that buyers place credit attribution on their web pages when photos you buy from them appear on these pages.. Shutterstock requests that credit attribution links such as these be added: Songquan Deng / Shutterstock.com Do these links negatively impact SEO? Or do search engines view them as a positive? Thanks,
Web Design | | Kingalan1
Alan0 -
Does it do harm if you add a rel="canonical" tag on a page that doesn't need it?
If a page is clearly unique and there is obviously no canonical tag needed, does it hurt anything if one has been added?
Web Design | | jaychow0 -
Page Size
Hello Mozers, What is the best page size ( or the max page size ie KB ) for a home page or a 2nd level page. Thank you - I appreciate you looking at this question. Vijay
Web Design | | vijayvasu0 -
Number of links per page?
I'm confused by the number of links that we should put on a page. Our site has a high domain authority but SEOmoz tool and others, plus Google WMT suggests much much less than other sites have - look at Dailymail.co.uk or the Huff post site for example. our site is www.worldtravelguide.net and I'm thinking specifically about the /destinations and each continent like /europe Our site has thousands of pages, trying to create an effective internal linking structure with the limitation of 150 or so links is nearly impossible and ends up with too many navigational pages. We were hit hard by Panda (even though all our content is original, professionally written frequently updated) in favour of bigger brands and considering Google suggests that sites should be designed for users and not SEO these two ideals conflict. Does anyone have any data on what the link limit is? Any other tips or observations would be gratefully received. Thanks, John
Web Design | | JohnFinlayson0