Luke Smith Luke Smith - 1 year ago 69
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download