sandis_m Posted March 3, 2010 Report Share Posted March 3, 2010 index lapa: <link rel="stylesheet" type="text/css" href="stils.css"/> <?php if($_GET["selectedTab"]=="7"){ echo "Welcome to 7th page."; //<-- kkaadi styloti div... backgrounds utt. } elseif($_GET["selectedTab"]=="100000"){echo "bla..bla";} ?> htaccess: Options +FollowSymlinks RewriteEngine on RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?selectedTab=$1 RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?selectedTab=$1 Kad ieeju example.com/7 - visu raada kaa vajag, turpretim, kad ieeju example.com/7/ - nerāda stilus. Quote Link to comment Share on other sites More sharing options...
yeahz Posted March 3, 2010 Report Share Posted March 3, 2010 (edited) RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/\.]+)/?$ /index.php?selectedTab=$1 [QSA,L] Edited March 3, 2010 by yeahz Quote Link to comment Share on other sites More sharing options...
sandis_m Posted March 3, 2010 Author Report Share Posted March 3, 2010 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/\.]+)/?$ /index.php?selectedTab=$1 [QSA,L] Šitais neder... Viņs man tagad, kad aizeju uz example.com/7/ , pārmet uz example.com, kas man šobrīd nudien nav vajadzīgs. Quote Link to comment Share on other sites More sharing options...
2easy Posted March 3, 2010 Report Share Posted March 3, 2010 /stils.css Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.