Remove story_html5.html & story_flash.html from URL Address Jul 17, 2017 By Simon Seagrave Hi, Does anyone know how to remove the story_html5.html & story_flash.html address in the web browser's address bar? ie: so it just shows the URL of the site that your accessing. Thanks in advance, Simon
Martin Garnett over 6 years ago07/17/17 at 2:11 pm (UTC) Hi Simon, Not sure if this is the best way in doing it, but when I need to do this, I create a simple .php file with a re-direct. Put the following code in a file called "index.php": <?php header( 'Location: http://yoururl.com/pathToStoryline/story_html5.html' ) ; and then place that index.php in your storyline export file. (ie. pathToStoryline) Then you can make it a link like: http://yoururl.com/pathToStoryline This will automatically redirect to whatever you put after "Location:" in your .php file. A side note to this is that you need PHP running on your web server, but most do. Hope this helps! Martin
Simon Seagrave Author over 6 years ago07/17/17 at 2:12 pm (UTC) Thanks Martin, that's a top tip! I will give that a try now. Thanks again, and all the best, Simon
2 Replies
Hi Simon,
Not sure if this is the best way in doing it, but when I need to do this, I create a simple .php file with a re-direct.
Put the following code in a file called "index.php":
and then place that index.php in your storyline export file. (ie. pathToStoryline)
Then you can make it a link like: http://yoururl.com/pathToStoryline
This will automatically redirect to whatever you put after "Location:" in your .php file.
A side note to this is that you need PHP running on your web server, but most do.
Hope this helps!
Martin
Thanks Martin, that's a top tip!
I will give that a try now.
Thanks again, and all the best,
Simon
This discussion is closed. You can start a new discussion or contact Articulate Support.