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

  • Home
  • SEARCH
  • 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 7173005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:44:02+00:00 2026-05-28T15:44:02+00:00

I am trying to figure out how exactly WordPress works around blog posts so

  • 0

I am trying to figure out how exactly WordPress works around blog posts so that I can implement something similar in my web application. And this is probably some basic php, but I can not seem to find out exactly how to do this!

Typically you have a a URL like http://www.example.com/blog/2012/01/27/some-title. And I know that the file http://www.example.com/blog/2012/01/27/some-title/index.php does not exist. What is the path of action that WordPress takes and any php settings that need to be set in order for the html for the blog post to be generated? Is it related to a 404 error page for missing / invalid url paths?

  • 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-28T15:44:03+00:00Added an answer on May 28, 2026 at 3:44 pm

    What WordPress does — and indeed many of the popular MVC frameworks — is route ALL traffic to a single Front Controllerwikipedia script using an apache .htaccess file. The component parts of the requested URL are then broken apart by the framework/CMS to determine what controller should be executed to return the requested content. The underlying details of how it determines where to route the request vary from framework to framework.

    The front controller will generally handle error displays as well as it (or the determined controller) is able to decide if the requested resource actually exists.

    So the path of execution will be something like:

    1. Generate a request
    2. Route request to the appropriate controller
    3. Execute/invoke the controller -or- display an error if not exists for the requested resource

    I believe WordPress actually sucks up ALL traffic and points it to the front controller. This is great in the case of the average WordPress user who knows little about PHP programming or .htaccess rules. However, it’s generally advisable to allow requests that reference files or directories that actually exist on the server to still be accessed via conditions in the .htaccess file instead of routing them to the front controller like all other requests.

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

Sidebar

Related Questions

I am trying to figure out implement a Compose New Message view that works
I am trying to figure out exactly how to implement a callback function which
I am trying to figure out exactly what these new fangled data stores such
I'm trying to figure out what exactly Dependency Properties are, but when I look
I've been trying to figure out what exactly is happening here. I'm just trying
This isn't my code; I am trying to figure out what exactly this does.
I'm trying to figure out what the following line does exactly - specifically the
Trying to figure out how to programmatically access the web pages in the application.
I am trying to figure out how exactly does treesort from here work (I
I'm trying to figure out how to determine exactly what property name should be

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.