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 8685601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:37:19+00:00 2026-06-12T22:37:19+00:00

I have been asked to create a website and wanted to design it so

  • 0

I have been asked to create a website and wanted to design it so that the user may add new blog posts to a news feed. I’ve tried this and successfully created a very simple blogging feature which adds/reads entries in a sql database.

However I want to dynamically create new webpages for each blog entry that is added by the user. How would I go about this? I am new to Php/Sql and so I am unsure of where to start. Any pointers in the right direction would be greatly appreciated.

As for an example of what im after, see: http://kingslandprimaryschool.co.uk/

Thanks

  • 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-06-12T22:37:20+00:00Added an answer on June 12, 2026 at 10:37 pm

    The solution is to hire an army of employees, who manually create hundreds of scripts. A lot of work, but what else can you do? Nah, just kidding.

    The trick is not to create a new file for every blog page, you just have to change the routing. Start by creating a blogging system which works through consistent URL’s, such as blog.php?p=home. When you’ve finished, create a .htaccess file which routes certain requests to that page. For example, if you would want an URL like my.site/home to load blog.php?p=home you would need the following .htaccess script:

    <IfModule mod_rewrite.c>
        RewriteEngine On
    
        # Allow existing directories and files
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
    
        # Route the request
        RewriteRule ^(.*)$ blog.php\?p=$1 [QSA]
    </IfModule>
    

    This would first check whether a file exists at the requested URL. If it does, it shows that file. Otherwise, blog.php?p=myPath is opened. The [QSA] tag after the redirect means that everything after the question mark is passed on to the script you redirect to, so if you would go to my.site/home?day=wednesday the page blog.php?p=home&day=wednesday would be loaded.

    If you need more help, feel free to ask any question. Alternatively, you can just Google “htaccess mod_rewrite” or “PHP pretty url” for more information. Hope this was of help!

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

Sidebar

Related Questions

I have a website that I've been asked to create a hierarchy diagram of.
I have been asked to create a vbscript that will set the default font
I am new to web programming...I have been asked to create a simple Internet
I have been asked to get details of every user that logs into our
I'm new to Java and have been asked to create an applet/servlet (not sure
I am new to Android development and i have been asked to create an
I have been asked to create a website where the homepage consists of a
I have been asked to create some functionality in which marketing team send users
For a project I am working on, I have been asked to create an
I have been asked to improve the memory efficiency of an application that is

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.