+ Reply to Thread
Results 1 to 3 of 3

Thread: .htaccess rewrite rule

  1. #1
    theblazingangel is offline x10Hosting Member theblazingangel is an unknown quantity at this point
    Join Date
    Oct 2005
    Posts
    45

    .htaccess rewrite rule

    can someone help with a simple .htaccess rewrite rule?

    RewriteRule ^articles(.*) pages/articles$1

    im trying to simply relace the "articles" directory with pages/articles", but im just getting 404 errors.
    btw, im practicing this on a home server, so server config could be a factor, but its probably just me, i only started reading about this yesterday

    cheers ;)

  2. #2
    Brandon Guest

    Re: .htaccess rewrite rule


  3. #3
    theblazingangel is offline x10Hosting Member theblazingangel is an unknown quantity at this point
    Join Date
    Oct 2005
    Posts
    45

    Re: .htaccess rewrite rule

    cheers

    im now using
    RewriteCond %{REQUEST_FILE} !/pages/articles/
    RewriteRule ^articles/(.+)$ pages/articles/$1 [R,NC,QSA,L]
    ive still got a couple of minor problems, if anyone can help: http://forum.modrewrite.com/viewtopic.php?t=1506
    Last edited by theblazingangel; 03-03-2006 at 11:35 AM.

+ Reply to Thread

Similar Threads

  1. default .htaccess
    By Fedlerner in forum Computers & Technology
    Replies: 9
    Last Post: 09-05-2007, 09:10 PM
  2. ReWrite Module is not active
    By rkaraca in forum Free Hosting
    Replies: 8
    Last Post: 10-25-2006, 06:33 PM
  3. Mod Rewrite (to admin)
    By snedan in forum Free Hosting
    Replies: 1
    Last Post: 06-07-2005, 03:09 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
x10hosting free hosting for the masses
dedicated servers