vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Edit or Update Friendly URL. How? (https://vborg.vbsupport.ru/showthread.php?t=271849)

hallenberg 10-11-2011 06:15 PM

Edit or Update Friendly URL. How?
 
Forums appear to be assigned a friendly URL [based on the forum id and title] when they are first created.. Now I have two questions:

1. I do not plan on running too many forums and would like them have friendly URLs without the forum ID prefix; is there an effective way to go about this within vB or would it have to be a custom htaccess redirect?

2. I created one forum and changed its title afterwards. How do I force the friendly URL to update with the new title?

Many thanks..
Chris

BirdOPrey5 10-14-2011 12:49 AM

1. "Advanced Friendly URLs" is the closest you can get without worrying about mod-rewrite rules and htaccess.

2. It usually does change, at least it does for me... however everything after the number is basically ignored anyway.

hallenberg 10-14-2011 06:27 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2256965)
everything after the number is basically ignored anyway.

Aha ok perhaps that could be interesting.

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

Is there a way to manipulate forum ID?..

If an indexed number must appear in the friendly URL it would be good if it were selectable; a cosmetic ID, not based on the database table key but another numeric index. For me at least this would bring extra order to URLs and make them meaningful enough to be fully friendly.

Just a thought.


All times are GMT. The time now is 06:45 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.01214 seconds
  • Memory Usage 1,712KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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