www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] Mod_rewrite Rule Ignored

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    52

    resolved [RESOLVED] Mod_rewrite Rule Ignored

    Dear friends,

    I'm new to mod_rewrite rules but I think I understood how it works. I'm testing the following rule for the following URL:


    RewriteEngine On
    RewriteRule ^index/pg/([a-z])/?$ index.php/pg=$1

    http://www.domain.com/index.php?pg=curriculum

    But accessing this URL doesn't makes the server rewrite it to

    http://www.domain.com/index/pg/curriculum

    Is the rule wrong? The hosting support only says that this issues are not scope of their support...

    Thank you,
    D. Duarte

  2. #2
    Join Date
    Aug 2006
    Posts
    52
    I totally forgot to test inserting in the browser the new url... and as redirect was not set, nothing was happening.
    That's why I tough the rule had some error...

    Thanks a lot my friend,
    D. Duarte

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles