Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6722771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:29:13+00:00 2026-05-26T09:29:13+00:00

I often see that websites use more than one page to display their information,

  • 0

I often see that websites use more than one page to display their information, while I’ve always preferred to use a single page which automatically changes its content by means of a PHP script.. Won’t it be faster and simpler to have only one page that changes every time using a webpage argument, instead of having multiple copies of the same layout?

For instance:

... <body> ... <?php insert_requested_content(); ?> ... </body> ...

should be simpler than having a bunch of pages with the same header, footer, navbar, etc..

When I create a website, I usually have one index.php page and then the content pages, which are included into the index.php by the script, when they are requested by an argument such as:

http://mywebsite.com/?content=news

So: why people still use many different pages? Is there any particular need of doing this, or it’s just a matter of choice?

Do spiders encounter any difficulties when trying to access the content of a website created with this design?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:29:14+00:00Added an answer on May 26, 2026 at 9:29 am

    Your program structure is usually made easier by having multiple pages to reflect your different content while maintaining a common header/footer and css that can be inserted as you stated above. Placing all of your content in one page and dynamically trying to determine what the user is requesting and display it properly can become a nightmare of if/else statements if your site gets much more than three or four pages of content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While debugging jQuery apps that use AJAX, I often have the need to see
We often see websites that display first few lines of an article and then
I have an example of some code that I see often in websites that
I see that mobile versions of websites often begin with an m. (e.g. http://m.accuweather.com
I often use wget to mirror very large websites. Sites that contain hotlinked content
I often see people asking XML/XSLT related questions here that root in the inability
In classes that implement INotifyPropertyChanged I often see this pattern : public string FirstName
I often see a pattern used in circumstances where we have look-up code that
It's quite often that we see two versions of an android app: a paid
Every so often I see Speed Up Your PC programs that offer a RAM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.