Jump to content

unncessary redirect, and i dono y, help please!!!


tiki

Recommended Posts

Ok so Im using .htaccess for mod_rewrite, heres my code:

 

RewriteEngine on

Options +FollowSymLinks

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^admin/$ admin.php

RewriteRule ^admin/([a-z]+)/$ admin.php?page=$1

RewriteRule ^admin/([a-z]+)/([a-z]+)/$ admin.php?page=$1&do=$2

RewriteRule ^popup/$ popup.php

RewriteRule ^popup/([a-z]+)/$ popup.php?page=$1

RewriteRule ^([a-z]+)/$ index.php?page=info&view=$1

RewriteRule ^([a-z]+)/$ index.php?page=$1

RewriteRule ^([a-z]+)/([a-z]+)/$ index.php?page=$1&view=$2

RewriteRule ^([a-z]+)/([a-z]+)/([a-z]+)/$ index.php?page=$1&view=$2&func=$3

RewriteRule ^([a-z]+)/([a-z]+)/([a-z]+)/([0-9]+)/$ index.php?page=$1&view=$2&func=$3&id=$4

RewriteRule ^([a-z]+)/([a-z]+)/([0-9]+)/$ index.php?page=$1&view=$2&id=$3

 

And when I go to www.domain.com/store/

It automatically redirects me to www.domain.com

I dono why, the default of the switch does not redirect!?!?!

But when I go to www.domain.com/index.php?page=store

Then the page works and doesnt redirect, why does it redirect with the previous url?

I changed it but I still get the problem.

 

When I go to [a href=\"http://www.illicitfashion.com/store/\" target=\"_blank\"]http://www.illicitfashion.com/store/[/a] it redirects to [a href=\"http://www.illicitfashion.com/\" target=\"_blank\"]http://www.illicitfashion.com/[/a]

But when I go to [a href=\"http://www.illicitfashion.com/index.php?page=store\" target=\"_blank\"]http://www.illicitfashion.com/index.php?page=store[/a] it does not redirect.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.