A straight forward redirection using .htaccess. Note that the domain name should be omitted from From address and it should always be there in To address, even if the redirection is on same server.
redirect 301 FromAddress ToAddress
1)Rewriting product.php?id=12 to product-12.html
It is a simple redirection in which .php extension is hidden from the browser’s address bar and dynamic url (containing “?” character) is converted into a static URL. Continue reading
In my cpanel (dont know the version number) it didn’t show .htaccess file and hid it by default. If it happens and as a lazy person like me you dont want to do ftp like things to get the htaccess appeared on you, just click on a visible file and open it in cpanel editor. It will give you the url something like below. Continue reading
This morning, when i checked my Give Back India site’s access log i found some scripts/setup.php request attempts. In fact, not ‘some’ but hundreds of them. All requests were made targeting phpMyAdmin’ installations on my server. Here are a few of them: Continue reading