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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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
    31,831 Points

    .htaccess

    Posted November 25, 2014 3:27pm by saranyamoellers
    saranyamoellers
    31,831 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.