RevCMS URL

Results 1 to 2 of 2
  1. #1
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    RevCMS URL

    Hey Y'all,

    While I'm working on developing Laravel version of CMS I just need temp fix to hide /index in the url if possible using the .htaccess



    So when people visit my site it doesn't go to index#registration


  2. #2
    Hello there RetroPiggy is offline
    MemberRank
    Aug 2013 Join Date
    UKLocation
    288Posts

    Re: RevCMS URL

    If you want to use the .htacces, you could do something similar to what my hotel uses:

    Code:
    RewriteRule ^(.*)$ index.php/$1 [L]
    My site uses Codeigniter so it will be different but by default, Codeigniter adds 'index.php' into URLs, this in the .htaccess directs traffic through the index.php without it being in the URL.

    The code above my need changing a little to work for your site but it is a basic exmple of how it could be done.



Advertisement