seksislav Posted September 8, 2010 Share Posted September 8, 2010 Hey guys, i'm not really familiar with mod_rewrite, but I hope you understnat my problem and please try to help me. So I copied some rules from somwhere and this is how mu .htaccess file looks like: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.studentskicredit\.com$ [NC] RewriteRule ^(.*)$ http://www.studentskicredit.com/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] for some reason when i open the domain i get a 302 redirection and i have no clue why. What i'm trying to do is get the index.php file to parse the url ( which works fine for the moment ) and do what the script tells it to do, but what i'm woried about is how is this gonna affect google indexing/ranking ... Thanks for your time on reading this and I hope i you have an answer for me to waste a little more time and help. Regards Quote Link to comment https://forums.phpfreaks.com/topic/212903-is-rewrite-doin-a-302-redirect/ Share on other sites More sharing options...
seksislav Posted September 9, 2010 Author Share Posted September 9, 2010 Sry found my problem ... I'm just being retarded. Quote Link to comment https://forums.phpfreaks.com/topic/212903-is-rewrite-doin-a-302-redirect/#findComment-1109071 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.