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
- How to get the url of the current svn repo?
- Git error on git pull (unable to update local ref)
- Stop WordPress from “guessing” redirects for nonexistent URLs
- URL rewrite based on a custom field value
- WordPress multisite,several different languages,page redirect?
- WordPress multisite subdirectory redirect infinite loop issue
- Will references to ugly links automatically redirect to their pretty url permalink?
- How to create a php url redirection for nicer links
- WP redirects all pages from new domain to old domain
- wp_logout_url() redirects to confirmation page even with nonce?
- How to redirect action=register link on the lostpassword page to a different link?
- You do not have sufficient permissions to access this page
- Redirect User to Homepage if no other redirect is specified
- Redirect blogpage /blog/abcd/ to /blog/
- template_redirect causing infinite loop when get_queried_object is called
- Is there a ‘rake routes’ for wordpress?
- Redirect Loop to Page, Can’t Find Origin, Can’t Remove [closed]
- Redirect to page 2 after comment
- wp_redirect does not work
- Use virtual pages point to one specific page
- Force redirect not logged in user to (wp-login.php or wp-admin) for specific page
- How to redirect a page into file?
- Check Page requested, and redirect
- This redirect loop is eating my lunch! [closed]
- What is this code in my theme’s footer.php causing chmod permission warnings? [closed]
- WP not logging in at first time
- How to split existing blog into WordPress Multisites without breaking links?
- Can slugs from posts and custom post types conflict?
- Prevent users from going to wordpress profile after login
- Keep subcategory grandson in slug
- AJAX error handling for submit function in functions file
- Force WordPress https redirect before www redirect based on site address url
- Custom URL redirect in WP
- Mask and Track Outbound Links
- Redirect logged on user to a specific page based on wp user role, page id
- Redirect away from page if user is not admin
- Solved: redirect to another page using functions.php
- Redirect users after login
- Redirect to parent page if child does not exist
- redirect index.html inside folder to wordpress page of same name
- Conditional Redirect
- add_rewrite_rule and template redirect not working
- WordPress permalink issue
- How can I stop redirecting from a search to a taxonomy archive page
- Debugging issue with redirection in WordPress
- How can i fix my permalinks?
- Redirect a WordPress Multisite url after it has been change to a new one
- Internal Redirections?
- multisite 404 subfolder same name slug as site
- Redirect empty search to another page
- How to make the redirects right? IP to domain name folders
- Using cache brokes redirecting
- How to send new visitor to a splash page for only one time in wordpress?
- Unable to access WP test site
- How do I point two urls to the same child site in a multisite config
- Force SSL on a single page which is used as iFrame
- Redirect Every Instance of The Author Template Pages to Custom Author Pages
- Show page without reference to post (like front-page)
- How to redirect all pages of a blog to a new blog
- How to redirect users without permission to view content to a custom page?
- Redirect loop upon installation of my plugin
- redirect the root of a domain, while leaving the www version unredirected
- How to Create Custom Route to a page in WordPress
- How to create a redirect to another domain like safe redirect manager from php
- Post Migration Site Migration Redirects All Known Solutions Attempted
- In Nginx, how can I rewrite all http requests to https while maintaining sub-domain?
- What’s the command-line utility in Windows to do a reverse DNS look-up?
- Nginx enable site command
- How to test a HTTPS URL with a given IP address
- What’s the reverse DNS command line utility?
- Best way to redirect all HTTP to HTTPS in IIS