6 ms·
this is hacker news. and this post is questioning if its worth the effort to copy navigation to 8 pages. surely the obvious answer is to just include header/foo
by arb99 12y ago
this is hacker news. and this post is questioning if its worth the effort to copy navigation to 8 pages. surely the obvious answer is to just include header/footer files (e.g. simple example in php: <? include('header.php');?>).
this way will just increase cost for his/her client down the road. Use even a super simple templating system (even if it is just including header/footer).
sure, using WP is overkill. but this is just silly to have actual plain .html files...
plus in a url http://example.com/about-us.html http://example.com/about-us.html doesn't look as nice as http://example.com/about-us http://example.com/about-us
(something like mod_rewrite could fix this, but if he/she is copy/pasting headers/footers i doubt that would be implemented...)
- copperx 12y agomod_rewrite? you must be kidding. How about an about-us/ folder with an index.html inside? Tools give some people too much rope ...
- carrotleads 12y agoI don't see this fixation with clean-urls. One of the saners reasons is to avoid broken links but I see broken links with with clean urls all the times. So don't think that is a good reason either.