| Quick Search |
For rewriting the URL, you should create a .htaccess file in the root folder of your web directory. And have to put the following codes as your requirement.
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [nc]
The following example will rewrite the test.php to test.html i.e when a URL like http://localhost/test.htm is called in … Read More
Syntax
list($width, $height, $type, $attr) = getimagesize(“image_name.jpg“);
< ? php
If you would like to redirect all non-www requests to your site to the www version, you need to add the following code to your .htaccess file:
in your .htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
This will redirect any requests to http://your-domain.com to http://www.your-domain.com. There are some benefits from doing … Read More
search engine marketing company India that offers affordable seo services