Replacing a page without introducing broken links

ssuh's Avatar

ssuh

05 Jan, 2011 08:56 PM

We have a web page that has about 10-15 other pages to link it. If we want to replace the page with a new page without introducing broken links, how can we go about doing this?

  1. 1 Posted by Charlie Holder on 05 Jan, 2011 09:33 PM

    Charlie Holder's Avatar

    Could you rephrase/elaborate what you mean by "10-15 other pages to link it"?

    Depending on how you're replacing the page, the process may be a few steps different:
    But if you have Page1 Page2 Page3 ... Page15, all of which link to SubPage1, in order for the links to stay valid, simply make sure that when you replace SubPage1, the new version of the page has the same System Name as the old.

    It never hurts to make a database backup. You may want to do that so you'll be able to revert back if you find that links are not working when replacing pages.

  2. 2 Posted by ssuh on 05 Jan, 2011 09:36 PM

    ssuh's Avatar

    I have a page that is featuring one of our campuses. This is the page that needs to be swapped out.

    Throughout our website, there are pages that link to the old campus page in the cms. Do I have to go through each page and change the link?

  3. 3 Posted by Charlie Holder on 05 Jan, 2011 09:43 PM

    Charlie Holder's Avatar

    If I understand you correctly:

    1. You have multiple pages that link to a page that features one of your campuses.
    2. You would like to feature a new campus.
    3. If you change the content on the page, i.e. feature a new campus, will you have to update all of the other links?

    Would you like all of those links to link to the new featured campus or the old featured campus?

  4. 4 Posted by ssuh on 05 Jan, 2011 09:49 PM

    ssuh's Avatar

    All the old links should point the new page.

  5. 5 Posted by Charlie Holder on 05 Jan, 2011 09:55 PM

    Charlie Holder's Avatar

    Ok cool.

    So as I said initially, just make sure that the new page has the same System Name as the old. Those links will be looking for Base Folder/Folder1/SubPage1 so you need to make sure that path remains valid.

    Let me know how this goes for you.

  6. 6 Posted by ssuh on 05 Jan, 2011 10:00 PM

    ssuh's Avatar

    If i rename the old page from index to index2. The pages linking to index point now to index2.

  7. 7 Posted by Charlie Holder on 05 Jan, 2011 10:17 PM

    Charlie Holder's Avatar

    Sorry for the confusion. I gave the advice on the assumption that you would just be replacing the old content with new content. It is to be expected that all of the links change. The system will remember the page associations regardless of System Name changes.

    In order for you to create a new page while still preserving the old content, you will need to copy the page. Select the index page and then use the Copy tab to make a copy. You will be able to choose what you want to name it, but if you leave the name alone it will most likely name the page "index2."

    Now you'll have two copies of the same page. "index" will be the page that all of your other pages STILL link to. When you make a copy of a page, any pages that reference that page WILL NOT update their links to associate with the copy of that page.

    You'll have your old content contained within "index2" and you can safely use "index" to feature a new campus.

    If you choose to delete "index" at this stage, those links WILL STILL be pointing to a file called "index" in that specific folder. Those links will be broken until you create a new page in that folder and call it "index."

    Please let me know if this helps.

  8. 8 Posted by ssuh on 05 Jan, 2011 10:40 PM

    ssuh's Avatar

    This works. Thank you.

  9. Charlie Holder closed this discussion on 05 Jan, 2011 11:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac