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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:48:26+00:00 2026-05-14T01:48:26+00:00

Do I have to put every file in a different folder? like: about-us/about-us.php profile/profile.php

  • 0

Do I have to put every file in a different folder?

like:

about-us/about-us.php
profile/profile.php

etc.

or is there any other automatic solution.

I want to convert

http://sitename.com/about-us/about-us.php

to

http://sitename.com/about-us
  • 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-14T01:48:26+00:00Added an answer on May 14, 2026 at 1:48 am

    You want pretty URL rewriting.

    An Apache .htaccess examples from that article:

    • Pretty URL: /browse/animals-24/cats-76.html

    • Ugly URL: /browse.php?category=24&subcategory=76

    • .htaccess:

      Options +FollowSymLinks
      RewriteEngine On
      RewriteRule ^browse/[A-Z0-9_-]+-([0-9]+)/[A-Z0-9_-]+-([0-9]+)\.html$ browse.php?category
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP MP3 file which changes every time it is loaded, and
I have a php application that has about 50-55 code files. The file that
my functions.php file is just a placeholder for many different functions. I have another
Simply put I want what http://www.reddit.com/ and http://news.ycombinator.com/ have to the left of every
I have put together an image scroller using jquery, like this function rotateImages(whichHolder, start)
I have about 5-6 Server Manager programs that write their own configuration file out
I have a file called myConstants.h that I use to put all the constants
Well, I have 3 different php scripts and actually it is running by a
I have a PHP file that gets HTML from Memcached and serves it to
I have on a single Windows Server about 10 different .NET projects, mostly .NET

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.