tags:

views:

19

answers:

2
A: 

Take a look at sed, awk, python to edit/replace the strings your file. In this order ;)

(see: Unix or Cygwin)

Leonidas
unfortunately i dont have write access to all project files to edit them.
I don't understand: what do you have to change here exactly? There is a bunch of HTML-files which you can't edit but where you have to change the <a href>s?
Leonidas
I have to change some html files to php files. But i can't change the link to them.
Seems like Nathan has the solution for you.
Leonidas
+1  A: 

Put a Redirect directive for each one you need to remap in your .htaccess file.

Redirect /junk.html   http://yoursite.com/junk.php   permanent
Redirect /junk2.html  http://yoursite.com/junk.php   permanent
Nathan