Posts tagged HTTP
301 Redirect
Feb 10th
301 redirect “moved permanently” is the most efficient and search engine friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page.
Below are a Couple of methods to implement URL Redirection
IIS Redirect
- In internet services manager, right click on the file or folder you wish to redirect
Select the radio titled “a redirection to a URL”.
Enter the redirection page
Check “The exact url entered above” and the “A permanent redirection for this resource”
Click on ‘Apply’
PHP Redirect
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>
Common Port Numbers
Dec 31st
What is a Port
In computer networking, the protocols of the Transport Layer of the Internet Protocol Suite, most notably the Transmission Control Protocol (“TCP“) and the User Datagram Protocol (“UDP“), but also other protocols, use a numerical identifier for the data structures of the endpoints for host-to-host communications. Such an endpoint is known as a port and the identifier is the port number. The Internet Assigned Numbers Authority (IANA) is responsible for maintaining the official assignments of port numbers for specific uses
Port List
HTTP standard response code
Dec 22nd
![]()
The first digit of the status code specifies one of five classes of response; the bare minimum for an HTTP client is that it recognises these five classes. Microsoft IIS may use additional decimal sub-codes to provide more specific information, but these are not listed here. The phrases used are the standard examples, but any human-readable alternative can be provided. Unless otherwise stated, the status code is part of the HTTP/1.1 standard.
Successful Client Requests
200 OK
201 Created
202 Accepted
203 Non-Authorative Information
204 No Content
205 Reset Content
206 Partial Content
More >