Forums

  • # March 14, 2013 at 3:35 pm

    Hie guys, I’ve an issue with the mod_rewrite, is about remove the whole example.com/index.php?page=’home’ to example.com/page/home i tried but stil with no success but only the index.php is gone there is my .htaccess look like:

    #
    Options +FollowSymLinks
    RewriteEngine On
    #

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule ^(.*)$ index.php?page=$1

    RewriteRule ^(([^/]+/)*)index.php?$ http://localhost/hector/$1 [R=301,L]

    #

    # March 15, 2013 at 7:43 am

    No my friend,
    the url is http://localhost/hector/index.php?page=Home
    after my .htaccess it removed the index.php and becomes this:
    http://localhost/hector/?page=Home the links work fine but what i want was to
    become this link without the question mark and =
    llike this:
    http://localhost/hector/page/Home

    # March 15, 2013 at 3:17 pm

    thank you for your help but it doesn’t work
    still the same

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag