Get exclusive CAP network offers from top brands

View CAP Offers

there has to be a better way!

[bsa_pro_ad_space id=2]
  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #644507
    Anonymous
    Inactive

    Rather than looking for a utility that will allow you to do these mass edits, you could avoid the whole issue by using a server side method to share the common parts of your pages in one file instead of many.

    If your server runs PHP, you can change the filenames to end in ‘.php’, and include this bit of code on each page, to include a shared menu page…

    [php]
    include(‘menu.php’);
    ?>
    [/php]

    That way, menu changes involve changing only one file, and all of your pages are immediately updated.

    #644509
    Anonymous
    Guest

    Thanks!

    I have my book “Build Your Own Database Driven Website Using PHP & MySQL” handy here…….

    And my server runs PHP, which is why I chose it, because I knew I wanted it for some reason.

    Imagine editing one page for all menus.

    :bigsmile:

    #644522
    Anonymous
    Inactive

    PHP is great for menus etc. as you change it once and the changes will migrate all pages calling the php file.

    One thing to watch for…

    Eliminate all head tags on the php page thats being called, otherwise you will end up with two titles, descriptions, meta tags etc. in the source code which may confuse any visiting spiders.

    Good luck with this!

Viewing 3 posts - 1 through 3 (of 3 total)