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
  • Jaime Rios
    PLUS
    Jaime Rios
    Courses Plus Student 21,100 Points

    About implementing this changes

    Posted April 2, 2016 12:21am by Jaime Rios
    Jaime Rios
    Courses Plus Student 21,100 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    0 Answers

  • Prakhar Patwa
    Prakhar Patwa
    11,260 Points

    still displaying full url for particular shirt info

    Posted November 16, 2015 11:20am by Prakhar Patwa
    Prakhar Patwa
    11,260 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    0 Answers

  • Purvi Agrawal
    Purvi Agrawal
    7,960 Points

    Rewrite not working for shirt details page

    Posted September 24, 2015 1:55am by Purvi Agrawal
    Purvi Agrawal
    7,960 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    1 Answer

  • Rafal Bachanek
    Rafal Bachanek
    28,766 Points

    I have problem with my redirect with id

    Posted August 18, 2015 7:44pm by Rafal Bachanek
    Rafal Bachanek
    28,766 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    1 Answer

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

    how you to make .htaccess folder on windows .

    Posted May 24, 2015 3:49pm by Martina Carrington
    Martina Carrington
    Courses Plus Student 15,807 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    2 Answers

  • Charlie Swing
    Charlie Swing
    5,408 Points

    I cannot get get the .htaccess file to redirect.

    Posted April 14, 2015 3:44pm by Charlie Swing
    Charlie Swing
    5,408 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    2 Answers

  • Bob Sutherton
    Bob Sutherton
    20,160 Points

    Having trouble understanding the concept of getting any number of numbers?

    Posted March 24, 2015 11:49pm by Bob Sutherton
    Bob Sutherton
    20,160 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    3 Answers

  • Umy Ikem
    Umy Ikem
    21,383 Points

    Rewrite rule for get variable(shirt.php?id=) not working

    Posted March 24, 2015 12:38pm by Umy Ikem
    Umy Ikem
    21,383 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    3 Answers

  • Derek Dawes
    Derek Dawes
    4,944 Points

    Rewrite on .htaccess not changing get id to a "/"

    Posted March 6, 2015 6:12pm by Derek Dawes
    Derek Dawes
    4,944 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    0 Answers

  • tzehuilee
    tzehuilee
    19,911 Points

    Trouble with .htaccess file. Cannot get to detail shirt page after modifying rewrite rules.

    Posted January 1, 2015 6:49pm by tzehuilee
    tzehuilee
    19,911 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    2 Answers

  • Rohit Kuruvilla
    Rohit Kuruvilla
    317 Points

    Are .htaccess files a good practice?

    Posted December 19, 2014 7:40am by Rohit Kuruvilla
    Rohit Kuruvilla
    317 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    1 Answer

  • Justin Budd
    Justin Budd
    12,210 Points

    .htaccess file will not work apache using xampp Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 Server at localhost

    Posted December 18, 2014 3:38am by Justin Budd
    Justin Budd
    12,210 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    4 Answers

  • Oscar Gomez
    Oscar Gomez
    2,277 Points

    Rewrite rule for Get variable on shirts not working

    Posted December 5, 2014 6:53am by Oscar Gomez
    Oscar Gomez
    2,277 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    2 Answers

  • saranyamoellers
    saranyamoellers
    32,649 Points

    .htaccess

    Posted November 25, 2014 3:27pm by saranyamoellers
    saranyamoellers
    32,649 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    8 Answers

  • Paul Neumyer
    Paul Neumyer
    15,301 Points

    Need help with Rewrite rules for Shirts.php

    Posted August 26, 2014 3:48pm by Paul Neumyer
    Paul Neumyer
    15,301 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    5 Answers

  • Wei-Ting Chen
    Wei-Ting Chen
    7,632 Points

    How to know when should I use BASE_URL or ROOT_PATH?

    Posted June 25, 2014 9:10am by Wei-Ting Chen
    Wei-Ting Chen
    7,632 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    1 Answer

  • Spencer Johnson
    Spencer Johnson
    19,708 Points

    This RewriteRule code is not working? Help

    Posted June 22, 2014 3:39am by Spencer Johnson
    Spencer Johnson
    19,708 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    0 Answers

  • Anders Thomsen
    Anders Thomsen
    1,995 Points

    Only one of my .htaccess ReWriteRules works..

    Posted April 26, 2014 12:01am by Anders Thomsen
    Anders Thomsen
    1,995 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    0 Answers

  • Mark Ramage
    Mark Ramage
    8,875 Points

    Rewrite Rule - Shirts

    Posted February 13, 2014 11:19am by Mark Ramage
    Mark Ramage
    8,875 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Get Variables and Rewrite Rules

    9 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