Effective use of hReview
-
Hi fellow Mozzers!
I am just in the process of adding various reviews to our site (a design agency), but I wanted to use the ratings in different ways depending on the page.
So for the home page and the services (branding, POS, direct mail etc) I wanted to aggregate relevant reviews (giving us an average of all reviews for the home page, an average of ratings from all brand projects and so on).
Then, I wanted to put specific reviews on our portfolio pages, so the review relates specifically to that project. This is the easiest to do as the hReview generator is geared up for reviews that come from one source, but I can't find a way of aggregating the star ratings to make an average rating rich snippet.
Anyone know where I can get the coding for this?
Thanks in advance!
Nick.
-
Looks like the above code might be a bit wrong/ out of date. Current format should be:PUT YOUR PRODUCT, BUSINESS OR SERVICE HERE REVIEW SUMMARY HERE. I.E. WHAT YOUR CUSTOMER IS SAYING IN THE REVIEW 4.5 out of 5 based on 17 reviewsI've also replace the H3 tag with standard span tag, as each person might want the info formatted slightly differently. You can, of course, easily change the numerical ratings of the system. E.g. if your average rating is 7 out of 10, then 7 is the average and 10 is the best.
-
Hi This code will help you for aggregating the star ratings to make an average rating rich snippet. The following code represents an aggregated review of L'Amourita Pizza. L’Amourita Pizza 9 out of 10, based on 24 ratings. 5 user reviews. **Second one is this**
Mediterranean Wraps
Customers flock to this small restaurant for their
tasty falafel and shawerma wraps and welcoming staff.
4.5 out of 5
based on 17 reviews<code>// build average ratings html
$average_rating = 'Average Rating: ';</code>
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
-
Doudle URLs without Canonical link and a change in keyword.: What are the effects on SEO?
I built my new website and i have two major worries. 1. My home page has two URLs. The one with a high PA though indexed by Google, is not submitted in the sitemap. I tried to place a canonical tag but the hosting service said it was impossible for me to place the canonical link. My concern is if the indexed page will be successfully optimized for SEO without it being submitted in the sitemap and what happens to the other URL for the same page which is also indexed and submitted in the sitemap? 2.I started my link building campaign for one of my pages. I acquired some good PA already for a particular keyword but later on discovered it will be very difficult for me to rank for the major keyword. I have decided to change the keyword. Will the acquired PA influence the SEO for the new keyword? I wish to know if i should dissolve the links to the page for the former keyword or should i maintain them and move forward with building links for the new keyword as well.
Technical SEO | | trevordocs0 -
Using 302s to redirect pages returning in 6 months
We are doing a 2-phase site redesign (in order to meet a deadline). An entire section of the site will not be available in the first phase, but will come back in 6 months. The question is, do we use 301s or 302s for those pages that will be coming back in 6 months? Is there a time limit on what is considered "temporary"? thanks in advance!
Technical SEO | | Max_B0 -
Excessive use of KeyWord?
Hey I have an Immigration website in South Africa
Technical SEO | | NikitaG
MigrationLawyers.co.za and the website used to be divided in to two categories:
1st part - South African Immigration
2nd part - United Kingdom Immigration Because of that we made all the pages include the word "South Africa" in the titles. eg.
...ers.co.za/work-permit-south-africa
...ers.co.za/spousal-visa-south-africa
...ers.co.za/retirement-permit-south-africa
...ers.co.za/permanent-residence-south-africa I'm sure you get the idea.
we since, removed the UK part of the website and now are left only with the SA part. Now my question is: Is it bad? will google see this as spammy, as I'm targeting "South Africa" in almost every link of the website. Should I stick to the structure for new pages, or try to avoid any more use of "South Africa". Perhaps I can change something as it currently stands? Kind Regards
Nikita0 -
Pages not being cached have a negative effect?
Hi all! I look after a website where it's been discovered a section of the website has the noarchive robots meta tag active on it causing it to not get cached but has been indexed. Out of curiosity has anyone seen any negative effects from Google for having pages that aren't cached? It's not the strongest section on the website so makes it tricky to judge myself but interested if anyone had any thoughts on the matter. Cheers,
Technical SEO | | thisisOllie0 -
Does incomplete or private WHOIS information have negative effect on SEO?
I wondered if having incomplete WHOIS information has a negative effect on rankings? Also I know it's possible to keep WHOIS information private, so I wondered if google would think this suspicious and rank a site not as highly as it should? Thanks!
Technical SEO | | Silktide0 -
When should we use Remove URLs feature on Google Webmasters Tool?
Hi there, I run an ecommerce website on Magento. We are no longer using a category. It actually does not appear on the menu: mydomain.com/category.html If this is the case, do you recommend to remove it through the Removal URL feature on GWT? I don't want this to affect the juice of other links of the site such as: mydomain.com/product.html Thanks very much. Regards
Technical SEO | | footd0 -
Cumulative effect
<a name="_GoBack"></a>I have a real estate client who creates individual property sites (mini-sites), each with their own URL (123MainStreet.com), each linking to 2 or 3 diverse pages on the main broker site (main site). There are a couple thousand on these pages at any one time, feeding into a large broker site. The SEO effect of these mini-sites is that there are many incoming links to the main site from various URLs, however, the mini-sites have little SEO relevance, given that there are few, if any inbound links to the mini-sites themselves, and the mini-sites only exist for the market life of a property. My question is: Does it make more SEO sense to create a series of pages (externalsite.com/123mainstreet) on a single site that already has good traction and relevance? The inbound links to the main site will have more relevance, but they will all be coming from the same domain (or subdomain). And although the links will all be coming from the same external site, the inbound links will be from a variety of pages on external site to a variety of pages on the main site. Any insight would be appreciated.
Technical SEO | | mikescotty0 -
.htaccess problem using POST method
Hi guys I'm after some help with trying to achieve the following: 1. Canonicalise to http://www. 2. Remove the index.php from root and subfolders. I have the .htaccess code below, which seemed to work fine, but the urls use the POST method and this isn't working with the rewrites. Can anyone please advise as to what I am doing wrong? As you can probably guess .htaccess isn't my strongest SEO discipline! The code I have is: http:// to http://www. RewriteEngine on
Technical SEO | | TrevorJones
RewriteCond %{HTTP_HOST} ^mydomainexample.com
RewriteRule (.*) http://www.mydomainexample.com/$1 [R=301,L] /index.php to / Options +FollowSymLinks
DirectoryIndex index.php RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.php\ HTTP/
RewriteRule ^index.php$ http://www.mydomainexample.com/ [R=301,L] Subdirectory /index.php to / RewriteCond %{THE_REQUEST} ^[A-Z]+\ /([^/]+/)index.(php|html|htm?)[#?]?
RewriteRule ^(([^/]+/))index.(php|html|htm?)$ http://www.mydomainexample.com/$1 [R=301,L] Just to add to this I have found this which I think is what I need to restrict it to GET: RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,L] Thank you in advance for any suggestions as to how I may put this code together.. Trevor0