.htaccess setup for rewrite rule http://www.hotcineactress.com/?page=2

janomona

Joined: 2012-05-03
Posts: 10
Posted: Thu, 2012-05-03 17:50

Hi Guys hope some one will help me to solve my problem.

What i have :-

1) http://www.hotcineactress.com/?page=2
2) http://www.hotcineactress.com/kim-sharma-hot-photos?page=3

Here no.page=2 and page=3 wil be changing it can be any no (1, 2, 3 .....)

What i would like to get :-

1) http://www.hotcineactress.com/page/2
2) http://www.hotcineactress.com/kim-sharma-hot-photos/page/3

My .htaccess have following rules

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>

Can any expert suggest me what rules i need to add so that my desired outcome will be achived. Thank you in advance.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-05-03 20:36

http://gallery.menalto.com/gallery_3_seo

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
janomona

Joined: 2012-05-03
Posts: 10
Posted: Sun, 2012-05-06 16:57

That is too old and dont work with 3.0.3.. i have already tried that.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-05-06 21:14

Why will it not work with 3.0.3?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
janomona

Joined: 2012-05-03
Posts: 10
Posted: Mon, 2012-05-07 04:08

Not sure why...but as given in the above post i done the same set-up and it did not work as expected....

 
Dragonsys

Joined: 2004-12-27
Posts: 72
Posted: Wed, 2012-05-09 02:09
janomona wrote:
Not sure why...but as given in the above post i done the same set-up and it did not work as expected....

it works just fine with 3.0.3. What web service are you running? Apache or IIS?