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
-
Adding picture and new layout on jobs-overview page
Im running a castingsite today, where the jobs-overview page is the highest ranked on google on the important words. There is a big of reasons for that, it's updated daily, the domain is old and wellknown and so. Anyways, the today is this: (Yes it's ugly and old-school :))
Web Design | | KasperGJ
Current design:
http://www.onlinecasting.dk/auditions.asp I've created a new design, which is much nicer and with added pictures. The pictures in the new design, will be somewhat unique to the specific jobs, so the current ones are mostly for testing New design: (Not implemented)
http://www.onlinecasting.dk/auditionsnd.asp Question:
So my question is. Do you think this NEW design could affect my site / page in a bad way in SEO or?
I'm planning basically just to overwrite the old auditions.asp file with the new code. What do you guys think.0 -
Pointless copy on product list pages makes me feel compromised...
When working on ecommerce websites we insist that product list pages need at least 250 words of copy that is optimised for our keyword phrase ... lets say "17 inch bike frames". So we have some crappy copy written that goes something like this.... "We have a great 17 inch bike frame for you whatever your requirement. Take a look at the frames below .... blah blah blah totally pointless text blah blah blah........." This text is of no use to the user as the page is merely a means of them getting to a suitable product page. However, the copy is pretty essential if we want to rank well for "17 inch bike frames" and not having copy on product list pages could land us in hot water with Panda ...especially if we have lots of them on a site using the same page template and with no copy on them. Does anyone else feel uneasy with adding this crappy text to pages? It's only there for search engines and that is something that Google say's we shouldn't do but I know for sure they're not going to rank me as well if I don't have it. I'd be interested to hear other people's opinion on this. It's always annoyed me. Does anyone have any good tips for making this type of copy on product list pages less forced and crappy?
Web Design | | QubaSEO0 -
Avoiding duplicate content with multi-lagusage site
Hi, We have a client in China that is looking to create three versions of the same website, English, Chinese and Korean. They do not want to use a translation plugin like Google translate, preferring to have the pages duplicated. What is the best way to do this bearing in mind that the site needs to be found in all three languages. Would also appreciate if anyone knows of a good hosting company that has English support on the Chinese main land. Thanks Fraser
Web Design | | fraserhannah0 -
SEO tricks for a one page site with commented html content
Hi, I am building a website that is very similar to madebysofa.com : means it is one page site with entire content loaded (however are commented in html) and by clicking on sections it modify the DOM to make specific section visible. It is very interesting from UX point of view but as far as I know, since this way most of my content is always commented and hidden from crawlers, I will loose points regarding SEO. Is there any workaround you can recommend or you think sites like madebysofa.com are doomed to loose SEO points by nature? Best regards,
Web Design | | Ashkan10 -
404 page not found after site migration
Hi, A question from our developer. We have an issue in Google Webmaster Tools. A few months ago we killed off one of our e-commerce sites and set up another to replace it. The new site uses different software on a different domain. I set up a mass 301 redirect that would redirect any URLs to the new domain, so domain-one.com/product would redirect to domain-two.com/product. As it turns out, the new site doesn’t use the same URLs for products as the old one did, so I deleted the mass 301 redirect. We’re getting a lot of URLs showing up as 404 not found in Webmaster tools. These URLs used to exist on the old site and be linked to from the old sitemap. Even URLs that are showing up as 404 recently say that they are linked to in the old sitemap. The old sitemap no longer exists and has been returning a 404 error for some time now. Normally I would set up 301 redirects for each one and mark them as fixed, but there are almost quarter of a million URLs that are returning 404 errors, and rising. I’m sure there are some genuine problems that need sorting out in that list, but I just can’t see them under the mass of errors for pages that have been redirected from the old site. Because of this, I’m reluctant to set up a robots file that disallows all of the 404 URLs. The old site is no longer in the index. Searching google for site:domain-one.com returns no results. Ideally, I’d like anything that was linked from the old sitemap to be removed from webmaster tools and for Google to stop attempting to crawl those pages. Thanks in advance.
Web Design | | PASSLtd0 -
Link Pages/Directory
Hello, What is best practise for dealing with alot of links. I was thinking of breaking them download to alphabet pages i.e. all A on one page etc... BUT should I then make the links clickable on this list OR that they load to a sub company page which has a clickable link to there website.
Web Design | | JohnW-UK0 -
Using "#" anchors to display different content
If I have a page that has an area on the page that acts like a widget and has three different tabs. These tabs provide 3 different types of information relevant to the page subject matter. By default when someone goes to the page one of the tabs is showing but you have to click on the others to see the info on them. Is it OK to use domain.com/topic#TAB1, domain.com/topic#TAB2, domain.com/topic#TAB3 to create shortcut links so that people can land on the page and have that predetermined tab showing. I'm wondering what search engines might think. Essentially all the content of all three tabs is there for people to see but they'd have to click to see the other tabs. I don't consider the content to be hidden. But I'd like to hear people's thoughts.
Web Design | | Business.com0 -
Do iFrames embedded in a page get crawled?
Do iFrames embedded in a page get crawled? I have an iFrame which prints a page hosted by another company embedded in my page. Their links don't include rel=nofollow attributes, so I don't want Google to see them. Do spiders crawl the content in iFrames, or do I have to ensure that the links on this page include the nofollow attribute?
Web Design | | deuce1s0