Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Gavin Murphy
    Gavin Murphy
    10,004 Points

    no config file in downloads

    Posted January 20, 2016 5:05pm by Gavin Murphy
    Gavin Murphy
    10,004 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    0 Answers

  • Leigh Maher
    Leigh Maher
    21,830 Points

    Rewrite rule only worked when I included the sub-folder name?

    Posted July 3, 2015 9:17am by Leigh Maher
    Leigh Maher
    21,830 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    3 Answers

  • Dan Neumann
    PLUS
    Dan Neumann
    Courses Plus Student 10,318 Points

    I'm really confused with php paths

    Posted June 24, 2015 12:25pm by Dan Neumann
    Dan Neumann
    Courses Plus Student 10,318 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    1 Answer

  • Martina Carrington
    PLUS
    Martina Carrington
    Courses Plus Student 15,807 Points

    I try show hidden items and some reason .htaccess won't work on my windows

    Posted May 24, 2015 2:10pm by Martina Carrington
    Martina Carrington
    Courses Plus Student 15,807 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    0 Answers

  • Kevin Phillips
    Kevin Phillips
    15,693 Points

    .htaccess not rewriting URLs.

    Posted March 19, 2015 11:40pm by Kevin Phillips
    Kevin Phillips
    15,693 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    3 Answers

  • Jerôme Naglé
    Jerôme Naglé
    14,189 Points

    .htaccess is not working

    Posted December 22, 2014 1:46pm by Jerôme Naglé
    Jerôme Naglé
    14,189 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    5 Answers

  • Hector Menduiña
    Hector Menduiña
    23,873 Points

    .htacces doesn't work in my workspace treehouse

    Posted December 19, 2014 3:22pm by Hector Menduiña
    Hector Menduiña
    23,873 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    2 Answers

  • Becky Christofferson
    Becky Christofferson
    15,047 Points

    Rewrite Rule directs to a 404 Error

    Posted November 15, 2014 8:46pm by Becky Christofferson
    Becky Christofferson
    15,047 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    2 Answers

  • Steven Burgess
    PLUS
    Steven Burgess
    Courses Plus Student 5,624 Points

    Rewrite Rule will not work

    Posted November 11, 2014 2:54am by Steven Burgess
    Steven Burgess
    Courses Plus Student 5,624 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    1 Answer

  • William LaMorie
    William LaMorie
    11,769 Points

    Is there a way to get ajax to work in workspaces?

    Posted November 11, 2014 12:40am by William LaMorie
    William LaMorie
    11,769 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    0 Answers

  • Mike Fondario
    Mike Fondario
    11,286 Points

    .htcaccess redirecting individual shirts detail page to shirts.php

    Posted November 5, 2014 7:43pm by Mike Fondario
    Mike Fondario
    11,286 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    1 Answer

  • nathon reed
    nathon reed
    8,521 Points

    I added the .htaccess file and unable to get the rewrite rule to work. Everytime I add the .htaccess I get an error

    Posted October 28, 2014 8:24pm by nathon reed
    nathon reed
    8,521 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    3 Answers

  • Jeff Hoffman
    Jeff Hoffman
    6,196 Points

    Root Relative Path Not Working for config.php

    Posted October 26, 2014 5:35pm by Jeff Hoffman
    Jeff Hoffman
    6,196 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    5 Answers

  • Thomas Ettelson
    Thomas Ettelson
    3,066 Points

    Browser no longer display images, but rather warnings since using .htaccess. I am using only the download files.

    Posted October 7, 2014 3:29pm by Thomas Ettelson
    Thomas Ettelson
    3,066 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    0 Answers

  • David Kim
    David Kim
    4,498 Points

    .htaccess is not working for netbeans. My directory is "htdocs/tshirt_store/.htaccess"

    Posted July 29, 2014 4:25am by David Kim
    David Kim
    4,498 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    3 Answers

  • Bruno Feijão
    PLUS
    Bruno Feijão
    Courses Plus Student 4,345 Points

    Introducing Rewrite Rules issue on localhost...

    Posted July 20, 2014 1:33am by Bruno Feijão
    Bruno Feijão
    Courses Plus Student 4,345 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    12 Answers

  • Don Shipley
    Don Shipley
    19,488 Points

    .htaccess

    Posted July 14, 2014 9:42pm by Don Shipley
    Don Shipley
    19,488 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    3 Answers

  • Ian Svoboda
    Ian Svoboda
    16,639 Points

    Unable to setup my Rewrite Rule (.htaccess)

    Posted June 23, 2014 2:11am by Ian Svoboda
    Ian Svoboda
    16,639 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    21 Answers

  • Eric Palumbo
    Eric Palumbo
    6,313 Points

    Project Files not Working

    Posted June 7, 2014 4:09pm by Eric Palumbo
    Eric Palumbo
    6,313 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    1 Answer

  • Mauro Bonucci
    Mauro Bonucci
    5,953 Points

    Rewrite Rule Problems

    Posted May 20, 2014 3:48pm by Mauro Bonucci
    Mauro Bonucci
    5,953 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    2 Answers

  • Miraj Desai
    Miraj Desai
    611 Points

    Urgent help required pls

    Posted May 3, 2014 5:07am by Miraj Desai
    Miraj Desai
    611 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    2 Answers

  • Jamie Williams
    Jamie Williams
    5,097 Points

    403 Forbidden on shirts.php Rewrite rule but the others work.

    Posted May 2, 2014 4:45pm by Jamie Williams
    Jamie Williams
    5,097 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    1 Answer

  • JONATHAN BOARINI
    JONATHAN BOARINI
    854 Points

    Why not use a PHP redirect instead of .htaccess rewrites?

    Posted April 20, 2014 3:03pm by JONATHAN BOARINI
    JONATHAN BOARINI
    854 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    2 Answers

  • Remie Smith
    Remie Smith
    1,512 Points

    Rewrite not working

    Posted March 20, 2014 6:24pm by Remie Smith
    Remie Smith
    1,512 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Introducing Rewrite Rules

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord