Whether you tourist you cannot exceed 90 days in any 180 days in Turkey, You need Turkish Residence Permit to stay more than 90 days. The Foreigners who want to stay more than 90 days in 180 days are required to apply for residence permit. You can refer from https://www.evisa.gov.tr/en/. Basic Alanya will be following the procedure you until you get your visa.
According to regulation in 2013 when you buy Property in Turkey you will be granted automatic year-long residency permits.
After you prepare the document you visit police Office to give the documents. The cost of residence permit cost changes from county to country. For more details, you can visit http://www.istanbulhouseinvestment.com/permit.htm
this too complicated or hard for you? Sit back and relax we will help you