Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Jul 2010, 02:00
doraj doraj is offline
 
Join Date: Nov 2005
Real name: Doraj
Question 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..)
Reply With Quote
  #2  
Old 07 Jul 2010, 09:20
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
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?
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #3  
Old 11 Jul 2010, 14:37
doraj doraj is offline
 
Join Date: Nov 2005
Real name: Doraj
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.
Reply With Quote
  #4  
Old 11 Jul 2010, 15:02
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 01:46.

Layout Options | Width: Wide Color: