Results 1 to 8 of 8

Sitemap links are not correct which are pointing to my gallery

This is a discussion on Sitemap links are not correct which are pointing to my gallery within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Anybody have any idea why my sitemap is missing the gallery/ part of the link: Code: http://www.coinforums.com/armenian-kingdom-of-cilicia/p1373-oshin1308-1320ar-t.html There should be ...

  1. #1
    Member
    Real Name
    Greg
    Join Date
    Aug 2009
    Posts
    64
    Liked
    0 times

    Sitemap links are not correct which are pointing to my gallery

    Anybody have any idea why my sitemap is missing the gallery/ part of the link:

    Code:
    http://www.coinforums.com/armenian-kingdom-of-cilicia/p1373-oshin1308-1320ar-t.html
    There should be a gallery/ after .com/

    Thanks,

    Greg

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Did you define a custom path in the sitemap options for the file location? 99.999% of the time, that setting should be left blank.

  3. #3
    Member
    Real Name
    Greg
    Join Date
    Aug 2009
    Posts
    64
    Liked
    0 times
    No the 'Sitemap Files URL' section is blank.

    It doesn't have to do with my rewrites, does it?

    HTML Code:
     
    RewriteEngine On
    Options +FollowSymLinks
    # ** Start Redirect coinforums.com
    RewriteCond %{HTTP_HOST} ^(www\.)?uscoininfo\.com
    RewriteRule (.*) http://www.coinforums.com/ [R=301,L]
    # ** End Redirect from CoinForums.com
    # Old USCoinInfo.com Site
    # RewriteCond %{HTTP_HOST} ^uscoininfo\.com
    # RewriteRule (.*) http://www.uscoininfo.com/$1 [L,R=301]
    # **** Gallery ****
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
    RewriteRule ^gallery/(.*)/p([0-9]+)-(.*)-cpage([0-9+]).html$ gallery/showphoto.php?photo=$2&cpage=$4 [L]
    RewriteRule ^gallery/(.*)/p([0-9]+)-(.*).html$ gallery/showphoto.php?photo=$2 [L]
    RewriteRule ^gallery/(.*)/p([0-9]+).html$ gallery/showphoto.php?photo=$2 [L]
    RewriteRule ^gallery/g([0-9]+)-(.*)-page([0-9]+).html$ gallery/showgallery.php?cat=$1&page=$3 [L]
    RewriteRule ^gallery/g([0-9]+)-(.*).html$ gallery/showgallery.php?cat=$1 [L]
     
    RewriteRule ^gallery/(.*)/index([0-9]+)-([0-9]+).html$ gallery/index.php?cat=$2&page=$3 [L]
    RewriteRule ^gallery/(.*)/index([0-9]+).html$ gallery/index.php?cat=$2 [L]
    RewriteRule ^gallery/m([0-9]+)-(.*)-protype([0-9]+).html$ gallery/member.php?uid=$1&protype=$3 [L]
    RewriteRule ^gallery/m([0-9]+)-(.*).html$ gallery/member.php?uid=$1 [L]
    RewriteRule ^gallery/board.html$ gallery/board.php [L]
    RewriteRule ^gallery/b([0-9]+)-(.*).html$ gallery/board.php?msg=$1 [L]
    RewriteRule ^gallery/u([0-9]+)-(.*)-page([0-9]+).html$ gallery/showgallery.php?ppuser=$1&page=$3 [L]
    RewriteRule ^gallery/u([0-9]+)-(.*).html$ gallery/showgallery.php?ppuser=$1 [L]
    RewriteRule ^gallery/s([0-9]+)-(.*)-page([0-9]+).html$ gallery/showmembers.php?cat=$1&page=$3 [L]
    RewriteRule ^gallery/s([0-9]+)-(.*).html$ gallery/showmembers.php?cat=$1 [L]
     
    # **** Gallery End ****
    # vBSEO
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    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]
    # vBSEO End
     

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    It's possible.

    I would suggest putting the gallery rules in the gallery folder .htaccess file and trim the gallery/ prefix on the urls.

    It could also be within the addon file itself. you may need to prefix the path in there.

  5. #5
    Member
    Real Name
    Greg
    Join Date
    Aug 2009
    Posts
    64
    Liked
    0 times
    Tried the .htaccess in the gallery folder, that didn't work... (trimmed it too).

    As for the addon file itself, what do you mean (could you reiterate)?

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    The addon module you are using may need to be updated. a vb4 version has not been released and it may need a chgdir() call or something to get the base directory correct. You may need to simply hard code gallery/ in there somewhere.

  7. #7
    Member
    Real Name
    Greg
    Join Date
    Aug 2009
    Posts
    64
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    The addon module you are using may need to be updated. a vb4 version has not been released and it may need a chgdir() call or something to get the base directory correct. You may need to simply hard code gallery/ in there somewhere.
    Still can't get this to work...

    Do you have any other ideas? It was working fine in the old domain.. :(

  8. #8
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    please open a ticket with log details so we can investigate

Similar Threads

  1. Add redirect for not correct or not found forums links
    By Riccardo79 in forum General Discussion
    Replies: 0
    Last Post: 10-01-2009, 01:01 PM
  2. Replies: 2
    Last Post: 04-24-2009, 02:54 PM
  3. Pointing to the vbSEO Links
    By nick-harper in forum General Discussion
    Replies: 7
    Last Post: 01-22-2009, 08:52 PM
  4. Some Go To Last Post Links Not Correct.
    By noppid in forum Troubleshooting
    Replies: 3
    Last Post: 11-07-2006, 06:40 PM
  5. gallery and Links rewrite from vbadvanced
    By TraumTeam in forum Custom Rewrite Rules
    Replies: 1
    Last Post: 10-25-2005, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •