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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:42:24+00:00 2026-06-09T04:42:24+00:00

Well I’m making profile pages so right now it looks like this http://example.com/random/?user=Robert What

  • 0

Well I’m making profile pages so right now it looks like this

http://example.com/random/?user=Robert

What I want to do is remove ?user= from the URL so the page appears as

http://example.com/random/Robert

Iv’e searched and I can’t find anything working for me.
Thanks!

  • 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-09T04:42:26+00:00Added an answer on June 9, 2026 at 4:42 am

    The first step is to make all of your links in this form http://example.com/random/Robert, then in the htaccess file in your document root, add:

    RewriteEngine On
    RewriteRule ^random/(.+)$ /random/?user=$1 [L]
    

    But to handle 301 redirects to your old URLs, you can include this:

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /random/\?user=([^\ ]+)
    RewriteRule ^random/$ /random/%1 [R=301,L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I have website with such structure of pages: domain.com/group-1/page/ and now I need
Well, my website can not redirect to https://www.facebook.com/QuaFootSpa from http://quafootspa.com/ I have tried redirection
well i have a configuration like this in the components part of my config
Well, i saw a Qt Quick Image's Carousel Example in h ttp://developer.qt.nokia.com/wiki/Qt_Quick_Carousel . I
Well, I downloaded Rijndael sources from here: http://www.codeproject.com/Articles/1380/A-C-Implementation-of-the-Rijndael-Encryption-Decr I have the following code: int
Well the problem is that I was using code like this: new Date().toJSON().slice(0, 10)
Well, i took a break from RoR for studies, now I am back, I
Well, I was trying to fix this program, and I keep getting the errors
Well I'm making an program about payrolls and I'm stuck. In the program, after
well i have used an html file like these in iframe <iframe src=sample.html></iframe> is

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.