Changeset 1359837
- Timestamp:
- 02/27/2016 08:44:42 PM (9 years ago)
- Location:
- local-geo-search/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
local-geo-search/trunk/admin/admin.geoseo.php
r1229736 r1359837 193 193 194 194 if($data['slug']!=$input['slug']) { 195 geo_seo_cacheSys::put('previousslug' , $data['slug'], $data['slug']);196 geo_seo_cacheSys::deleteCachedItem('sitemap' , 'sitemapjson');195 geo_seo_cacheSys::put('previousslug'.$input['websiteID'], $data['slug'], $data['slug']); 196 geo_seo_cacheSys::deleteCachedItem('sitemap'.$input['websiteID'], 'sitemapjson'); 197 197 } 198 198 -
local-geo-search/trunk/geoseo.php
r1359821 r1359837 4 4 * Plugin URI: https://www.localgeosearch.com 5 5 * Description: Local GEO Search creates hundreds of location specific pages on your site to target your services in your market. 6 * Version: 1.0.1 76 * Version: 1.0.18 7 7 * Author: Elite Impressions, LLC 8 8 * Author URI: http://www.localgeosearch.com -
local-geo-search/trunk/readme.txt
r1359821 r1359837 50 50 51 51 == Changelog == 52 = 1.0.18 = 53 * modified sitemap caching mechanism to prevent duplication on network sites 54 52 55 = 1.0.17 = 53 56 * changed sitemap generation to use full url instead of absolute path - fixes issue on network Wordpress sites -
local-geo-search/trunk/sitemapgen/fns.sitemap.php
r1359821 r1359837 3 3 function geo_seo_createGenericSiteMapData() { 4 4 5 $settings = geo_seo_getData(); 6 5 7 //take sitemap data up to 12 hours old... 6 $sitemapRawData = geo_seo_cacheSys::get('sitemap','sitemapjson', 43200); 8 if(!isset($settings['website']) || $settings['website']=='') { 9 return array(); 10 } 11 else { 12 $sitemapRawData = geo_seo_cacheSys::get('sitemap'.$settings['website'],'sitemapjson', 43200); 13 } 7 14 8 15 if($sitemapRawData===false) { 9 $settings = geo_seo_getData();10 16 11 17 $fullURL = geoseotools::full_url($_SERVER); … … 34 40 delete_option( 'geo_seo_error' ); 35 41 $sitemapRawData = $json['data']['sitemap']; 36 geo_seo_cacheSys::put('sitemap' ,'sitemapjson', json_encode($sitemapRawData));42 geo_seo_cacheSys::put('sitemap'.$settings['website'],'sitemapjson', json_encode($sitemapRawData)); 37 43 } 38 44 else { … … 112 118 $urls = geo_seo_createGenericSiteMapData(); 113 119 114 $previousSlugs = geo_seo_cacheSys::getCategory('previousslug' );120 $previousSlugs = geo_seo_cacheSys::getCategory('previousslug'.$settings['website']); 115 121 116 122 //remove old geo seo stuff
Note: See TracChangeset
for help on using the changeset viewer.