Jump to content

[SOLVED] Converting static website to dynamic one


rkstevens

Recommended Posts

I am in the process of converting a static-design website to a dynamic one. The static site has over 400 pages of content, and has grown past the point of being able to manage it properly. The conversion to a dynamic site should change this, making my life somewhat easier.

 

My concern is this: How do I deal with those 400+ pages being indexed on search engines without losing my page rankings in the conversion process? Even if I implement a 'friendly-url' type of handler in my code, the result still will not be the same as the previous static url.

 

Thanks for your suggestions.

 

After ur dynamic site is created.

 

Let your static pages remain same. Just clear its content and add a redirect PHP script to redirect it to pages's current location.

Like

 

Product1Page [Old page]  => products.php?q=pro1 [new page]

Here is the old page

---------------------------------------------------------

///  Remove all its content

// and add

<?php

header("Location :products.php?q=pro1");

?>

 

 

---------------------------------------------------------

 

 

Look into php's pathinfo system.

if apache has pathinfo enabled u can have a somewhat static url, when actually the url is a php script with parameters in the url without the parameted

 

i.e:

http://my.site.com/articles.php?id=5

 

with path info u can transform it into

 

http://my.site.com/articles.php/5/

 

A popular system which uses this is cake php :)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.