Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2011
    Posts
    303
    Thanks
    29
    Thanked 0 Times in 0 Posts

    rewrite only from the dir

    hi, i only want to redirect from, content/themes/MrOSX/pages/ only

    Code:
    ServerSignature Off
    Options -Indexes -MultiViews
    
    Options +FollowSymLinks
    RewriteEngine On
    
    RewriteRule ^(.*)\.html$ content/themes/MrOSX/pages/$1.php [nc]
    can any1 help. thx

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Code:
    RewriteRule ^content/themes/MrOSX/pages/(.*)\.html$ content/themes/MrOSX/pages/$1.php [nc]
    ?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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