Jump to content

how do u manage existing website hyperlinks?


adrianmak
 Share

Recommended Posts

I'm working with a client which he want to revamp an existing proprietary php cms

How could I manage existing website links redirect to new website

The old website link has three main php with paramater for each content

i.e

http://old.website.com/special.php?id=6
http://old.website.com/list.php?id=7
http://old.website.com/msg.php?id=19

any suggestion to handle existing link ?

redirect all existing link to homepage of new website  or

redirect each link one by one

Link to comment
Share on other sites

That depends if the new content structure matches the old one at least to some extent. If it's rather similar, it would be an option to import the old id into a field and replace the old php files with small scripts that bootstrap PW, look for a page matching the given id and redirect there with a moved permanently, or to the homepage if the id wasn't found. The same thing may work if you can identify a set of landing pages for the old pages, but you'd have to manually assign multiple old ids to some of the new pages (e.g. with a repeater). It really depends on whether you can match up old and new content. Wherever you can't, redirect to home.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...