I was wondering if a site is enormous and a new section needs to be added or removed from all the pages how is it done exactly?
What kinds of steps does one have to take while preparing to setup a website like this?
Are they all static pages or are you using a server side scripting language of some sort that uses includes for the common parts of the page?
If the pages are static then I suggest converting to using some sort of includes so that you don't need to update all the pages again next time.
yup they are using server side includes.
Instead of every/all pages - if you want to be selective then try this:
if( 'target.php' === $_SERVER['REQUEST_URI'] )
Use alternative page links or try to redirect the page. Or otherwise place the access denied code for those site pages.
This topic is now closed. New replies are no longer allowed.