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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:30:43+00:00 2026-06-15T13:30:43+00:00

Ok, so I am using (or trying to use) two primary mod_rewrite rules, and

  • 0

Ok,

so I am using (or trying to use) two primary mod_rewrite rules, and they seem to be conflicting with one another

RewriteRule ^/?help$ index.php?page=help [L]

and

RewriteRule ^/?([a-zA-Z0-9._-]+)$ index.php?user=$1 [L]

If I get rid of the period ->. in the second rule, my help page is displayed, and I can display a user page as well, but when I add the period, my help page doesn’t display, but instead (I think) gets processed as a user page.

Anyone have any pointers?

  • 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-15T13:30:44+00:00Added an answer on June 15, 2026 at 1:30 pm

    I looked at something another user ran into here – Apache / mod_rewrite / Periods messing with pattern , and modified his rule, and it is working –

    RewriteRule ^/?help$ index.php?page=help [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^/?([a-zA-Z0-9\[\]\.()+|_-]+)$ index.php?user=$1 [L]
    

    Thankyou for the response.

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

Sidebar

Related Questions

Can I use two versions of a gem in one application? I'm trying to
I'm trying to create a map using Google Fusion Tables with two layers, one
I am trying to use two master pages one for the entire site collection
I'm using (trying to use) jQuery to add a class to the first paragraph
Trying to use a php generating the email address using the ID eg: peopleID
I'm trying to use construction injection using both Jersey-injected @Context parameters and Guice-injected parameters.
Trying to use the following demo example, using the 80px x 80px snap to
I am trying to use a .NET service in Android Application using the ksoap2
I am trying to use hSetBuffering in a Haskell program using GHC 6.10. When
I was trying to use the function glMultiDrawElements while studying OpenGL (using red book)

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.