0
Making a multi page website
how can you make a several website pages on one domain. let's say it's a news website and I wanna have a same domain for all but each time I upload a new news article it should go like www.+++.com/+++.html/÷÷÷.html instead of making a whole new new domain.
1 Respuesta
0
You could use a server side technology like php and a MYSQL database that will respond to a request for "next news". It will look in the database for the next entry and return the article. If you have strictly a flat html server then I would recommend a serialized naming convention and at the top or bottom of every article have a link to the next serial number. If the page does not exist then a 404 will be returned to the user or if you make a floating page placeholder with the next serial number that says something along the lines of, "There's no more news today". Then when you get a new article, rename the placeholder to the next serial number and put the news article in place of the current placeholder.