Forum Moderators: martinibuster

Message Too Old, No Replies

Link Translation

Will I have to change all the links

         

navink

3:59 am on May 21, 2003 (gmt 0)

10+ Year Member



Hi Folks,

I have about 5000 pages & 220 folders & subfolders in my website. Currently most of the part of my site is in static HTML format which was created in MS FrontPage. So my links path in html like ../../somefolder/otherfolder/somepage.htm
Now I want to convert them into PHP Pages & want Links like http:*//mydomain.con/jump.php?fid=001&sfid=03&pid=4. I have created a script in PHP to call the page using query string, but to implement this script I will have to change my all the links in my HTML page from ../../somefolder/otherfolder/somepage.htm this format to http:*//mydomain.con/jump.php?fid=001&sfid=03&pid=4 & all the folder name into the numbers like 001 & 03 & page name like 4.htm. How can I manage all the folder names & page names.

Is there other way to do this. Please help me.

Navin

[edited by: paynt at 3:03 pm (utc) on May 21, 2003]
[edit reason] delinked examples [/edit]

jeremy goodrich

6:27 pm on May 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try looking into mod_rewrite for an elegant way to rework the links with dynamic urls that appear static.

If you are on a windows server, look into IIS rewrite. The site search [webmasterworld.com] is a great tool to find some of the many threads we have had on static & dynamic link conversion.