Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End removed question mark

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43398
    misterlae
    Participant

    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]

    #

    #128309
    misterlae
    Participant

    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

    #128393
    misterlae
    Participant

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.