Search Results for htaccess

How to: Remove /category/ from your WordPress url

WordPress has awesome way to handle it's URLs with the name called Permalinks. It gives flexibility play around with almost everything in the URLs. Apparently, you can change the category and tag base from your WordPress Dashboard settings page. You can specify a string to replace the default "Categ

1and1.com error “300 Multiple Choices”

Lately I bought hosting from 1and1.com since Dreamhost has been having lot of downtime. In short, experience with 1and1.com has been an awkward till date and I have already requested them to cancel my account under there refund policy. However,while writing .htaccess rules I faced many issues. On

5 commonly used url rewriting examples using .htaccess

URL rewriting using .htaccess is pretty common today. Most of the frameworks like WordPress, CodeIgniter,cakePHP etc. provide their own URL rewriting techniques. However, there is always a necessity to beautify the URLs using .htaccess when you are using any of the framework. Without talking abou

Set the User Agent With PHP cURL

cURL is a sleek way to grab contents from a URL. It's helpful in PHP where servers have banned using the function file_get_contents() . A while back I had shared a post which show on how to grab the contents of a URL using cURL. However, cURL is much more than just grabbing data. It can be used to m

How to solve WordPress Maintenance mode problem

Wordpress provides a very sleek feature to update core install and the installed plugins. You can upgrade all the installed plugins in one go or either upgrade the ones you wish to. But sometimes while using the maintenance mode it does not complete for some reason and crashes in the middle of the p

Change default php.ini values using .htaccess

Hey Folks,   As you might be knowing that php.ini is the configuration file for the PHP and resides at the server. It contains all the options/settings for the PHP language. There are instances you need to change these options. In local environment you can change these settings very easily b

logging 404 errors on your site and generating traffic from it

Hiya People, Its really a pain when visitors come down to your blog and they see "Sorry, but you are looking for something that is not here." The message can be anything, but top of everything it is nothing but a fail message. And consequently, many of your potential visitors may bounce off yo

Prefix www to your domain using htaccess

First of all you need to know why you even want to prefix www in front of your domain. Well to explain in short, search engines treat http://www.digimantra.com/tools/twitter/ and http://digimantra.com/tools/twitter/ differently. Notice the difference is just of www. But  if you have these two URLs

Moving your wordpress blog from one domain to other

Heya Folks, Well shifting or moving your blog from one domain to another is not easy task but with the continous upgradation on wordpress's core install the things are also not that difficult. The built-in import export feature in wordpress is the real saviour in this process. Follow the step

Securing your wordpress folders from being viewed or indexing

A very simple way to secure your wordpress's folders from being exposed to the public is to create an index file which is going to render and hence wont allow the browser to actually index the folder list. There are folders like gallery, plugins, images which can be reached thru their absolute paths

Advanced htaccess for more than 10 group of backtrack references

You  might have faced error where .htaccess wont recognize the backtrack variable after $9 such that if you specify "$10" then it will return you "0" as value to that key in URL param. The mod_rewrite module is confused which varible to return $1 or $o. Lets see the problem first, Problem : R

Install wordpress in different directory or folder

Hey Guys, I was configuring blog for one of my friend and his requirement was little different. He wanted to keep all the admin related files into a different folder while he wanted his root direcoty to be clear. Now that was something which some of us like to do with our blogs as well. And with so

Using .htaccess for day to day work | Part 2

This .htaccess is continuation to my previous blog post(Using .htaccess for day to day work), which recorded a lot more hits than expected. I would enlist some other tricks/function we can achieve using this magic .htaccess file. For those who are reading this tutorial for the first time or are new

Using .htaccess for day to day work

.htaccess is a word which every developer has heard. But they skip it because some think its too hard to understand. But I am sure nothing is hard for a good programmer. Well .htaccess is a file which is used to define behaviour of your directories and server request to those directories or files. T

Get Adobe Flash player