For our example store, we use http://brew-me-a-cup.com. We are going to set up our store for Spain under http://brew-me-a-cup.com/spain. However, we must be careful from now on to ensure that we never have a product or category that uses the URL
/spain. That URL is now reserved only for our Spanish customers.
First, we will copy
index.php into the new website's directory.
index.phpinto the directory that ...