JiG is on Patreon and Needs You! Click here for more information


htaccess to the rescue


Comments (0) | Views (1,959)

I struggled all day to figure out how to best handle the fact that all the pages on the site changed from .html to .php. I was concerned that anyone arriving from an old .html link would not get what they were after. After much digging and asking around, I discovered a simple directive in the Apache mod_alias module that saved the day.

One simple addition to my htaccess file was all that was necessary...

RedirectMatch (.*)\.html$ $1.php

No Comments

Leave a comment [top of page]

Please consider creating a Casual Gameplay account if you're a regular visitor here, as it will allow us to create an even better experience for you. Sign-up here!
  • PLEASE UNDERSTAND SITE POLICIES BEFORE POSTING COMMENTS
  • You may use limited HTML tags for style:
    (a href, b, br/, strong, em, ul, ol, li, code, spoiler)
    HTML tags begin with a less-than sign: < and end with a greater-than sign: >. Always. No exceptions.
  • To post spoilers, please use spoiler tags: <spoiler> example </spoiler>
    If you need help understanding spoiler tags, read the spoiler help.
  • Please Preview your comment before posting, especially when using spoilers!
  • No link dropping, no domains as names; do not spam, and do not advertise! (rel="nofollow" in use)
Weekday Escape - Retro Edition N°5> chrpa It's Retro Weekday Escape time and four atmospheric and magic games are waiting for you! We start in enchanting and tidy room by 10 Color Dots, full of lavender smell. After we leave it, Kiterescu takes us first to the...  ...
5,667 Views
5 Comments
Yellow> chrpa The new game from Bart Bonte is sharp yellow and black. The first-signal system activates! Wasps! Hornets! Caution Bio-Hazard! Caution Wet Floor! Slow Down! The last one is correct, no need to hurry anywhere, we've got awesome relaxing game with...  ...
8,972 Views
5 Comments
The Basement Escape> chrpa Huzzah! Tesshi-e is back with another excellent game! First, don't panic after you notice the intro screen you've seen before. Yes, it's from The Escape Hotel 3: Remake released last summer. Tesshi-e just revisited his favourite hotel, lost his way...  ...
7,460 Views
10 Comments
Weekday Escape N°151> chrpa Hi! The new Weekday Escape is here bringing three fantastic games! Lutaru gives us a box for playing, with a small button here and a tiny hole there and waits until we figure out what to do with it. After...  ...
Rullo

Recent Comments

 

Display 5 more comments
Limit to the last 5 comments

Game of the week


The Secret Order: Bloodline Collector's Edition

Your Favorite Games edit

add
Save links to your favorite games here. Use the Favorites editor.

Monthly Archives