I'm facing an issue trying to sharing an URL which includes arabic characters on Twitter:
http://example.com/قرعة-تصفيات-أفريقيا-مصر-تواجه-نيجيريا/
When i click on "share" the same URL is showed in the tweet box, but when I actually tweet, it just links to http://example.com
, and the rest of the URL is lost.
I tried using urlencode()
, but the generated URL is too long and impossible tweet. How could I solve this?
If you are owner of website, you can write htaccess RewriteRule
for generate shorter or English url or use Redirection file.
RewriteEngine on
RewriteRule ^redirect/(.*)/?$ ./redirector.php?key=$1 [QSA,L,NC]
And if you are user of website just you can use URL shorter websites like bit.ly or goo.gl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With