vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Upgrading to vb5 / vbseo help needed (https://vborg.vbsupport.ru/showthread.php?t=310410)

hirebuysell 04-11-2014 03:43 PM

Upgrading to vb5 / vbseo help needed
 
Hello,
We have forum which is running on vb 4 and vbseo is installed.
We'd like to upgrade to vb5.So before we upgrade we need to remove vbseo and want to do something for 301 url redirects.Please help me in url rewritting in .htaccess so we can upgrade to vb5 successfully.
Thanks
Regards

ForceHSS 04-11-2014 03:59 PM

Best thing you can do is stay with vb4 as vb5 is still in beta

cellarius 04-11-2014 08:15 PM

Quote:

Originally Posted by ForceHSS (Post 2492689)
Best thing you can do is stay with vb4

Correct. vB5 is crap, in my opinion.
Quote:

as vb5 is still in beta
But this has been wrong for well over a year, and given how much you're around here, you must know that, too. So why tell such (sorry) bs? It's not even true for vB5.1.

TheLastSuperman 04-11-2014 09:02 PM

Quote:

Originally Posted by cellarius (Post 2492728)
Correct. vB5 is crap, in my opinion.

But this has been wrong for well over a year, and given how much you're around here, you must know that, too. So why tell such (sorry) bs? It's not even true for vB5.1.

Ahh very true, it's not in Beta.

As for some, it's perfect for them as they don't need much however of the few issues I've worked on for clients running vB5 the issues are in fact ISSUES. I mean the ones that make me even scratch my head sooooo with that being said, that is why some might still feel like it's in Beta because they feel like all that "trouble" should label it so which is not true as I've come to find out. Does everyone run into these issues? No and usually they are quite odd and not seen on other sites running the same version (despite being on an identical hosting account with the same host) as I've ran into a few issues and had to refer them back to vBulletin Staff for assistance.

Remember, vB5 is perfect for most and not for others and it is slowly improving with each release just like vB4 did in its fiasco heydays so if you're unsure, setup a test site and see for yourself... you may walk away loving it :cool:.

Ok now back on topic LOL...

Hirebuysell,

Here is an excerpt from Mert's blog page (no longer available online since the site is gone now) hopefully these basic rewrite rules will assist:

Quote:

Originally Posted by Mert
After uninstallation you can also redirect your indexed content to original vBulletin urls. Please carefully check the rewrite rules and use the one that fits your current url structure. If your url structure isn't listed below please post a sample example so we can supply the correct rules.

If you have your thread rewrite rules set as forum-name/threadid-threadname.html use the following .htaccess
Code:

RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


If you have your thread rewrite rules set as forum-name/threadname-threadid.html use the following .htaccess
Code:

RewriteEngine on
RewriteRule [^/]+/[^/]+-([0-9]+)\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


If you have your thread rewrite rules set as forum-name/threadname-threadid/ use the following .htaccess
Code:

RewriteEngine on
RewriteRule [^/]+/[^/]+-([0-9]+)/ http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


If you were running a custom/non-default heirarchy type of url structure then it still might be possible to rewrite with normal .htaccess however some custom setups were just that and might require installing DBSEO to make it function properly so with that being said make sure you do not uninstall the data from vbseo (disable the mod for now) until you decide because if you uninstall now then there will be nothing for DBSEO to import i.e. the url heirarchy structure and such.

Hope that helps!


All times are GMT. The time now is 03:52 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.00995 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete