I have html site with 20 pages, and want to add some new html pages on it. When I build new page, I will need to put new link for it in the menu. So, is there any automatic way to place links of new added pages in menu on other pages, or I will have to do it manualy by opening every html page and put new links of new pages. I am using dreamveawer 8 for editing.
use php and have a file menu.php then all u have to do is edit the menu.php file once i suggest you get a coder to help you out with this
It's not so difficult that you need a coder. Do what Lethal7 said, then replace the menu code on each page with <?php include("menu.php"); ?>. You will also have to change the file extension from .html to .php for any page that uses this code. This tutorial explains it in more detail: Tizag's Include Tutorial
yea, quite useful ...tnx but what would happen if I do this with my new site which is just less than one month old, and have just been indexed by google. If I upload it again with php instead of html, would it affect on search engines and site position,indexing and so on? ps. well,I dont plan to do this now, but in the near future if I decide to add more pages,this is why I asked for this explanation.
On some servers files with .html extension are parsed by PHP, so you might do not must change file names.
also on some servers (non windows servers) you can set .html to be parsed as .shtml and use a ssi includes.
Very true. In the worst case scenario, if your server doesn't parse by PHP, the search engines will need to re-index all the pages you've changed from .html to .php. If this is the case, I would consider setting up a custom error page with either a 301 or 404 header response and have it redirect to your new pages. This will at least keep the trafffic coming your way during the re-index. Have a look at http://bobpeers.com/technical/404_redirection.php for guidelines.