how can i rewrite url with this char ~ -


i want rewrite simple url that

test.com/test.php?code=12345 

to

test.com/12345 

when user enter link go shortened link , when user enter character ~ in last of url show link info that

test.com/12345~ 

can 1 me writing code using .htaccess ?

i want make bit.ly when write shortened it's go url when add + end of url in bit.ly gives info of shortened link


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -