In this post, I would like to show you how to enable WordPress post thumbnails on your WordPress theme. Post thumbnails are pretty useful and very easy to activate.To enable post thumbnails simply paste the following code into your current theme’s functions.php file. How to Display Now to Display Post Thumbnail in views, past the […]
Usually, when we run a Yii website, the URL will have index.php after the hostname. To remove this in appache web server, we need to enable the mode_rewrite module and should create .htaccess file. To hide index.php from the url on a website, add an .htaccess file to your web root, with this text: After […]
Most of the web Hosting providers give access to overriding the .htaccess, To Increase file size upload limit via .htaccess just copy the bellow settings into your .htacess file and put it in your web root directory post by : arjunphp.com
For SEO reasons, you might always use (or remove) the www prefix in your urls. The following snippet will add the www to your website url and redirect any url with the non-www to the www version.
For SEO reasons, you might always remove (or use) the www prefix in your URLs. The following snippet will remove the www from your website URL and redirect any URL with the www to the non-www version.
Hey! , Typically There is 3 Type of Caches in windows Which you can flush easily: Memory Cache. DNS Cache. Thumbnails Cache. What are the Benefits of Cache Flushing? Clearing the Memory Cache Can Free Up some System Memory and Clearing The Thumbnail Cache can Free up Space on Hard Disk. And Clearing The DNS […]
In this post, I want to explain how to redirect the subdomain to a subfolder with .htaccess. I had implemented this for demos.arjunphp.com,lab.arjunphp.com and downloads.arjunphp.com I hope it is useful for you. That’s it.
Rewrite module is not enabled by default in Apache’s configuration settings. although you can enable it manually by doing very few simple steps: 1. open your httpd.conf(Located in Apache installation) file with your favorite editor.Then search for blow line Replace above line with this line or simply remove ‘#’. 2.Now find this string Allow Override […]