Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Tips, Tricks & Tutorials
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Old February 22nd, 2012, 11:48 AM
keithlefty keithlefty is offline
Join Date: Mar 2009
Posts: 42
Default Creating SEO Pages from filtered category views


I have been following the tutorial here
(great job - thanks!)

and got everything working OK but I am now thinking about how to get those filtered store category pages optimised and indexed.

This is a golf site so as an example I have a category of "Drivers" in the store that contains all mens golf drivers and then I allow it to be filtered by brand so you can get a page that is, e.g Callaway Drivers and that is the term I want to be in search results for.

The filtered pages do not seem to appear in the store sitemap and it would be great to get a list of them somehow. I could produce a manual index page to provide links to all the filtered pages I want covered and get them indexed that way, but that would ned constantly maintaining. I would also like to optimise the category/brand pages more.

I have used Eric's code to generate a dynamic <title> tage and page heading but really need to add more SEO content - meta description and keywords (for what they are worth), page description (about callaway drivers), callaway drivers image etc. and do not think there will be a way to do that in datafeedr without creating a lot more views.

One thought is to somehow add section image and description code to a single view but make it dynamic, so that it will automatically insert the brand name in appropriate places, a bit like the title, but I have no idea how to do it. Same with image, could dynamically generate an image name and Alt Tag with the brand in it and I could then create an image file and upload with the appropriate name so it will show.

If it can be done dynamically, it would keep these product/brand pages in line with the store and build new ones as new categories / brands / products appear in the store.

A different approach is to manually create wordpress pages for each of my target category/brand combination and add optimised content manually, then use a DFR shortcode to list the relevant products from the store. This is more work but gives much better control of the content plus does give a static page to aim incoming links at, appears in the main navigation, sitemap etc. The downside is that the pages are not being generated from the current live store (althought the products are) so if a brand is added or removed in the live store it will not reflect in these pages.

I can get the shortcode for showing the whole category products list working, e.g.
to list all the drivers
but I somehow need to get it filtered for just the callaway brand as well.

I have tried
but no success.
Is it possible to use two parameters on a shortcode and if so how would it work?

I would be very interested in anyone's thoughts on this.

Old February 22nd, 2012, 12:20 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902


The only way I can think of to make it easier to display dynamic content is by using PHP in your views. Analyze the URL or the filters being used and then include() a text file containing the unique content.

This code is right: [DFR:category?c=800604&brand=callaway]

But it's probably not working because the merchant has not included the product's brand name in their data feed. So, you could do this: [DFR:category?c=800604&word=callaway]. In most cases, that will give you the desired effect.

Old February 22nd, 2012, 12:38 PM
keithlefty keithlefty is offline
Join Date: Mar 2009
Posts: 42

Thanks Eric, appreciate your fast response as always.
Using "word" works well as you can see on the page here

I think the brand must be there in the feed somewhere as it works fine as a filter in the store (and my brand filter widget is using query='brand=callaway')

I need to play with the css in the main wp style.css to get things displaying properly and somehow remove the store category title and breadcrumb from the top of the view (any ideas?)

I would like to explore further using php to generate dynamic category descriptions on the filtered store pages and also image names but am no php expert. Do you have any code that might get me started and I can edit a bit?

Any ideas will be welcome but I do now have a way of getting this started.

Thanks again, Keith
Old February 22nd, 2012, 02:56 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902


I've posted some examples of include() here: /showthread.php?t=5952

You can remove the Breadcrumb by deleting the Breadcrumb module from the view. There's also a text module in your views that displays the category title... just remove that, too.

Old February 22nd, 2012, 03:03 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

Actually, this post might be more helpful: /show...6994#post16994

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page titles and meta descriptions on filtered pages digitalcow Tips, Tricks & Tutorials 4 February 13th, 2012 02:54 PM
Turn views into indexable pages schemjo Questions 10 August 22nd, 2011 01:05 PM
Creating unique but shortened Category meta tag descriptions redspan Questions 2 August 15th, 2011 12:25 PM
Cannot edit the Views HTML for the Category module in the Factory mommy007 Problems 2 June 8th, 2011 09:10 AM
How to Sort Custom Category Views patagonia Questions 1 March 17th, 2011 01:29 PM

All times are GMT -5. The time now is 12:51 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.