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 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2011
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTACCESS preventing HTM files from loading

    The following in my HTACCESS;

    Code:
    Options +FollowSymlinks
    RewriteEngine on
    RewriteRule ^(.*)\.htm$ $1.php [nc]
    blocks HTM files from loading, anyway to fix this ?

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by CardinalQuest View Post
    The following in my HTACCESS;

    Code:
    Options +FollowSymlinks
    RewriteEngine on
    RewriteRule ^(.*)\.htm$ $1.php [nc]
    blocks HTM files from loading, anyway to fix this ?
    try this way:
    Code:
    Options +FollowSymlinks
    # RewriteEngine on
    # RewriteRule ^(.*)\.htm$ $1.php [nc]
    best regards

  • #3
    New Coder
    Join Date
    Jan 2011
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It appears to be fixed, thank you


  •  

    Posting Permissions

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