Announcement

Collapse
No announcement yet.

changing menu bars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • changing menu bars

    Hello there,

    I would like to have a menu bar on the left side of every page on my website.However, from time to time the content of this menu bar will change, is there a way, these changes can show on every page, without me having to publishh all the pages one by one?

  • #2
    Re: changing menu bars

    Read this Topic by Naval Design

    All the best.
    Happy Building

    DarrenC

    Comment


    • #3
      Re: changing menu bars

      I tried what was described by Naval design, and it seems to work with php. But as all me pages already exist in html, what will happen if I convert tehm? will I have duplicate pages ont set in html and one set in php? or will taht be automatically replaced?
      Also are php pages same as html for SE etc?

      Comment


      • #4
        Re: changing menu bars

        Originally posted by nadiabodikian View Post
        I tried what was described by Naval design, and it seems to work with php. But as all me pages already exist in html, what will happen if I convert tehm? will I have duplicate pages ont set in html and one set in php? or will taht be automatically replaced?
        Also are php pages same as html for SE etc?
        nothing will happen to your pages - just resave them as php. and yes they will act the same to search engines; you will lose nothing.
        Liz
        www.sebastopolparty.com
        www.raynordescendents.com

        Ring the bells that still can ring

        Comment


        • #5
          Re: changing menu bars

          You should go ahead and delete the html pages. You will want to do a redirect for those pages as they may be bookmarked by previous visitors.
          Use your .htaccess file for that.
          Here's the code for each page:
          redirect 301 /xxxx.html http://yourwebsite.com/xxxx.php
          (note that there is a space between the 301 & / )
          You can put all redirects for all pages in your .htaccess
          JMO
          You can still have the pages as html if you use an IFrame for your menu. SE's don't like IFrames though.
          CarbonTerry
          Semper Fi
          Still green...still mean......just not as lean

          Red Hawk Archery
          Zone 5 Photo
          My USMC

          Comment


          • #6
            Re: changing menu bars

            ok great!! thank you all!!

            Comment


            • #7
              Re: changing menu bars

              Originally posted by CarbonTerry View Post
              You should go ahead and delete the html pages. You will want to do a redirect for those pages as they may be bookmarked by previous visitors.
              Use your .htaccess file for that.
              Here's the code for each page:
              redirect 301 /xxxx.html http://yourwebsite.com/xxxx.php
              (note that there is a space between the 301 & / )
              You can put all redirects for all pages in your .htaccess
              JMO
              You can still have the pages as html if you use an IFrame for your menu. SE's don't like IFrames though.
              where to apply the code:
              redirect 301 /xxxx.html http://yourwebsite.com/xxxx.php

              what and where to find .htaccess ?
              Thank you

              Comment


              • #8
                Re: changing menu bars

                The .htaccess file is in your public_html directory. It is edited with notepad.
                If there is not one there you can create one using notepad and ftp it.
                Note that there is a dot/period in the file at the beginning.
                .htaccess
                If there is one already there and there is text, copy it and store it on your hard drive in.case something goes wrong.
                Here's the .htaccess info for one of my websites:

                redirect 301 /peep.html http://redhawk-archery.com/peep.php
                redirect 301 /index.html http://redhawk-archery.com/index.php
                redirect 301 /ke.html http://redhawk-archery.com/ke.php

                Note the space between 301 /
                That's the only space on each redirect.
                BTW, 301 is a "Permanent Redirect"

                You can test it by entering the old html URL. Of course, the html file must be deleted prior to testing.
                CarbonTerry
                Semper Fi
                Still green...still mean......just not as lean

                Red Hawk Archery
                Zone 5 Photo
                My USMC

                Comment


                • #9
                  Re: changing menu bars

                  ok I have attempted to do this to an existing page , but the the contents of the HTML box does not show.
                  Do I have to create all the pages from scratch for this to work?
                  Please take a lookk and tell me where I am going wrong?


                  there is an html box just under accessories, and it doe snot show. please help!!!

                  Comment


                  • #10
                    Re: changing menu bars

                    I get an error page. What code is in the html box?
                    CarbonTerry
                    Semper Fi
                    Still green...still mean......just not as lean

                    Red Hawk Archery
                    Zone 5 Photo
                    My USMC

                    Comment


                    • #11
                      Re: changing menu bars

                      No.. I got it.I was trying to convert an existing html page into php, it will not do. I have to create the page from scratch with a different name in php, then it is working

                      Comment


                      • #12
                        Re: changing menu bars

                        You do not have to redo from scratch. Change the page properties to php, save as, publish.
                        The old html pages will still be on the server.
                        CarbonTerry
                        Semper Fi
                        Still green...still mean......just not as lean

                        Red Hawk Archery
                        Zone 5 Photo
                        My USMC

                        Comment


                        • #13
                          Re: changing menu bars

                          someone please HELP!!!

                          I have spent hours trying to do this.
                          I have created a new page from scratch in php.
                          the first external element works fine.
                          Second one half works.
                          the third one does not show at all.
                          please look at the link below and tell me what is going wrong

                          Comment


                          • #14
                            Re: changing menu bars

                            what is the 3rd element?
                            CarbonTerry
                            Semper Fi
                            Still green...still mean......just not as lean

                            Red Hawk Archery
                            Zone 5 Photo
                            My USMC

                            Comment


                            • #15
                              Re: changing menu bars

                              another menu bar which is not showing at all this one

                              Comment

                              Working...
                              X