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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:45:38+00:00 2026-06-05T14:45:38+00:00

I am facing issues with two similar friendly urls. I have mentioned the following

  • 0

I am facing issues with two similar friendly urls. I have mentioned the following lines in htaccess.

RewriteRule ^user/([a-zA-Z0-9-]+) /sitename/profile.php?id_profile=$1 [QSA,L]
RewriteRule ^user/([a-zA-Z0-9-]+)/articles /sitename/articles.php?id_profile=$1 [QSA,N]

When I try to access the second url, it redirects back to the first url. I guess the very first part ‘user’ is causing this issue.

Here id_profile is a string. In the php file, i fetch the corresponding user id (integer) for id_profile and perform the rest of the action.

Here is a similar working example.
https://www.etsy.com/people/vinubhai
https://www.etsy.com/people/vinubhai/favorites

I want to make it work like the etsy one. Please do help.

Thanks and Regards,
Vineshkumar Kunhiraman

  • 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-05T14:45:39+00:00Added an answer on June 5, 2026 at 2:45 pm

    first rule gets processed first. chang the order of your rules and your problem should be solved.

    first the articles rewrite, then the user general rewrite.

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

Sidebar

Related Questions

Here's the jfiddle for what I'm trying to achieve: http://jsfiddle.net/fmvmA/ I have two issues
I have to create one expandable /collapseable panel in jQuery, and facing some issues.
in my app I am facing following two problems I am trying to show
I am facing issues with getExposureCompensation() and getExposureCompensationStep() apis. Whenever I call these two
I am facing two issues when i try to connect to MQ which is
I have the following trigger on my table, issue I am facing is in
I've facing an issue of push & pop my UIViewController. I've two UIViewControllers say
Currently I am facing issues, that the java melody statistics running for a grails
I am facing some issues in loading a CSV file through SQL Loader. Here
I am facing some issues while serializing objects (I am using JBoss Drools, and

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.