Results 1 to 6 of 6

Thread: Modifying Mod-rewrite

  1. #1
    Join Date
    Nov 2004
    Posts
    50

    Default Modifying Mod-rewrite

    Hi All,

    I need help here. I am starting a new site and I need to change the Tag page pattern .. I need to remove the "/"

    By default this is like this:
    tag/{$tag}/more{$page}.html

    I need something like:
    tag-{$tag}-more{$page}.html

    But this does not work .. how can I change this to remove "/"?
    Thank you all for your help

  2. #2
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    try to use "_" (underline) against "-". But IMHO there shoudl be no problem with using "-".

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

    Default

    Don't change in .htaccess directly, use admin panel. Because with admin panel, it will build correct .htaccess codes.

    Also, you can't use - as separator. It will confuse the apache mod-rewrite. Say you have keyword 'ipod nano'. Indexu will generate SEO name as 'ipod-nano'. You can see that apache will recognize this as separator.

    Use something else unique.

  4. #4
    Join Date
    Nov 2004
    Posts
    50

    Default

    Thank you for you reply.

    Yes Dody I am using admin panel for that.

    I have tryed:
    tag_{$tag}_more{$page}.html

    But the tag link shows like this:
    http://www.domain.com/tag_tagname_more{$page}.html

    Azul

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

    Default

    I've checked it out, underscores don't work for me. Both on the users site and on one of my own.

  6. #6
    Join Date
    Nov 2004
    Posts
    50

    Default

    Any more ideias??

    Dody?
    Thanks

Similar Threads

  1. Mod rewrite help
    By nealdj in forum v5.x
    Replies: 4
    Last Post: 07-17-2006, 08:05 PM
  2. Mod rewrite
    By guilinkevin in forum v5.x
    Replies: 13
    Last Post: 06-23-2006, 11:19 AM
  3. Modifying <%link%> color
    By tyersin in forum v5.x
    Replies: 2
    Last Post: 08-20-2005, 04:03 PM
  4. Replies: 1
    Last Post: 09-22-2003, 12:14 PM

Posting Permissions

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