To find the source of a 301 or 302 redirect, you can use a few different methods, including:
- Browser Developer Tools: Most modern web browsers have built-in developer tools that allow you to inspect the network requests made by a website. You can use these tools to view the details of a redirect, including the source URL and the target URL.
- Command Line Tools: You can use command line tools such as curl or wget to retrieve the header information for a URL and inspect the redirect details.
- Online Redirect Checker: There are many online redirect checker tools available, such as Redirect Checker and Screaming Frog, which allow you to easily check the details of a redirect.
- Server Logs: If you have access to the server logs for a website, you can search for the specific URL in question and view the details of the redirect, including the source URL and the target URL.
By using one of these methods, you should be able to determine the source of a 301 or 302 redirect.