URL of the news - RevCMS

Results 1 to 4 of 4
  1. #1
    Apprentice FelipeBR is offline
    MemberRank
    Jan 2012 Join Date
    7Posts

    URL of the news - RevCMS

    Well, RevCMS, the URL of a story is like this:

    Code:
    /index.php?url=news&id=1
    And I wonder, if possible, change this URL, and leave it like this:

    Code:
    /news/1
    It has to do this?


  2. #2
    Valued Member Casly is offline
    MemberRank
    Mar 2012 Join Date
    SwedenLocation
    100Posts

    Re: URL of the news - RevCMS

    Yes.. I think so but its a hell of a job.. never tried on RevCMS

  3. #3
    Valued Member iOmvuZ is offline
    MemberRank
    May 2012 Join Date
    104Posts

    Re: URL of the news - RevCMS

    Just go to .htacces, change RewriteRule ^/index.php?url=news&id=([0-9]+)(|/)$ index.php?url=news&id=$1
    to
    RewriteRule ^news/([0-9]+)(|/)$ index.php?url=news&id=$1

  4. #4
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: URL of the news - RevCMS

    Quote Originally Posted by iOmvuZ View Post
    Just go to .htacces, change RewriteRule ^/index.php?url=news&id=([0-9]+)(|/)$ index.php?url=news&id=$1
    to
    RewriteRule ^news/([0-9]+)(|/)$ index.php?url=news&id=$1
    Add above, don't replace it.



Advertisement