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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:40:00+00:00 2026-06-10T06:40:00+00:00

I have this .htaccess file domain.com/modules/mymodule/.htaccess can this htaccess file handle urls like domain.com/something

  • 0

I have this .htaccess file

domain.com/modules/mymodule/.htaccess

can this htaccess file “handle” urls like domain.com/something

i cannot put or edit a .htaccess on the root directory, i can only put it in mymodule subfolder


i don’t want the user to see

domain.com/modules/mymodule/mymodulepage

but something like

domain.com/mymodulepage

can this be done ?

i posted nothing that i tried because they were just desperate attempts such as playing with RewriteBase and so on .. but i knew that the url is not getting “handled” by the subfolder’s htaccess file !!

  • 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-10T06:40:01+00:00Added an answer on June 10, 2026 at 6:40 am

    can this htaccess file “handle” urls like domain.com/something

    No it can’t. It won’t be accessed unless the request is for something in that directory or its subdirectories.

    You can make domain.com/modules/mymodule/mymodulepage redirect to domain.com/mymodulepage, but once it’s there, you won’t have any rules to property handle it.

    If you have no access to any kind of server config except an htaccess file in /modules/mymodule/, you’re not going to be able to do this. If you do have access to some level of config, you could do something like this:

    Alias /mymodulepage /the/path/to/modules/mymodule/
    

    And that will point the URI /mymodulepage to the file-path /the/path/to/modules/mymodule/ where the URI /modules/mymodule/ is.

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

Sidebar

Related Questions

I currently have lots of URLs that look like this: http://www.domain.com/classes-dallas-tx.html I need to
in .htaccess I have something like this: RewriteCond %{REQUEST_URI} (\/out\/pictures\/) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
I want to make my .htaccess file do this: From: http://www.domain.com/example -OR- http://domain.com/example To:
I have this .htaccess file in WordPress. It's located at /public_html/ (web root). I
Ok, so I have this .htaccess file that contains this <IfModule mod_rewrite.c> RewriteEngine On
I currently have a .htaccess file set up with this rule: RewriteRule ^([a-zA-Z0-9_-]+)$ user\.php?user=$1
I have this line in my htaccess file: RewriteRule (.*) index.php This catches all
I need two conditional rules. Background: http://www.domain.com/.htaccess http://www.domain.com/index.php http://www.domain.com/admin/index.php I have both re-write rules:
I have links like these: www.domain.com/page.php?id=1#info I'd just like to hide the .php to
HEllo I have this URL I need to get with PHP http://www.domain.com/forum/#forum/General-discussions-0.htm The problem

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.