How to make a sitewide link?

Discussion in 'HTML & Website Design' started by quantum physics, Jun 18, 2009.

  1. #1
    Hi,
    I have a website with over 120 pages,now what I want to do I have a link on the bottom of every page.

    This link should be a sitewide.

    Is there a way to do this.


    Thanks,
    :D
     
    quantum physics, Jun 18, 2009 IP
  2. MhW

    MhW Active Member

    Messages:
    370
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    85
    #2
    Unfortunately I'm fairly sure this isn't possible. Looks like you're going to have to download all of the pages and paste the link into each one.

    What I do on my site is have a header and footer file, which includes on every page. That way if I wanted to edit the site's copyright I just open footer.php, edit, save and upload then the site is changed site-wide.

    Code for that is pretty simple:
    <?php include("footer.php"); ?>
    PHP:
     
    MhW, Jun 18, 2009 IP
  3. xopacuo

    xopacuo Peon

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can use dreamweaver for this if every page is on different page, just import pages in one project and find some code you have at every of them, I think you will have same footer for every page and replace the code with same one plus the code for link, applying to all page I think will work
     
    xopacuo, Jun 18, 2009 IP
  4. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hello.

    You have two ways as it was already explained by the other posters: you can use some kind of server processing (PHP or SSI), or you can find some editor that alleviates the task of modifying your 120 pages. You decide which way is best for you.
     
    TechnoGeek, Jun 19, 2009 IP