vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - vBSEO Search Engine XML Sitemap (https://vborg.vbsupport.ru/showthread.php?t=253516)

briansol 11-22-2010 12:05 AM

Quote:

Originally Posted by Jigsaw! (Post 2123251)
The .htaccess file is located in the root of my vBulletin, in vbseo_sitemap/data i cannot access it the htaccess file says "deny from all" checked in notepad.


do not touch the data/ htaccess file. That is there for security reasons since it is a writable folder.

where showthread.php is, the htaccess file should be placed in the same location.

briansol 11-22-2010 12:08 AM

Quote:

Originally Posted by Jigsaw! (Post 2123330)
All done, but still the same thing, i edited the .htaccess in the data folder and set the folder to 777, should i also recurse in sub directories too?, I uploaded everything the htaccess folder into root, includes and vbseo_sitemap folder, everything is working fine, apart from the sitemap links showing me a 404 error.

Assuming an apache DSO instance of php,
the data FOLDER should be 777. The items contained with it should be 644.
If you're on fast cg, etc, your items may be marked differently, perhaps 640. Consult your host for more info on proper security settings for files.

do not upload the htaccess FOLDER.
upload the .htaccess FILE in the htacces FOLDER to your site root, as outlined in the instructions.

There are 10 different webserver rewrite modules in the folder.... if you're on apache, you need to .htaccess one.

briansol 11-22-2010 12:09 AM

Quote:

Originally Posted by jarni (Post 2123627)
Im having the same problem for some reason it always thinks that my sitemap is in Sitemap Index: http://m2mscoop.com/forum/sitemap_index.xml.gz

As my forum is in my root directory, that folder doesn't even exist. Is there a way to have the sitemap installed into my root directory? I think it worked 1 time but never since then.


Check that your vboptions -> vbseo sitemap options -> Sitemap Files url is left BLANK.

99.99% of the time, this should be left blank.

briansol 11-22-2010 12:12 AM

Quote:

Originally Posted by eng999 (Post 2123898)
how can i make topics will be always in sitemap without i make run sitemap after every topic???


you don't. It's designed to be run once a day, per the task.


You can run it multiple times a day by altering the scheduled task, but this is not recommended and un-necessary. Bots will still crawl your site and find new links. This just helps gets the deep linked pages (like, page 6 that doesn't have a link from the thread start on a 10 page thread) noticed and followed.

Remember, the sitemap is only a guideline of urls to visit. It is not a be-all "bots will only visit" list.

briansol 11-22-2010 12:14 AM

Quote:

Originally Posted by idwpub (Post 2124074)
I've installed and i'm getting the following when I run the generator -

Please try re-FTP'ing all files again and re-import the product with over-write.

Please try disabling all other plugins any try to run it again. If it runs, re-enable one at a time and re-run until it doesn't work anymore, and you have found the conflicting plugin to report to us.

briansol 11-22-2010 12:16 AM

Quote:

Originally Posted by cdement (Post 2123091)
It is working just great now! Only other problem I seem to run into is the medialibrary add-on. I also use the vba add-on as well but it doesn't seem to matter if I have them both in the add-on setting box in the options or just have medialibrary only in there. I get a sitemap error that looks something like this:

Code:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://MYSITE.com/vbseo_sitemap/vbseo_getsitemap.php?s...

  <loc>http://MYSITE.com/media.php?do=details&mid=1</loc>
--------------------------------------------...

Have any ideas what I could be doing wrong or if there is something to correct?


& should be &amp; in xml. The add-on is incorrect and should be edited.

Note, the addons folder is mostly user-generated from vbseo users, who thus make pretty urls like media/media-title/ and never print dynamic urls to the sitemap for non-vbseo customers.

cdoyle 11-22-2010 12:34 AM

I'm trying to add the sitemap to google tools, but it doesn't seem to be working.

The path should be
forums/vbseo_sitemap/data/sitemap_index.xml.gz

right?

I get this error
General HTTP error: HTTP 403 error (Forbidden)
We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.

briansol 11-22-2010 12:35 AM

Quote:

Originally Posted by lgnd (Post 2123216)
Thanks for the upgrade!
Ran into the following error, disabled the tags and now it's working!

Code:

Database error in vBulletin 4.0.8:

Invalid SQL:

          SELECT COUNT(*) as cnt,max(lastpost) as lastupdate
          FROM vbulletinthread AS thread
          INNER JOIN vbulletintagcontent AS tagcontent ON
          (tagcontent.tagid = 356 AND tagcontent.contentid = thread.threadid)
          WHERE thread.forumid IN()
          AND thread.visible = 1
          AND thread.sticky IN (0, 1)
          AND thread.open <> 10
          GROUP BY tagcontent.tagid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
          AND thread.visible = 1
          AND thread.sticky IN (0, 1)' at line 5
Error Number  : 1064
Request Date  : Wednesday, November 17th 2010 @ 06:45:43 PM
Error Date    : Wednesday, November 17th 2010 @ 06:45:43 PM
Script        : http://www.honda-legend.hu/vBulletin/vbseo_sitemap/vbseo_sitemap.php
Referrer      : http://www.honda-legend.hu/vBulletin/vbseo_sitemap/index.php?rlist=true
IP Address    : 81.183.89.39
Username      : Nem regisztr?lt
Classname    : vB_Database
MySQL Version :



WHERE thread.forumid IN()

should have a group of fourms in there.

ie,

WHERE thread.forumid IN(1,2,3)


is tag id 361 in a public forum?

you can run a manual query in phpmyadmin to find the theread:
SELECT *
FROM tagcontent
where tagid = 361


that should give you the postid that you can then find (content ID)

briansol 11-22-2010 03:37 AM

Quote:

Originally Posted by cdoyle (Post 2124473)
I'm trying to add the sitemap to google tools, but it doesn't seem to be working.

The path should be
forums/vbseo_sitemap/data/sitemap_index.xml.gz

right?

I get this error
General HTTP error: HTTP 403 error (Forbidden)
We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.

No, you should add the htaccess file (or add the rule to your existing file) and submit

Code:

http://www.site.com/forums/sitemap_index.xml.gz
The data/ folder is NOT directly accessible for security reasons (since it's writable, not being callable stops any rogue scripts from running).

SEW810 11-22-2010 04:14 AM

Hello

Maaaan, here I go again.

My password is defined. Now, when I try to http://www.mysite.com/my_vb_path/vbseo_sitemap/ it request me a user name.

Hell, I've tryed with my nick name, "admin" word, and nothing works.
What easy thing am I doing wrong?

Regards

http://www.seusers.com/vbulletinrepo...o_site_map.jpg


All times are GMT. The time now is 05:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01540 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete