Forum Moderators: phranque
http://www.mysite.com/?option=com_search&searchword=someword http://www.mysite.com/Search.html?searchword=someword http://www.example.com/Search.html?searchword=someword to a different URL like http://www.example.com/?option=com_search&searchword=someword and users will see they have been redirected. http://www.example.com/Search.html?searchword=someword such that content is fetched from the internal path at /index.php?option=com_search&searchword=someword. Both are possible - but only for GET requests. You cannot redirect POST requests.
Per RFC 2616, the POST method should be used for any context in which a request is non-idempotent: that is, it causes a change in server state each time it is performed, such as submitting a comment to a blog post or voting in an online poll. In practice, GET is often reserved, not simply for idempotent actions, but for nullipotent ones, ones with no side-effects (not simply "no side effects on second or future requests"). For this reason, web crawlers such as search engine indexers normally use the GET method exclusively, to prevent their automated requests from performing such actions.
However, there are reasons to use POST for idempotent requests, notably if the request uses non-ASCII characters or is very long, due to restrictions on URLs – the query string in the GET method may become very long, especially due to percent-encoding.