w3develops / w3Develops

The w3develops.org open source codebase - Learn, build, and meetup with other developers on DISCORD https://discord.gg/WphGvTT and YOUTUBE http://bit.ly/codingyt
https://w3develops.org
Other
125 stars 48 forks source link

adds a forward slash to the end or the url #291

Closed JonDevOps closed 3 years ago

JonDevOps commented 3 years ago

first four lines deal with the removal of the .html extension in the url, the following four lines deals with the addition of the trailing slash and redirecting.

edit this

Closes #XXXXX

hannahpi commented 3 years ago

I'm not sure I completely understand this, would this always add a / to the end of the URL or only during certain conditions? I would think that you'd want to add / but only when with the following conditions:

Special considerations:

I'm guessing this addresses all of this already but I'm not sure how these rules work exactly: what conditions are associated with which rules and such--are additional conditions applied to all the rules you have in the file? Are the conditions met when any one of the conditions are true (I'm guessing so--I don't think they could all be true).

JonDevOps commented 3 years ago

I'm closing this as an unnecessary patch. @waterlgndx thank you for your input!