Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 10:20 pm EST

Geeklog Forums

Mass changing the link URLs?


Status: offline

Nintendo

Forum User
Newbie
Registered: 09/09/05
Posts: 1
Is it possible to do for example a

$str = preg_replace( "article.php", 'nintendo_game_cube_article.php', $str );
or
$str = str_replace( 'article.php', 'nintendo_game_cube_article.php', $str );

some where (lib-common.php?) that will change the URLs in the links all through out the site?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
What exactly are you trying to accomplish?

Random guess: Check out the $_CONF['url_rewrite'] option in config.php

bye, Dirk
 Quote

All times are EST. The time is now 10:20 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content