How to Find 302 Redirects
- 1). Search for "redirect checker" on a search engine. This brings up a list of tools you can use to check the type of redirection being used on your site.
- 2). Select a redirect checker and enter the URL for the website you want to check. Most redirect checkers will have a section where you simply type the URL of the website.
- 3). Check the response results, which will display the checked link, the type of redirect being implemented and where the URL has been redirected to.
- 4). Use an FTP tool like FileZilla to log into the FTP site of the website you want to check for redirects.
- 5). Download the main page from the root directly. This is usually the "index.html" file.
- 6). Open the file using NotePad or an application, like Dreamweaver, used to create and edit Web pages.
- 7). Check the header for redirect tags. These will help you learn whether the Web page is being redirected as shown below:
HTML Pages:
<meta http-equiv = "refresh" content = "5; URL= http://www.site.com" />
JavaScript Pages:
<script type = "text/javascript">
Window.location = http://www.site.com;
</script>
PHP Pages:
<?php header ("Location: http://www.site.com/"); ?> - 8). Check the .htaccess file, also located on the root directory on your Web server, as shown below:
Redirect 302 /oldsite.html http://www.site.com
Source...