Quote:
Originally Posted by KrisP
?? You told me in an earlier post that the sitemaps get created in data library and the .htaccess then points to the data library so google thinks the sitemap is in the root.
Anyway - the sitemaps gets created in the data library - when I install the mod...
EDIT:
In vbseo_sitemap_functions.php
Deleted: define('VBSEO_DAT_FOLDER', VBSEO_SMDIR . '/data/');
Changed: //define('VBSEO_DAT_FOLDER', dirname(__FILE__) . '/../'); // choose this to place sitemap files directly to your vB root
to
define('VBSEO_DAT_FOLDER', './'); // choose this to place sitemap files directly to your vB root
Now both sitemap_index.xml.gz and sitemap_1_xml.gz gets created in the root = Google can find the sitemap without the .htaccess modification = my problem solved.
|
I too had to do some editing.
I skipped the htaccess edit.
Edited: vbseo_sitemap_config.php
Find: define('VBSEO_DAT_FOLDER', VBSEO_SMDIR . '/data/');
Change to:
//define('VBSEO_DAT_FOLDER', VBSEO_SMDIR . '/data/');
Find:
//define('VBSEO_DAT_FOLDER', dirname(__FILE__) . '/../'); // choose this to place sitemap files directly to your vB root
Change to:
define('VBSEO_DAT_FOLDER', '/home/****/public_html/'); // choose this to place sitemap files directly to your vB root
I had to add the full directory to my config file to get it to work.