vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Remove ID from vBulletin CMS (https://vborg.vbsupport.ru/showthread.php?t=246029)

doraj 07-07-2010 12:00 AM

Remove ID from vBulletin CMS
 
Hello,

I am interested to know if there is some possibilty to remove the ID number from the url on vBulletin CMS. I use vBulletin 4 + vBSEO 3.5 but it seems that remove ID is quite impossible. My dream will be create a CMS urls as:Is really impossible make this?
Doesn't exist no way?

Thanks

(Sorry, move to vB4 Programming..)

kall 07-07-2010 07:20 AM

You don't just want to remove the id, you also want to remove the requirement to have a /section/ or /content/?

What happens if somebody makes an Article with the same name as a thread/post/member/forum/existing directory?

doraj 07-11-2010 12:37 PM

Hello Kall, I was interesting only to how remove the ID from the CMS article's url, not section, category, forum or thread, . Only CMS article's url.

Follow the best directives regard the best url format from "SEO Google Starter Guide", from advice of Matt Cutts, and from the official Google Blog, everyone says clearly that using a number with more digits in the url is useless. Then I wondered if as with Joomla, Wordpress, etc., even by vBulletin CMS was possible to set up a simple URL like with the "name article" - http://www.mysite.com/name-post

Because it would undoubtedly be the best url to use.

Regard two articles with same name, with Wordpress, Joomla, etc., they automatically add "2" at the second article; howeaver, I think it's enough to make a bit of attention, very few times I happened to write two articles with the same name, almost never.

Dead Eddie 07-11-2010 01:02 PM

I haven't gone through it completely to work out all the pitfalls, but the URL information is stored in the cms_node table. You should be able to pull the node information based on that...

However, this field is nullable within the database, because the node is reserved when you begin to create your content, not while the content is saving. So, you'd have to modify the router to take into account two scenarios...use the URL when it's available, and the nodeid when it's not.

There are probably other gotchas, but that's the one that initially jumps out at me.


All times are GMT. The time now is 11:15 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.01772 seconds
  • Memory Usage 1,711KB
  • 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
  • (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