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

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

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

google shop client API returns 400 bad request error while adding an item -