PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Problem with sitemap - index wrong path (http://www.photopost.com/forum/photopost-pro-bug-reports/146118-problem-sitemap-index-wrong-path.html)

just77me July 7th, 2011 04:41 PM

Problem with sitemap - index wrong path
 
what is very strange we got very high erros because of a wrong path...
it says that the page to pictures cant be found...here
http://www.forum.de/forumpfad/galeri...2347-text.html
well the pictures are not aht the path / forum/ they are in the root like this
but the webmastertools has so many erros because they search for those pictures at /forum/
http://www.forum.de/galerie/19-09-20...2347-text.html

we run the photopost gallery for that

but the main problem is that our forum is so poos in the index now and google doesnt even show us with that content - the blog and videos are showing up but not the forum itself...

it would be so great if someone here could help us very soon and good - we are even willing to pay for help,
but we need help soon and urgent.

thank you very much.

.htacces in the root

RedirectMatch ^http://www.url.de/$ http://url.de/content.php
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301]
.htacces in the forum
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.seechat\.de
RewriteRule (.*) http://www.url.de/forum/$1 [L,R=301]
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
maybe the htaccess in the forum is wrong?

Quote:

this is done via
an add-on on admincp (vbseo-sitemap)

Addon Generator Modules (in
Set the addon module names here, one name per line. The modules files are located in vbseo_sitemap/addons/ folder.
vbseo_sm_pp

<? # vbSEO Google Sitemap Generator - PhotoPost Add On.
# Written by Ben Griffiths (The FIAT Forum - For Talk On All Things FIAT)


# NOTE: THIS ONLY WORKS IF YOUR PHOTOPOST DB IS THE SAME AS YOUR VB ONE


# Full HTTP path to your gallery root (including trailing forwardslash)
$gallery_url = 'http://www.oururl.de/photopost/';


# Priority you want to assign to the sitemap pages
$sitemap_priority = 0.5;


# How often you wish to flag for updates
$sitemap_update = 'weekly';


# PP Table Prefix
$pp_tableprefix = 'pp_';


# Database (only edit if you have PP in a different database than vB)
$other_db = FALSE;
$db_name = "";
$db_host = "";
$db_user = "";
$db_pass = "";




# DON'T EDIT PAST HERE #############################################


if ($other_db == TRUE)
{
$mysql = mysql_connect($db_host, $db_user, $db_pass) or die("Please check your database settings.");
mysql_select_db($db_name);
$photos = mysql_query('SELECT id,lastpost,date FROM ' . $pp_tableprefix . 'photos');
}
else
{
$photos = $db->query_read('SELECT id,lastpost,date FROM ' . $pp_tableprefix . 'photos');
}




while ($photo = $db->fetch_array($photos))
{
if ($photo['lastpost'] > $photo['date'])
{
$modified = $photo['lastpost'];
}
else
{
$modified = $photo['date'];
}


vbseo_add_url(
$gallery_url . 'showphoto.php?photo=' . $photo['id'],
$sitemap_priority, $modified, $sitemap_update
);
}
?>

just77me July 7th, 2011 04:42 PM

can u please help us that we get away thos errors in the google webmaster tools thank you very much

Chuck S July 7th, 2011 07:33 PM

If you have a problem with some type of application your using you can request support from the proper company. I would not be able to assist you with support for VBSEO or its files. I am sure VBSEO can assist you with there program and how to alter to maybe make things work with other programs than what it was written for.


All times are GMT -5. The time now is 06:49 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97