Remove story_html5.html & story_flash.html from URL Address

Jul 17, 2017

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

2 Replies
Martin Garnett

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

This discussion is closed. You can start a new discussion or contact Articulate Support.