Jump to content

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 :)

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.