rewrites are redirecting

Discussion in 'General' started by suffeks, Oct 5, 2008.

  1. suffeks

    suffeks New Member


    i seem to have a problem with some rewrites. i couldn't find a solution after searching.


    RewriteRule ^page/([0-9]+)$$1

    it kinda works, if you request /page/1 it will load page.php?id=1, but it redirects to that php file, instead of leaving /page/1 in the address bar.

    at the top of my .htaccess i have:

    Options +FollowSymLinks
    RewriteEngine on

    anyone know what the problem might be?
  2. mistwang

    mistwang LiteSpeed Staff

    Get rid of "" from the destination URL.
  3. suffeks

    suffeks New Member

    ah yes... that works!


Share This Page