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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:18:08+00:00 2026-06-03T20:18:08+00:00

I have a site running at my server and here is the content of

  • 0

I have a site running at my server and here is the content of the .htaccees file

RewriteEngine on
RewriteCond $1 !^(index\.php|img|public|robots\.txt) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]

few days back i installed WordPress in a folder: example.com/my-blog/ as a stand-alone application
but i could not access it. if i remove the .htaccess file it does work fine but that makes a down the site which in any case i cant not afford. please help.

please help, i am newbie in this.

  • 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-03T20:18:10+00:00Added an answer on June 3, 2026 at 8:18 pm

    You could exlude your subfolder from rewriting by adding these two lines to your htaccesfile, before your rewriterule:

    RewriteCond %{REQUEST_URI} !^/my-blog/ [NC]
    RewriteCond %{REQUEST_URI}!=/my-blog [NC]
    

    Ansari is right btw about $1 not being set and therefore, never rewriting anything.

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

Sidebar

Related Questions

I have a WordPress site running on a production server that I recently copied
I have an ASP.NET site that was working fine running on Windows Server 2003
Here's the scenario. Server is Win2k8, running IIS 7.5. I have ARR and URL
I have a site running on amazon elastic beanstalk with the following traffic pattern:
I have a site running on Magento and i have build some hand made
I have a site running in django and want to make it available on
I have a mobile site running with jQuery Mobile. I want to have standard
I have my site up and running but experiencing rendering issues in MS IE8
I have a Joomla (nginx + mysql) site running as UI and some JSP
I have a local build of my site running at local.mydomain.com. I'm making ajax

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.