Luke Smith Luke Smith - 3 months ago 27
CSS Question

Html Bootsrap Dynamic Navigation Bar

Is it OK to make the navigation bar on my site dynamic. E,g, the html for the section with the layout for the navigation bar will be stored in a database and loaded into a div when the page loads. That way changes to the bar will be distributed to all pages on the site.

Is that a good idea or will there be negative side effects for SEO or any other reason?


So basically you are trying to have the same header on each page..? Why use a database for this and not use another php-file e.q. header.php? The content (list items) could be taken from a database but a header.php is enough. using include 'header.php'; at the top of each php file.