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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:42:10+00:00 2026-06-03T22:42:10+00:00

I finally found a way to remove get parameters from my urls i had

  • 0

I finally found a way to remove get parameters from my urls
i had url like
/s.com/file.php?name=somthing

with this code i changed them to s.com/file/somthing

Options +FollowSymLinks
RewriteEngine On

RewriteRule ^file/(.*?)$ http://s.com/file.php?name=$1

so far everything is ok

in my local host when i click on a url like s.com/file/somthing it goes exactly to the url

but in my server it redirects to old url and shows old url

i dont want to display my old url

can someone 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-06-03T22:42:12+00:00Added an answer on June 3, 2026 at 10:42 pm

    http redirects are always external => visible in the browser. Try that:

    RewriteRule ^file/(.*?)$ /file.php?name=$1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've finally found a way to debug classic asp code in visual studio 2008
After a long struggle, I've finally found the only way to clear autofill styling
Thanks to jmbr at Stack Overflow, I finally found a way to validate xml
NOTE: I finally found an exact duplicate question and good answer at: Get script
I finally found the problem, but there is no way this is making sense,
I've finally found a client for my hosted software - the first time I've
I found out recently that JList (finally!) was generified in JDK7. Why JTree and
Finally I managed to get pylucene working on my windows7 machine, Which raised a
I finally let windows nag me into upgrading from IE6 to 8. Now in
I finally have my C++ Builder 2010 installation the way I want it, with

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.