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
  • James Ma
    James Ma
    19,063 Points

    I have tried every possibility of adding a trailing slash..

    Posted April 21, 2016 9:17pm by James Ma
    James Ma
    19,063 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • MUZ140599 Rachael Tsaurai
    MUZ140599 Rachael Tsaurai
    5,406 Points

    How do i add a trailing trash.

    Posted May 27, 2015 1:17pm by MUZ140599 Rachael Tsaurai
    MUZ140599 Rachael Tsaurai
    5,406 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,628 Points

    Adding a Trailing Slash with a RewriteRule

    Posted May 10, 2015 12:27am by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,628 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Gabriel Jones
    Gabriel Jones
    4,822 Points

    Rewrite Rule Challenge

    Posted April 22, 2015 10:01pm by Gabriel Jones
    Gabriel Jones
    4,822 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • crystal oakley
    crystal oakley
    5,709 Points

    Cleaning URLs with Rewrite Rules

    Posted February 4, 2015 3:25pm by crystal oakley
    crystal oakley
    5,709 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Albert Kirchmeyr
    Albert Kirchmeyr
    11,410 Points

    Cleaning URLs with Rewrite Rules

    Posted February 1, 2015 10:52am by Albert Kirchmeyr
    Albert Kirchmeyr
    11,410 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Dylan Vidas
    PLUS
    Dylan Vidas
    Courses Plus Student 5,269 Points

    .htaccess RewriteRule not working as expected

    Posted November 27, 2014 5:51am by Dylan Vidas
    Dylan Vidas
    Courses Plus Student 5,269 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Jack Blankenship
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jack Blankenship
    Full Stack JavaScript Techdegree Graduate 39,036 Points

    Stuck on Code Challenge: Adding a Trailing Slash

    Posted September 18, 2014 1:15am by Jack Blankenship
    .a{fill-rule:evenodd;}techdegree seal-36
    Jack Blankenship
    Full Stack JavaScript Techdegree Graduate 39,036 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Chris Collier
    Chris Collier
    17,774 Points

    Why does this rewrite rule work (leading slash)?

    Posted August 26, 2014 8:59pm by Chris Collier
    Chris Collier
    17,774 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • John MacDonald
    John MacDonald
    8,593 Points

    I not sure I understand this code challange about Rewrite Rules

    Posted July 22, 2014 7:45pm by John MacDonald
    John MacDonald
    8,593 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Amin Khoshzahmat
    Amin Khoshzahmat
    12,342 Points

    .htaccess

    Posted July 17, 2014 2:16pm by Amin Khoshzahmat
    Amin Khoshzahmat
    12,342 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Don Shipley
    Don Shipley
    19,488 Points

    .htaccess Have no idea.

    Posted July 16, 2014 12:40am by Don Shipley
    Don Shipley
    19,488 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Shawn Mathew
    Shawn Mathew
    6,574 Points

    Cleaning URLS w Rewrite Rules

    Posted June 26, 2014 4:53pm by Shawn Mathew
    Shawn Mathew
    6,574 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Ivan Dimov
    Ivan Dimov
    4,690 Points

    Code challenge not working

    Posted June 21, 2014 5:21pm by Ivan Dimov
    Ivan Dimov
    4,690 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    3 Answers

  • Jarred Miles
    Jarred Miles
    22,560 Points

    having an issue with RewriteRule

    Posted June 18, 2014 1:58pm by Jarred Miles
    Jarred Miles
    22,560 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    1 Answer

  • Matthew Smart
    Matthew Smart
    12,567 Points

    HTACCESS

    Posted June 16, 2014 11:01am by Matthew Smart
    Matthew Smart
    12,567 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Robin Oxford
    Robin Oxford
    6,546 Points

    Help!

    Posted May 12, 2014 7:22pm by Robin Oxford
    Robin Oxford
    6,546 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Md.Atiquzzaman Soikat
    Md.Atiquzzaman Soikat
    20,416 Points

    Got Stuck on Final Problem of rewrite rules

    Posted April 28, 2014 9:06pm by Md.Atiquzzaman Soikat
    Md.Atiquzzaman Soikat
    20,416 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Joe Lance
    Joe Lance
    5,568 Points

    Trailing slash rewrite rule

    Posted March 13, 2014 2:36am by Joe Lance
    Joe Lance
    5,568 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 Answers

  • Weston Morin
    Weston Morin
    5,507 Points

    RewriteRules code challenge, not passing.

    Posted March 6, 2014 10:00pm by Weston Morin
    Weston Morin
    5,507 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Cleaning URLs with Rewrite Rules
    • Adding A Trailing Slash

    2 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