0

I want to know how you can do: www.site.com/username instead of www.site.con/username?=myusername.

Are there any reources or techniques to achieve this?

Thanks!

Jules

1
  • Of course there are, it's a very common thing to do. You need to know the terminology to search for though, I guess. Start here Commented Aug 8, 2021 at 6:19

1 Answer 1

0

If you are using apache server you can edit httpd.config file to rewrite URL. Below is a sample rule to rewrite URL.(not an exact solution)

#With mod_rewrite RewriteEngine on RewriteRule "^/(.+)" "http://example.com/username?usernameVaribale=$1" [R,L] 

you can read more about URL rewriting in apache server here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.