My Cart
Drop product in here
Hazırladığınız sayfaları tarayıcınızda index.php olarak değilde /index yada /anasayfa olarak belirlediğiniz gibi göstermek isteyebilirsiniz.
Bu durumda başvuracağımız yol tabikihttp://www.bursa-bilgisayar.com/etiket/htaccess/”> .htaccess dosyası.
Yapacağımız basit bir url_rewrite yöntemi ile çok kolay bir biçimde dosyalarımızı dizin şeklinde göstereceğiz.
index.php, hizmetler.php ve hakkimizda.php şeklinde üç adet dosyamız olduğunu varsayalım.
Bu dosyalarımızı /anasayfa – /hizmetler ve /hakkimizda şeklinde göstereceğiz.
Oluşturduğumuz .htaccess dosyasına aşağıdaki kodları eklediğinizde istediğimiz sonuca ulaşıyoruz.
Options +FollowSymlinks RewriteEngine On RewriteRule ^anasayfa.*$ index.php [NC] RewriteRule ^hizmetler.* hizmetler.php [NC] RewriteRule ^hakkimizda.* hakkimizda.php [NC]
learn the facts here now san diego electrician
30 Ekim 2020 at 17:37My brother suggested I might like this web site. He was entirely right. This post truly made my day. You can not imagine simply how much time I had spent for this info! Thanks!
NFL breaking news
13 Eylül 2016 at 10:27I used to be able to find good advice from your blog posts.
drogen bestellen
14 Ağustos 2016 at 17:19Nice post. I learn something new and challenging on blogs I stumbleupon on a daily basis. It will always be exciting to read content from other authors and practice something from other web sites.