vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Stuck on Forum Home......Dummy Needs Help Please (https://vborg.vbsupport.ru/showthread.php?t=288404)

Toplink 09-30-2012 09:46 PM

Quote:

Originally Posted by Lynne (Post 2369851)
Well, why don't you just put it back to how it was?

Yep, tried that. First thing I tried. ......... No luck.

Just worried I will screw things up even more now.

I'll just havve to leave it 'as is' for now..........

Lynne 09-30-2012 11:49 PM

Are you sure you didn't touch any of your files also? It's like there is a redirect in place that no matter what you put as the URL (the page source has the correct URLs), you get redirected to the forum page.

CAG CheechDogg 10-01-2012 02:00 AM

That is what I think too , he has to have a redirect, look in your htaccess file and look for redirects.

Toplink 10-01-2012 07:06 AM

Quote:

Originally Posted by Lynne (Post 2369884)
Are you sure you didn't touch any of your files also? It's like there is a redirect in place that no matter what you put as the URL (the page source has the correct URLs), you get redirected to the forum page.

Nope, didn't touch any files. I wouldn't know how to.

Only changed the settings in Settings/Navigation Manager. Making Forum the default, instead of What's New.

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

This is the htaccess file........

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

#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)
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]
#--------------------------


Double Dutch to me. Does it look OK?

P.S. Seems to be two copies of this file. One in the root and one in the forums folder.

Lynne 10-01-2012 03:31 PM

Since you are not running vbseo and you are not using Mod Rewrite Friendly URLs, you should not have any .htaccess files. I'd suggest renaming them (like to a.htaccess) and then seeing if you still have the same problem.

Toplink 10-01-2012 08:23 PM

thanks, I'll try that

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

Thanks, that seems to have worked! Your help is very much appreciated.

When my tech guy gets back we'll have to work out what went wrong and how to get VB SEO working. I thought it was!

But at least we are back up and running.

Many thanks guys.

CAG CheechDogg 10-02-2012 08:00 PM

I didn't notice last time I saw your htaccess but the following is the redirect that was causing you to always go to you Forum Home:

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

Just remove that from your htaccess file and you will be fine.


All times are GMT. The time now is 12:00 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.01040 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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