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)

bzcomputers 05-15-2013 12:33 PM

Quote:

Originally Posted by joeychgo (Post 2422145)
Nope. No vBseo either

Although I moved the forum into a new directory when I upgraded it, and have 301 redirects in place for that.

mod rewrite must be enabled if you ever want that .htaccess line to work

joeychgo 05-15-2013 12:42 PM

Quote:

Originally Posted by bzcomputers (Post 2422203)
mod rewrite must be enabled if you ever want that .htaccess line to work

Ok, what do you mean by enabled? I thought you were asking if I had mod rewrite urls, which I do not.

bzcomputers 05-15-2013 01:04 PM

Quote:

Originally Posted by joeychgo (Post 2422208)
Ok, what do you mean by enabled? I thought you were asking if I had mod rewrite urls, which I do not.

mod_rewrite is an Apache module that must be enabled on your server in order to use rewrite rules like "ReWriteRule ...".


http://httpd.apache.org/docs/current...d_rewrite.html

joeychgo 05-15-2013 02:19 PM

Yes, the apache module is enabled and active.

bzcomputers 05-15-2013 03:57 PM

Quote:

Originally Posted by joeychgo (Post 2422224)
Yes, the apache module is enabled and active.

Alright I'll need to know a couple things.


1) What is the structure of your website. Is your forum in the root or in a subdirectory like www.xxx.com/forums/?


2) Did an .htaccess file already exist or are you creating it new now?

joeychgo 05-15-2013 04:03 PM

<a href="http://www.lincolnvscadillac.com/forum/forum.php" target="_blank">http://www.lincolnvscadillac.com/forum/forum.php</a>

I have an htaccess in the domain root, but not the forum directory, so I would be creating one.

Its important to note again. The htaccess in the domain root has redirects in it. The site used to be in the domain root, now its in the /forum/ directory, and those redirects are 301s to bring things from the old structure to the new.

I suspect that's the problem.

bzcomputers 05-15-2013 04:27 PM

Quote:

Originally Posted by joeychgo (Post 2422256)
http://www.lincolnvscadillac.com/forum/forum.php

I have an htaccess in the domain root, but not the forum directory, so I would be creating one.

Its important to note again. The htaccess in the domain root has redirects in it. The site used to be in the domain root, now its in the /forum/ directory, and those redirects are 301s to bring things from the old structure to the new.

I suspect that's the problem.

You are correct it is probably related to the root .htaccess redirects.

Try these two options (separately):

1) Try adding: "RewriteBase /forum" above the RewriteRule in your forum .htaccess

2. Try adding this above all your redirect rules in your website root: RewriteRule ^forum/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

joeychgo 05-15-2013 04:55 PM

Looks like #2 worked -- thank you!

bzcomputers 05-15-2013 07:04 PM

Quote:

Originally Posted by joeychgo (Post 2422272)
Looks like #2 worked -- thank you!

Let me recommend one other thing. Renaming forum.php to index.php. Then change the setting in Forums Home: Options - Script Name for Forum Home Page to also reflect this change. This way you can just direct users to http://www.lincolnvscadillac.com/forum/

joeychgo 05-15-2013 07:27 PM

Yeah, was thinking about that myself


All times are GMT. The time now is 05:54 AM.

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.02072 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)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