IS there a way to see if a top level domain has a 301 redirect WITHOUT using a tool…ie…looking at the source code maybe? Why some may ask…just wanting to understand how the tool checks for this.
Live HTTP Headers Firefox plugin. Type in the URL into the address bar and click stop ASAP. If you’re quick enough, you might catch the 301 response.
The easiest way is with an .htaccess file (assuming your site is on an Apache server rather than IIS). This is a plain text file that controls certain aspects of server configuration.
You can have an .htaccess file in any folder, and it will control the folder it is in, and all subfolders of that folder.
Then just have one line instruction for each redirect needed, along the lines of
Redirect 301 /oldpage.htm [COLOR=“Navy”]http://website.com/newpage.htm[/COLOR]
The old URL only needs a relative file path, but the new URL needs the full address.
If you omit the ‘301’ it does it as a temporary (302) redirect instead.
He’s asking if there’s a way to check if a 301 is in operation.
Righty O…I know how to seto one and how to find them using tools…but how do these tools find them is my question. How can I see myself by hand?