Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2016, 12:40 AM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to remove vbSEO without control panel access?

My site was causing browser errors re "too many redirects", and I was unable to access the site or Admincp.

I found this advice on editing the .htaccess file and that partially fixed the problem - the site now comes up, but when I click on a forum link or thread link, it just reloads the homepage.

I can now get into Admincp, but when I click on the vbSEO control panel link it just loads my site home page, so I can't disable vbSEO that way.

In case it makes any difference, my forums are in mydomain/forum/ and I have RewriteBase /forum/ enabled

There is also a .htaccess file in the root public folder or the domain that contains the following rule which just redirects all requests to the /forum/ folder;

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com\.au/forum
RewriteRule (.*) http://www.mydomain.com.au/forum/ [L,R=301]
Reply With Quote
  #2  
Old 08-19-2016, 01:44 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use this article to disable your mods (regain admincp access) https://vborg.vbsupport.ru/showthread.php?t=259619 *Simply add the disable hooks code at the top of config first, then follow other info if that does not restore admincp access first.

*You may also need to temporarily rename .htaccess to .htaccess1 or similar if login issues still persist after disabling hooks.

As for the vbseo password, if it was a newer version of vbseo then find the config file and edit it - the config.xml is located in: /vbseo/resources/xml/config.xml

Find the lines:
Code:
<setting>
<name>VBSEO_ADMIN_PASSWORD</name>
<value>635182cbab83bcdg50a83993c933r4bf</value>
</setting>
<setting>
The <value>#######</value> will be different than the above, that is the encrypted password. Simply remove it as shown:
Code:
<setting>
<name>VBSEO_ADMIN_PASSWORD</name>
<value></value>
</setting>
<setting>
*Save the file, re-upload the config.xml file. Now when you return to access the vBSEO control panel it will no longer require a password to access but instead ask you to enter in a new password instead . Once you're done don't forget to chmod the config.xml back to 644 instead of 777 so it's "secured" although to be honest vBSEO is no long secure, you should revert and use mod rewrite friendly url's within vBulletin 4 or switch to DBSEO (if you switch from vBSEO to DBSEO be sure you do not uninstall vBSEO until DBSEO is installed and all links work as they did prior, once you confirm DBSEO works as you wish then uninstall vBSEO).
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 08-19-2016, 02:14 AM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks TheLastSuperman

I can access Admincp, but I can't get into the vbSEO Control Panel to turn vbSEO off. When I click on the vbSEO Control Panel, it just loads the forum home page.

I have disabled hooks and that didn't make any difference.

I tried renaming .htaccess, but then the site won't come up at all.

Any other ideas before I start trying database edits?
Reply With Quote
  #4  
Old 08-19-2016, 10:36 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevinh View Post
I tried renaming .htaccess, but then the site won't come up at all.
vBulletin does not need an .htaccess file, so you must have some serious set-up issues if it fails without one.
Reply With Quote
  #5  
Old 08-19-2016, 06:54 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevinh View Post
Many thanks TheLastSuperman

I can access Admincp, but I can't get into the vbSEO Control Panel to turn vbSEO off. When I click on the vbSEO Control Panel, it just loads the forum home page.

I have disabled hooks and that didn't make any difference.

I tried renaming .htaccess, but then the site won't come up at all.

Any other ideas before I start trying database edits?
Okay so try:
- Leave .htaccess alone, if it was renamed then rename it back to original name .htaccess.
- Disable hooks via the code you add to config.php.
- Login to admincp.
- Disable vBSEO. (DO NOT UNINSTALL if you're even considering going to DBSEO, if you uninstall all your old url hierarchy and other settings will be lost).
- Change Friendly URLs setting via: Admincp > Settings > Options > Friendly URLs > *Set this to "Standard URLs" and save.

Now check the site, does it load without issue?

*If you cannot get into admincp at all, use the article I linked to above to reset admincp access i.e. disable hooks via config.php code AND disable all hooks per the sql query provided by Steve M. - that should give you access to admincp again. If anything perhaps your admin rights were revoked or changed... it's a possibility so check the user table, find your username by name or id and see if your usergroup id is set to 6 or not.
Reply With Quote
  #6  
Old 08-20-2016, 12:33 AM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
vBulletin does not need an .htaccess file, so you must have some serious set-up issues if it fails without one.
It does if you have vbSEO installed and enabled, which I do

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

Quote:
Originally Posted by TheLastSuperman View Post
Okay so try:
- Leave .htaccess alone, if it was renamed then rename it back to original name .htaccess.
- Disable hooks via the code you add to config.php.
- Login to admincp.
- Disable vBSEO. (DO NOT UNINSTALL if you're even considering going to DBSEO, if you uninstall all your old url hierarchy and other settings will be lost).
At this point the site started working.

I had been trying to get into the vbSEO control panel to disable it - I forgot I could just disable it from Products in Admincp!

However, I have now lost all my SEO friendly URLs, and my site did have a very good SERP ranking so I really need to do something about this.

Quote:
Originally Posted by TheLastSuperman View Post
- Change Friendly URLs setting via: Admincp > Settings > Options > Friendly URLs > *Set this to "Standard URLs" and save.
Do I still need to do this bit if I am considering going to DBSEO?

I'd never heard of DBSEO so I need to investigate this.

Thanks for all your help!
Reply With Quote
  #7  
Old 08-20-2016, 03:08 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevinh View Post
It does if you have vbSEO installed and enabled, which I do

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



At this point the site started working.

I had been trying to get into the vbSEO control panel to disable it - I forgot I could just disable it from Products in Admincp!

However, I have now lost all my SEO friendly URLs, and my site did have a very good SERP ranking so I really need to do something about this.



Do I still need to do this bit if I am considering going to DBSEO?

I'd never heard of DBSEO so I need to investigate this.

Thanks for all your help!
Setting to standard URL's was my advice IF you could not access admincp, so now that vBSEO is disabled you can upload the .htaccess for the site from the vBulletin zip file. Now set it to Mod Rewrite Friendly URL's. After making that change URL's will appear similar to how they did prior with vBSEO but not the same, you can now look up rewrite examples here on vb.org (removing vbseo has been discussed many time but remember do not uninstall if considering dbseo like you said).

Remember though, you won't get the exact same url's with mod rewrite friendly setting, most maybe but if you had a custom setup before imho the only way to return to nearly the same setup would be with dbseo, you'll need to confirm this with them as it's a paid modification and we shant be discussing it in detail here, you can post on their site and ask the specific questions you need to there (simply google "vBulletin Dragonbyte Tech" and their site will come up in the list).
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 08:46 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.06535 seconds
  • Memory Usage 2,247KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete