Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2010, 01:53 PM
vortech1 vortech1 is offline
 
Join Date: Jun 2002
Location: Orlando
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBSEO and vbadvanced issues..

Ok my forum is setup like this and I hope someone here can follow this as vBSEO support is useless.

stuntusa.com/index.php is vbadvanced and should look like VBA but it does not it looks like the forum.

stuntusa.com/cmps_index.php does look right.

My forum is at stuntusa.com/forums/ everything looks right.

So I put this in my DirectoryIndex cmps_index.php and it solved the issue kind of but now when you are in my forums and you click home it takes you to stuntusa.com/index.php the none working page.

I simple want to use index.php as VBA and forums/index.php as my forum. This seems simple and has worked for years until I installed vBSEO.

This is the htaccess I have installed right NOW that allows VBA to at least show using DirectoryIndex cmps_index.php rather then the messed up index.php that is just a copy of cmps_index.php.. I got everything else in the htaccess from vBSEO I did not have an htaccess file before installing this.


Code:
# 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

# 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 /

DirectoryIndex cmps_index.php

RewriteCond %{HTTP_HOST} !^www\.stuntusa\.com
RewriteRule (.*) http://www.stuntusa.com/$1 [L,R=301]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]


RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

Can any one tell me what the issue is that has used VBA and vBSEO together with your forums in a sub folder. I just can't seem to get it to work and there support is not offering any solutions that work. lol So I thought I would try here..
Reply With Quote
  #2  
Old 01-19-2010, 02:29 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should ask this at either the vBSEO or the vBAdvanced forums. We can not provide for support on modifications that are released elsewhere.
Reply With Quote
  #3  
Old 01-19-2010, 02:46 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vortech1 View Post
Ok my forum is setup like this and I hope someone here can follow this as vBSEO support is useless.

stuntusa.com/index.php is vbadvanced and should look like VBA but it does not it looks like the forum.

stuntusa.com/cmps_index.php does look right.

My forum is at stuntusa.com/forums/ everything looks right.

So I put this in my DirectoryIndex cmps_index.php and it solved the issue kind of but now when you are in my forums and you click home it takes you to stuntusa.com/index.php the none working page.

I simple want to use index.php as VBA and forums/index.php as my forum. This seems simple and has worked for years until I installed vBSEO.

This is the htaccess I have installed right NOW that allows VBA to at least show using DirectoryIndex cmps_index.php rather then the messed up index.php that is just a copy of cmps_index.php.. I got everything else in the htaccess from vBSEO I did not have an htaccess file before installing this.


Code:
# 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

# 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 /

DirectoryIndex cmps_index.php

RewriteCond %{HTTP_HOST} !^www\.stuntusa\.com
RewriteRule (.*) http://www.stuntusa.com/$1 [L,R=301]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]


RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

Can any one tell me what the issue is that has used VBA and vBSEO together with your forums in a sub folder. I just can't seem to get it to work and there support is not offering any solutions that work. lol So I thought I would try here..
Quote:

DirectoryIndex cmps_index.php
your directory index should look like this DirectoryIndex /forums/
Reply With Quote
  #4  
Old 01-19-2010, 03:12 PM
vortech1 vortech1 is offline
 
Join Date: Jun 2002
Location: Orlando
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
your directory index should look like this DirectoryIndex /forums/
that did not work either.

At the top of my forums I have home page it links to stuntusa.com/index.php hot can i change it to link to stuntusa.com/cmps_index.php

Because with DirectoryIndex cmps_index.php everything looks to work besides the home page button now..

--------------- Added [DATE]1263921231[/DATE] at [TIME]1263921231[/TIME] ---------------

Quote:
Originally Posted by Marco van Herwaarden View Post
You should ask this at either the vBSEO or the vBAdvanced forums. We can not provide for support on modifications that are released elsewhere.
I have tried vBSEO support but they are zero help and take for every to answer so I thought I would ask here to see if any one has an idea.
Reply With Quote
  #5  
Old 01-20-2010, 07:29 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As your on a crap-panel server, you should place the files as such.

public_html or the symlinked www dir, rename cmps_index.php to index.php and upload it via ftp to public_html/www dir

Remove DirectoryIndex cmps_index.php from the .htaccess file

Remove any index.htm or .html file from public_html dir, crap-panel lists .html files to load first before a .php file in httpd.conf
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:03 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.05617 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete