Jump to content
php.lv forumi

url bez .php


Recommended Posts

Ka var panakt URL parveidi www.staits.lv/manalapa.php --> www.staits.lv/manalapa

 

it ka interneta atradu snipetu, bet vinsh neiet

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [nc]

 

ieksh htconfig'a esmu iesledzis mod_rewirte un modelis ari tads ir

 

Varbut ko vel neesmu piekonfigurejis?

Link to comment
Share on other sites

nedomaju, gan ka parunata tik daudzas reizes.

 

Bet ideju sapratu.

Visiem lininkiem jabut bez saita jabut bez .php, bet ar mode rewrite to ir japarsuta uz lapa.php, var vel skatities ja lietotajs ievada lapa.php, lai nogriez .php

Edited by cucumber
Link to comment
Share on other sites

ja es sapratu ka shi variants man neder

Link to comment
Share on other sites

×
×
  • Create New...