sangkrit

Different Ways Of Increasing PHP Memory Limit When Using WordPress

PHP

Increasing PHP limit is easy. The most popular method of increasing PHP limit is by editing the PHP.ini file which is present on your site’s root directory. But here are few more menthods you can use for increasing PHP memory limit in your WordPress site.

[...]

When Others Are Stealing Your Bandwidth By Linking Back To Your Images

[...]

How To Restrict Other Servers From Accessing Your Files ?

If your site stores popular image files then for reducing bandwidth usage you can use this Apache hack for denying servers to access your files. Open your sites .htaccess file for editing and add the following code:

<FilesMatch “.(gif|jpe?g)$”> SetEnvIf Referer “^http://([^/]*.)?mydomain.com/” request_ok = 1 Order Allow, Deny Allow from env=request_ok [...]

How To Configure Apache WebSite To Use Multiple Ports ?

Open httpd.conf file in your host. Find Listen 80 and on the next line add Listen 8080 Find VirtualHost section for your Site config. Add *:8080. It should look like this: <VirtualHost *:80 *:8080> Restart Apache Test your work by hitting your site to the new port number. Example: http://www.yoursite.com:8080

This would [...]

Creating Temporary And Permanent Redirects Using Apache

301 is a permanent redirect and 302 is a temporary redirect. 301 redirect is used when you want to redirect pages without penalizing them in search engines. And 302 redirect is used when you want to set up temporary redirect for keeping your page rank better in search engines. Learn more.

Difference Between Permanent And Temporary Redirects

301 redirect is a permanent redirect whereas 302 is a temporary redirect. Permanent redirects tell search engines that old URL is out so that they can pull this new URL in it’s place. 301 is used when you want to preserve the page index and keep the page rank.

Apache Tomcat

Tomcat is a free open source platform from Apache which provides a “pure Java” HTTP web server environment. It is not part of the Apache2 web server. Check the official Ubuntu documentation here for more information on configuration. This can be installed using the tasksel option during installation of the Ubuntu server from [...]

Installing LAMP Server On Ubuntu

LAMP stands for Linux, Apache, MySQL and PHP and serves web development based on Open Source Architecture. Linux is operating system, Apache is the Web server, MySQL is the relational database and PHP (Hyper Text Preprocessor) is a programming language.

Open the terminal. Type sudo apt-get install lamp-server^ Open a web-browser and type: http://localhost/ It [...]