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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:16:07+00:00 2026-05-24T19:16:07+00:00

I have successfully created clean url for my project.. now what i need to

  • 0

I have successfully created clean url for my project.. now what i need to do is add variables to URL..

localhost/user1/file?action=add
localhost/user2/file2?action=delete

where user and file are already rewritten i dont want it to be like localhost/user/file/add because localhost/user/folder/file will be mistaken to to the action parameter.. please help

  • 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-24T19:16:08+00:00Added an answer on May 24, 2026 at 7:16 pm

    Try using the ampersand instead of question mark:

    localhost/user2/file2&action=delete
    

    In your htaccess, the rewrite rule might look something like this:

    RewriteRule ^user([0-9]+)/file([0-9]+)$ /page\.php?user=$1&file=$2
    

    As you can see, the question mark is already there even though it is masked in the address bar. Appending another variable to the query string would require the ampersand for successful concatenation.

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

Sidebar

Related Questions

I have successfully created an app that reads from a bundled .plist file and
Hai Thanks for everything. I have successfully implemented clean URL in local. Very nice
I've successfully created a VSTO Add-In for Outlook 2007 in VS2010, yay! Now comes
I have created a script on mac OS X and it successfully sent an
I have created many TestProjects with Visual-Studio-2010 Ultimate . All tests were executed successfully
I have created thumbnail view using Three20 bundle. I have successfully loaded and displayed
I have created a setup project in VS2008. My WinForms app uses .NET 2.0,
I have created a Java application which has the following Apache Ant build file:
I have created an Xcode 4 project template for iOS that relies on several
Im trying to create an ASMX Web Service in Visual Web Developer.I have successfully

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.