Results 1 to 12 of 12

Thread: Config mod-rewrite

  1. #1
    Join Date
    Dec 2005
    Posts
    8

    Default Config mod-rewrite

    How can I config mod-rewrite in indexu 5.4 ??

    thank you

  2. #2
    Join Date
    Dec 2005
    Posts
    8

    Default

    I have updated config mod-rewrite but there is nothing happend . My url still browse.php?cat=xx

  3. #3
    Join Date
    Feb 2007
    Posts
    51

    Default

    Did you use the command "Update Category Path"?

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    After modifying the mod-rewrite pattern, you should run Update Category Path

  5. #5
    Join Date
    Jul 2007
    Posts
    2

    Default

    Quote Originally Posted by dody View Post
    After modifying the mod-rewrite pattern, you should run Update Category Path
    Can you provide some specific examples of mod_rewrite patterns?

    Thanks.

  6. #6
    Join Date
    Aug 2003
    Posts
    233

    Default mod_rewrite

    Hi Dody,
    Is there somewhere special that a file permission eneds to be changed for mod _rewrite to work ?

    I put in the following ...
    Category page pattern {$cat_path}/more{$page}.html
    Detail page pattern detail/{$link_id}/{$link_title}.html

    hit configure and it tells me to run category update yet still have old link showing .

    Also when I return to check mod_reqrite from cp it is all blank again so I am assuming there is a file with wrong permission that needs to be adjusted.

    can you tell me what file that would be ?
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  7. #7
    Join Date
    Aug 2003
    Posts
    233

    Default

    Never mind
    I re-uploaded stock version of .htaccess and it resolved all the problems.
    Best
    Lewis
    www.AtoZfitness.com/indexu

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    For the modrewrite to work through the control panel your .htaccess file must have proper permissions. CHMOD .htaccess to 666 or 777

  9. #9
    Join Date
    Nov 2007
    Posts
    8

    Default

    How can I config mod-rewrite in indexu 5.4 ??
    Why my rewrite rule for rss at .htaccess not work?
    RewriteRule ^rss(.*)\.xml$ /rss.php?type=$1
    RewriteRule ^rss(.*)-(.*)\.xml$ /rss.php?type=$1&cat=$2

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Follow the direction above, they are all there as to how to configure it.

    Why would you want to rewrite RSS? It's only the link to the RSS that has the ? in it, the actual feed contains SEO'd URL's.

  11. #11
    Join Date
    Nov 2007
    Posts
    8

    Default

    All above rules work for me. not work new rules.
    And I do not understand why these rules for rss do not work.
    RSS directory not accept this type /rss.php?type=$1
    links and I wish them to change to frendly url.

  12. #12
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    As I said before, why do you want to rewrite the url to the rss feed?

    There is no point. But if you really want to then you'll need to add to to rss.php to enable mod_rewrite

Similar Threads

  1. Replies: 0
    Last Post: 10-26-2006, 03:57 AM
  2. mod-rewrite
    By mazikaty in forum v5.x
    Replies: 1
    Last Post: 10-23-2006, 07:52 AM
  3. Mod rewrite
    By guilinkevin in forum v5.x
    Replies: 13
    Last Post: 06-23-2006, 11:19 AM
  4. mod rewrite help
    By landuyt in forum v5.x
    Replies: 3
    Last Post: 05-04-2006, 01:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •