What's new

Tools ShLink Discussion: Your own URL Shortener (Exclusive for PHC users only)

Draft

Administrator
Administrator
Joined
Jan 23, 2011
Posts
16,518
Solutions
107
Reaction
65,435
Points
10,544

Para hindi na ako mag reply pa-isa-isa sa similar questions, gawan ko nalang ng exclusive thread.​


How do you request your own instance (your own URL Shortener)?
DM mo ako sa domain na pag-mamay-ari mo (dapat walang website na laman).
Change your NS settings narin sa domain registrar into:

NS1 => gail.ns.cloudflare.com
NS2 => ian.ns.cloudflare.com

Para ma-manage ko both DNS at server level.
Para narin ma hide ang server IP ko at location for privacy reasons.

Paano maayos yung mga old dead links sa previous Shortener, like banned from short.io?
Lagyan mo lang ng new URL redirect sa tatlong option (like Adsterra DL para sagap lahat ng old URL):
  • Base path redirect
  • Regular 404 redirect
  • Invalid short URL redirect
Under Manage Domains
1715417673655.png


1715417766396.png

Paano mapagana ang link preview galing sa destination URL (title + thumbnail)?
Check or enable "Make it crawlable" option when creating short url.
1715717175901.png

Reminder sa mga nag request ng instance!
Please name your conversation title gamit ang domain ninyo, para madali kong ma manage.
Sa sobrang daming request hirap hanapin sa DM kung sinong may-ari ng domain.

Paano ma check kung tama ang DNS settings ko?
Check mo dito: You do not have permission to view the full content of this post. Log in or register now.
Sample for PHC: You do not have permission to view the full content of this post. Log in or register now.

Saan ko i-manage ang mga short URL at meron bang dashboard?
Dito: You do not have permission to view the full content of this post. Log in or register now.
At yes merong dashboard.

Ano ang settings sa lahat ng ShLink install?
'RUNTIME' => 'regular',
'MEMORY_LIMIT' => '128M',
'DB_DRIVER' => 'mysql',
'DB_NAME' => 'domain_com',
'DB_HOST' => 'localhost',
'DB_PORT' => '1234',
'DB_USER' => 'user',
'DB_PASSWORD' => 'pass',
'DB_UNIX_SOCKET' => null,
'DEFAULT_DOMAIN' => 'domain.com',
'IS_HTTPS_ENABLED' => true,
'DEFAULT_SHORT_CODES_LENGTH' => 4,
'AUTO_RESOLVE_TITLES' => false,
'REDIRECT_APPEND_EXTRA_PATH' => false,
'MULTI_SEGMENT_SLUGS_ENABLED' => false,
'SHORT_URL_TRAILING_SLASH' => true,
'SHORT_URL_MODE' => 'strict',
'GEOLITE_LICENSE_KEY' => 'xxxxx',
'REDIRECT_STATUS_CODE' => 307,
'DISABLE_TRACKING' => false,
'TRACK_ORPHAN_VISITS' => true,
'DISABLE_TRACK_PARAM' => null,
'DISABLE_TRACKING_FROM' => null,
'DISABLE_IP_TRACKING' => false,
'ANONYMIZE_REMOTE_ADDR' => true,
'DISABLE_UA_TRACKING' => false,
'DISABLE_REFERRER_TRACKING' => false,
'DEFAULT_BASE_URL_REDIRECT' => null,
'DEFAULT_INVALID_SHORT_URL_REDIRECT' => null,
'DEFAULT_REGULAR_404_REDIRECT' => null,
'DEFAULT_QR_CODE_SIZE' => 300,
'DEFAULT_QR_CODE_MARGIN' => 0,
'DEFAULT_QR_CODE_FORMAT' => 'png',
'DEFAULT_QR_CODE_ERROR_CORRECTION' => 'l',
'DEFAULT_QR_CODE_ROUND_BLOCK_SIZE' => true,
'DEFAULT_QR_CODE_COLOR' => '#000000',
'DEFAULT_QR_CODE_BG_COLOR' => '#FFFFFF',
'DEFAULT_QR_CODE_LOGO_URL' => null,
'QR_CODE_FOR_DISABLED_SHORT_URLS' => true,
'DELETE_SHORT_URL_THRESHOLD' => null,
'BASE_PATH' => '',
'TIMEZONE' => null,
'CACHE_NAMESPACE' => 'domain_com',
'REDIS_SERVERS' => 'tcp://127.0.0.1:5678',
'REDIS_SENTINEL_SERVICE' => null,
'REDIS_PUB_SUB_ENABLED' => true,
'MATOMO_ENABLED' => false,

Server status
You do not have permission to view the full content of this post. Log in or register now.

Pwede bang i-block by default ang Facebook crawler/bot?
Yes pwede, request lang para ma apply ko sa domain mo.
Anong purpose? Para hindi ma-scan ni FB ang destination URL.
 

Attachments

Zerobyte wala akong Saas plan.
At tsaka medyo mabagal ang DNS query for Cname kaysa direct A record :)

Wala din akong extra domain para magamit sa Cname records para sa mga mag request.
Yung iba dito hindi pa knowledgeable sa DNS config, mahihirapan pa ako mag guide :D
 
Sa mga gumagamit nito, paki sabi po kung may issue kayo sa pag gamit ng dashboard.
Re-configure ko lahat, at sync ko lahat ng settings para uniform features.



Re-configure ko lahat, at sync ko lahat ng settings para uniform features.
Done for all 11 active installations at naka sync na lahat.
  • ShLink configurations
  • Nginx config
  • DB schema, driver, and naming convention
  • Tested all http requests as working

Tinanggal ko sa server yung mga domain na hindi na naka point ang DNS.
PM nalang kung gusto nyo ulit magpa install.



✅ Ano ang settings sa lahat ng ShLink install?
Included na sa 1st post, kung may gusto kayong baguhin, PM lang para ma customize ko.
 

Users search this thread by keywords

  1. shlink
  2. Shortener
  3. Draft
  4. fb crawler
  5. url shortener
  6. shlink url shortener
  7. fb crawlers
  8. Own checker
  9. shorten link
  10. short url
  11. create domain
  12. Adsterra
  13. chatgpt 4
  14. LINKS SHORTENER
  15. Short.io
Back
Top