← Desenvolvimento

abrir o index.php dentro de uma pasta

Lida 2139 vezes

Offline

icaro 
Membro
Mensagens 128 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Alguém me sabe dizer como fazer para que quando alguém digite www.blabla.com a página vá directamente para www.blabla.com/pasta/index.php


obrigado!
Offline

anjo2 
Membro
Mensagens 3020 Gostos 0
Troféus totais: 31
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

no .htaccess
Código: [Seleccione]
RedirectMatch temp ^/$ http://www.blabla.com/pasta/index.php

tens mais algum index? index.htm ou index.html? se não tiveres não deves precisar do "index.php"
Offline

icaro 
Membro
Mensagens 128 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

 :obrigado: