Archive: htaccess
-
Nov 22, 2010
Comments OffUploading large(big) files in PHP using .htaccess
I’ve seen that many of my friends are struggling with the uploads of the bigger or larger files in PHP. After looking at their struggle, i’m here to solve the problem of uploading larger or bigger files in PHP. Most of the web servers are configured such a way that a user can only upload...
-
Nov 09, 2010
Comments Offall Post of ajax javascript php magento jquery and all web developement related tutorials
Sleek and Smooth animated menu using jQuery by Bagesh singh 1 person liked this Today, I’m going to show you something interesting with jQuery. Yesterday I was thinking something to post something programming related stuff in blog after long time and I came across a website, whose menu impressed me a lot. But checking it...
-
May 21, 2010
Comments Off301 non-www to www or Permanent Redirect any single file URL to give some other one
Permanent Redirect your URL from non-www to www by using following code RewriteEngine On RewriteCond %{HTTP_HOST} ^websitedesigning-company.com [NC] RewriteRule ^(.*)$ http://websitedesigning-company.com/$1 [L,R=301] or Permanent Redirect any single file URL to give some other one RewriteCond %{HTTP_HOST} ^websitedesigning-company.com$ [OR] RewriteCond %{HTTP_HOST} ^www.websitedesigning-company.com$ RewriteRule ^mtp\/career_profile\.php$ “http\:\/\/websitedesigning\-company\.com\/mtp\/career\-advice\-online” [R=301,L] OR RewriteRule oldfile name$ new file name with full path...
-
Feb 22, 2010
Comments Off301 redirect in PHP and .htaccess
What is 301 redirect ? You have a website and its all pages are ranked in the search engine. And now...
-
Feb 22, 2010
Comments OffHiding PHP file extension
Do you want to hide your web...
-
Feb 22, 2010
Comments Off
-
Feb 22, 2010
Comments Off
-
Feb 22, 2010
1 CommentCustom Error Page with .htaccess
In my last post of Hiding .php file extension with .htaccess Michael has mentioned that you can create your own custom page for the the 404(not found) error in server. And alex wanted to know that tip as well.Alex here is the post for you rather than replying your comment. When you mistype the URL...
-
Feb 22, 2010
Comments OffPrevent Directory Listing using .htaccess
What is directory listing ? As we know, most of the website...
-
Feb 22, 2010
1 Comment5 useful url rewriting examples using .htaccess
If you are looking for the examples of URL rewriting then this post might be useful for you. In this post,...
-
Feb 22, 2010
Comments Off
-
Feb 22, 2010
Comments OffChange default directory page using .htaccess
I know you guzy all know about index file. This is the default file which is executed in the web server. For example, if you...
-
Feb 22, 2010
Comments OffHow to redirect browser to https (ssl) in php
Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway. In the common scenario, most of the sites...