Ive always been a fan of setting divs on a page then using ajax to fill in the contents of a frame depending on the users selection, so they load index up which loads maybe the header, footer and menu in, then the divContents is loaded depending on what is selected, so it never loads the entire page. This does make debugging quite fun though.
However I dont seem to see many other sites using my process, most have individual pages (with header, menu, contents and footer), others use a GET in the address (eg index.php?page=main).
Ive been reading a book on website design which points to using htaccess to redirect users to index and then read what they were trying to access and put that into the content section.
I dont really want to create pages that have to have "include header.php" and "include menu.php" on every page (seems a bit tedious), so the htaccess seems a good idea, but wonder what you experts think?
Thank you
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Fellow title is reserved for select members who demonstrate sustained contributions, industry leadership, and outstanding performance. We will announce the experts being inducted into the Experts Exchange Fellowship during the annual Expert Awards, but unlike other awards, Fellow is a lifelong status. This title may not be given every year if there are no obvious candidates.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.