vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I need to rename all of my links... any short way? (https://vborg.vbsupport.ru/showthread.php?t=151025)

readjono 06-30-2007 12:18 PM

I need to rename all of my links... any short way?
 
I've just moved my forum on to a new server, along with a series of sound files, which I regularly posts links to.

Now the hosts have been kind enough to redirect people to the new location, but they said I will need to update them sometime soon.

Is there any script that will rename all of the URLs in forum posts that point to this address?

i.e I want to rename http://subdomain.domain.co.uk/audio/music.mp3 to http://www.newdomain.co.uk/sound/music.mp3

Dismounted 07-01-2007 07:11 AM

I don't think there's a short way. But correct me if I'm wrong.

readjono 07-01-2007 04:09 PM

That's a pain. Didn't know if there were any queries that would do it.

Ba$im 07-01-2007 07:50 PM

hummmmmm
i think u should try do this with htaccess
or if u mean link in new forum may be if use varible from forum admin it help

Dismounted 07-02-2007 04:58 AM

Quote:

Originally Posted by Ba$im (Post 1280788)
i think u should try do this with htaccess

His host has already done that, he want to change the links in the posts.

snakes1100 07-02-2007 05:04 AM

Hmmm, a easy way as i do this sometimes to replace code, i use Edit+, you could take a backup of your forum via a sql file and edit it in Edit+, use the replace function Edit+ has to search out the link and replace the part you want edited.

Ie:
Find what box = http://subdomain.domain.co.uk/audio
Replace with box = http://www.newdomain.co.uk/sound

As it simply replaces the text every time you click find next, it shoudlnt take you that long to do, then simply import the backup sql file.


All times are GMT. The time now is 09:30 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.01113 seconds
  • Memory Usage 1,725KB
  • 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
  • (6)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