Lee Willis
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportThanks!
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceHi – I’ve taken a first stab at this – but I’ve only got access to a really simple (1 category, 1 product) shop to test it on.
Download this file:
and save it in wp-content/plugins/
Then activate the plugin (It will show up as “WP Shopping Cart XML Sitemap”), then rebuild your sitemap (Settings->XML Sitemap->Rebuild Sitemap) and you should get entries added for your categories and products.
Let me know if you have any problems, or if it works for you – you can contact me through my blog at https://www.leewillis.co.uk
If you do have problems then just disable the plugin, and rebuild your sitemap.
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceI’m looking at this, and while it *should* be simple – I can’t get it to generate proper permalinks for the products / categories. I’ll let you know if I get any further.
Forum: Plugins
In reply to: How should you write a WordPress Application?Can this be moved into the advanced forum – seems it might be better placed there?
I’m guessing that there are only 16 wordpress posts / pages, and the rest of the pages you’re referring to are from your ecommerce plugin?
If so, then the problem will be that this plugin has no way to identify these “pages”. The good news is that the plugin offers a filter that your ecommerce plugin can use to add its pages into the sitemap – I suggest you contact whoever develops your ecommerce plugin and ask them to consider adding the functionality.
Forum: Fixing WordPress
In reply to: [Plugin: Canonical URL’s] Support for Custom Taxonomy PagesHi Luciano,
There’s a patch to implement this here:
https://www.leewillis.co.uk/patches/canonical-urls-taxonomy-support/patch.txt
Hope that helps.
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportI’ve updated the patch against 3.1.6, and also made it generate a modification time based on the the last update time of an article tagged with that taxonomy term.
The revised patch is here:
https://www.leewillis.co.uk/patches/google-sitemap-generator/include_taxonomies_v3.1.6.txt
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportI’ve updated the patch to match the new version 3.1.5.
It’s in the comments at https://www.leewillis.co.uk/custom-taxonomies-wordpress-plugins/
Forum: Fixing WordPress
In reply to: [Plugin: Google XML Sitemaps] Not indexing static page?Hi, I just realized my static pages are ignored by the plugin, is it normal?
Have you got “Include static pages” selected in the plugin options?
Because my blog has many static pages so if the sitemap doesn’t include them, then Google won’t index them and the sitemap is no use at all…
Google will still index your pages as long as they are linked somewhere on your site. Just because they don’t appear in your XML sitemap doesn’t mean they’re invisible.
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportI’ve emailed the author to try and get it included upstream – fingers crossed!
Forum: Plugins
In reply to: [Plugin: Google Analytics for WordPress] Don’t tag blogroll links to site URLIn 3.2.1 – thanks!
Forum: Plugins
In reply to: Google Analytics for WordPress Cannot Handle .co.za Domains?Try replacing the body of the ga_get_domain function with this one:
$hostPattern = "/^(http:\/\/)?([^\/]+)/i"; $domainPatternUS = "/[^\.\/]+\.[^\.\/]+$/"; $domainPatternUK = "/[^\.\/]+\.[^\.\/]+\.[^\.\/]+$/"; preg_match($hostPattern, $uri, $matches); $host = $matches[2]; if (preg_match("/.*\..*\..*\..*$/",$host)) { preg_match($domainPatternUK, $host, $matches); } else { preg_match($domainPatternUS, $host, $matches); } return array("domain"=>$matches[0],"host"=>$host);
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportGlad it works for you!
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportIf you have a UNIX box, then use the -p1 argument with patch, e.g.
$ cd wp-content/plugins/
$ patch -p1 < path.to.my.patch.fileShould do it. Failing that, just grab the following two files, and put them into wp-content/plugins/google-sitemap-generator/
https://www.leewillis.co.uk/patches/google-sitemap-generator/sitemap-core.php
https://www.leewillis.co.uk/patches/google-sitemap-generator/sitemap-ui.phpAs I mentioned previously though – this has only been tested on my site, and while it seems to work – I can’t guarantee it will work on yours – so please take a backup of sitemap-core.php and sitemap-ui.php before you start!
Let me know how you get on
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportIf you like it – vote for it here:
https://xmlsitemap.uservoice.com/pages/651-general/suggestions/274884-support-wordpress-taxonomies