WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2003, 01:37 AM
WebProWorld Veteran
 

Join Date: Sep 2003
Location: SD
Posts: 771
jackson992 RepRank 0
Default converting php urls to html

Can someone tell me how I can convert php urls to html

Such as http://www.jacksretail.com/socks.php?interest=Soul+City to ending with socks.html?+
__________________
Jack Mitchell
Home Shopping Online | Sports To Go | Shopping To Go
Reply With Quote
  #2 (permalink)  
Old 11-15-2003, 01:39 PM
compusolver's Avatar
WebProWorld Member
 

Join Date: Sep 2003
Location: Oklahoma
Posts: 94
compusolver RepRank 0
Default

Well, it depends..

If your php pages had the php extension but no actual php code (normally between tags like: <? ?>, but sometimes with <% %>) then you're in luck and you can just change the page extensions.

However, any actually php code in those pages was being used to deliver the html content. You would have to understand what the code was doing and know whether or not it could be satisfactorily replaced with static html.

Chances are the pages weren't 'php' for nothing, and some decisions will have to be made - like whether or not you can do without the dynamically created information that the php code was making for you.

If this is your own site - here's how you can experiment:

Copy some of the php pages to *.html Then try browsing the html pages.

If you're a web designer and this is a client's site, partner with a server-side coder or be prepared for disaster.
__________________
- Hank Castello
www.CompuSolver.com
www.SmBizHosting.com
Hosting, eCommerce Gateways & affordable subcontract programming/consulting
Reply With Quote
  #3 (permalink)  
Old 11-15-2003, 04:38 PM
WebProWorld Veteran
 

Join Date: Sep 2003
Location: SD
Posts: 771
jackson992 RepRank 0
Default

Sorry I should of said this is a database site. Yes all the pages are dynamic. However, I have heard there is a way to change urls to appear as html instead of the php with ? like php?interest=
__________________
Jack Mitchell
Home Shopping Online | Sports To Go | Shopping To Go
Reply With Quote
  #4 (permalink)  
Old 11-15-2003, 06:12 PM
compusolver's Avatar
WebProWorld Member
 

Join Date: Sep 2003
Location: Oklahoma
Posts: 94
compusolver RepRank 0
Default

That can be done by the server administrator - he can essentially tell the server to treat html pages as php. I don't know of another way - maybe someone else will.
__________________
- Hank Castello
www.CompuSolver.com
www.SmBizHosting.com
Hosting, eCommerce Gateways & affordable subcontract programming/consulting
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0