Jump to content

is rewrite doin a 302 redirect?


seksislav

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.