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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:28:25+00:00 2026-05-18T05:28:25+00:00

The is my real folder scheme: ROOT index.html news.html +articles |-obama.html |-oil.html I want

  • 0

The is my real folder scheme:

ROOT
index.html
news.html
+articles
|-obama.html
|-oil.html

I want some htaccess rule so if people go to domain.com/obama.html the server will fetch the one in the articles folder without redirecting.

If some one goes to domain.com/index.html will still fetchs the one in the articles even if there is an index in the ROOT.

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-18T05:28:26+00:00Added an answer on May 18, 2026 at 5:28 am

    Try this:

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond articles/%{REQUEST_FILENAME} -f
    RewriteRule ^(.*)$ articles/$1 [QSA]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a root folder htaccess containing my htaccess file and another folder,me containing
In the XCode project folder (the real one on my hard drive) there's a
I'm planning to write a program to sync a folder in real time across
My folder structures: root .idea folder Other Unrelated projects myplayapp src (the Actual Play!
Lets use a real world example. I want to monkey patch WillPaginate::LinkRenderer.to_html method. So
I would like to add some real-time functionality to my website with node.js and
I want to load an image from an external folder of my system to
Okay this seems like a real noob question. I currently have a simple html
Maybe this is going to sound like a real weird thing I want to
I'm writing some rules in Diazo. I want, in case the user browses the

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.