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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:30:08+00:00 2026-05-26T10:30:08+00:00

I am developing a backend for a site I built for a client in

  • 0

I am developing a backend for a site I built for a client in PHP (which I rarely use), which is almost completed. I’m a Rails developer primarily, so I’m having a hard time not going for some bastardized version of a CRUD setup, and I am attempting to clean up the urls.

I would like my urls to be like so:

http://www.example.com/videos/name-of-video/

I plan on just taking the last bit of the url from $_SERVER['PHP_SELF'] and searching through the DB using that, but what I would like to do is throw the index.php file in the http://www.example.com/videos/ directory and have it be used when I explicitly point someone to http://www.example.com/videos/name-of-video/, if that makes sense.

Will this work as is, if I put the index.php in the /videos/ directory, or is something else needed? Is it possible to do without messing around with htaccess?

Sorry for my pathetic explanation. I hope it makes sense.

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-05-26T10:30:09+00:00Added an answer on May 26, 2026 at 10:30 am

    As per my knowledge this manipulation is not possible without touching .htaccess.
    when you write the url http://www.example.com/videos/name-of-video/ your server is definitely going to look for the index.php file in the folder name-of-video folder. which does not exist.

    If this task could have been achieved without .htaccess then they would have never been used.
    And by the way why don’t you want to use .htaccess..??

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

Sidebar

Related Questions

I'm currently developing a PHP application that's using an Access database as a backend.
I'm developing a web-site with Zend Framework and I wish to use ZFDebug. I
I am currentyl developing a site for a client who requires artist to upload
Hello everyone, I'm developing a photo sharing web site using the CodeIgniter PHP framework
I am using S3 storage backend across a Django site I am developing, both
I am developing a webapp that communicates with a backend which performs intensive numerical
I am developing a site which need a huge data dynamic in nature. I
i'm developing a authentication backend with object-based permissions for my django-app.I use generic relations
I'm developing an alternate backend for the canvas interface. I started setting up test
I'm developing an Access 2003 Database that uses a MS SQLServer backend. I'm trying

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.