epiploicum Posted August 19, 2008 Share Posted August 19, 2008 Hi everybody I have problem with .htaccess.I have seo-g and there is example from this cont: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING} But i have code from my hosting,which looks like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^XXXXXXdomenaXXXXXX.cz RewriteRule (.*) http://www.XXXXXXdomenaXXXXXX/$1 [R=301,QSA,L] RewriteRule ^([^\.]+)$ index.php?hodnota=$1 [L,QSA] ..and to index.php i have to write this: <? echo "<html><body><pre>"; # url rewrite #$vars = explode("/",$_SERVER["PATH_INFO"]); #$a=$vars[1]; #$b=$vars[2]; #$c=$vars[3]; echo "hodnota = $a\n"; ?> </pre></body></html> ..so my problem is,how to have finaly .htaccess code. Please help me,thanks you very much Link to comment Share on other sites More sharing options...
epiploicum Posted August 21, 2008 Author Share Posted August 21, 2008 please Link to comment Share on other sites More sharing options...
oschellas Posted August 21, 2008 Share Posted August 21, 2008 You will have more success to solve the problem by searching/posting in the contributions topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.