Hi,
I have the following .htaccess file in the directory <domain>/ss/c/
RewriteEngine On
Options +FollowSymLinks
RewriteBase /ss/c/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ss/c/index.php [L]
RewriteCond %{HTTP_HOST} !^www\.sexspinner\.com [NC]
RewriteRule ^(.*)$ [R=301,L] and a index.php file with the following PHP
<?PHP
$cat = $_SERVER['REQUEST_URI'];
echo $cat;
?> If you go to <domain>/ss/cc/sometext index.php will display "/ss/cc/sometext" wich is fine but i am trying to use a file in <domain>/ss/ to redirect to the index.php in /ss/c/ as follows:
<?PHP
header ("Location: ");
?> but when i try it that way the index.php file in /ss/c/ just outputs "/ss/c/index.php" instead of "/ss/c/sometext".
Has anyone any idea why it is doing this?