Use the location header flag:
curl -L <URL>
Related Posts:
- How to send a header using a HTTP request through a cURL call?
- How can I set the request header for curl?
- How to display request headers with command line curl
- How to fix libeay32.dll was not found error
- cURL to show response headers after submiting a file
- wget/curl large file from google drive
- curl: (35) SSL connect error
- How do I make curl ignore the proxy?
- SSL CA cert (path? access rights?)
- How do I measure request and response times at once using cURL?
- cURL equivalent in Node.js?
- Curl Error 56 “Failure when receiving data from the peer” while sending .tar.gz File
- Run Rsync from Python [duplicate]
- wp_remote_get vs. file_get_contents vs. cURL?
- wp_remote_get – cURL error 28 – only on same domain
- cURL – How to send and fetch data in WordPress
- cURL RETURNTRANSFER function in wp_remote_post
- How to convert this cURL to wp_remote_*?
- How to send file by wp_remote_post?
- Download file using cURL into wp-includes/uploads
- cURL request to plugin repository fails 403
- Curl error while creating user
- Call external API in wordpress based on user input
- Inconsistencies between wp_remote_post and cURL
- Set wordpress auth cookie from external site?
- Does wp_remote_post() require curl?
- How to use the HTTP API (wp_remote_get) instead of cURL?
- Difference between `curl -I` and `curl -X HEAD`
- wp_remote_post vs curl to send data in WordPress plugin
- After upgrading WordPress, I am getting the following error. Error message: cURL error 52: Empty reply from server
- In the shell, what does ” 2>&1 ” mean?
- How do I POST JSON data with cURL?
- PHP + curl, HTTP POST sample code?
- What is the curl error 52 “empty reply from server”?
- curl: (6) Could not resolve host: google.com; Name or service not known
- Binary Data Posting with curl
- Merge / convert multiple PDF files into one PDF
- Why does cURL return error “(23) Failed writing body”?
- Redirect website after specified amount of time
- Redirect old php link to wordpress link in .htaccess
- Redirect function inside a Shortcode
- How to show a single post on the front page but have normal paging?
- Redirect Localhost wordpress site to dashboard
- Custom permalinks with NextGEN Gallery
- Re use authenticated HTTP connection or cUrl handle
- Custom admin_notices Messages Ignored During Redirects
- inject js after redirect
- Logout/login redirect CSS issue
- How to redirect all requests to wp-login.php?
- Optimal way to redirect home page to category archive?
- Remember page before login page, redirect to that page after login
- How to hide/redirect the author page
- How do I add a add_rewrite_rule without it redirecting?
- redirect wp-login.php to another page
- Redirect to “All Posts” after post update or publish in Block Editor
- How can I fix a slow redirect after form submit from frontend (no plugin)?
- Redirection errors
- Search results URL without query string variables
- How do I redirect upon login a specific user based on role?
- WooCommerce lost password reset flow not working with SendGrid (redirect loop)
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- WordPress CMS – hide content from public while in editing stages
- Redirect to a page after a few seconds
- How to redirect only if page doesn’t exists
- htaccess redirect – directory and subpages to a single page
- url keeps redirecting to a page
- https multiple redirects
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Redirect subdomain homepage to domain specific page in wordpress multisite
- Why does multisite bypass WordPress for wp-content, wp-admin, wp-includes and .php files?
- Redirect after users complete profile form
- Redirect “Sorry, you are not allowed to access this page.” to Home
- Login WordPress website using wp-rest api
- Multisite Redirect issue
- Redirecting to old domain, tried everything, nothing works
- How to modify the Register link in the login page?
- Different permalink for CPT and regular Posts/Pages but why?
- Changing “Lost Password Email Link” to custom password reset page
- Double domain name in category URL-s
- htaccess redirect – replace special character
- Redirect Logged In User if page is wp-login.php and $_Get[‘level’] = X
- Why my deleted url is redirecting to random post?
- WordPress url incomplete redirects to first article with that name
- Right hook to redirect frontend visitors while respecting rest api plugins to run first?
- Create a page that automatically redirects to latest post of a specific tag/category?
- How can I check if on specific plugin generated page or child
- Installed domain-based Multisite but can’t access wp-admin (redirect loop)
- Changing domain
- WordPress Multisite Strange Redirect on Primary Site
- How to redirect on login to a specific page if a specific meta user is empty
- Child post with numeric only slug keeps redirecting to parent
- Redirecting amp url to non amp url
- List / Get post redirects
- How To Redirect /url.html to /url?
- Redirect htaccess does not work correctly with my new wordpress site
- Redirect custom post type category to other custom post type category
- Redirect on saving term at custom taxnomy
- Unique page URL redirect to file_get_contents() at domain
- 301 Redirect for Non-Date Based URL’s
- Redirecting deleted posts url to another WordPress install