Have you ever had that certain instance where you want http://your-ucoz-site.com/stuff to also be accessible via http://your-ucoz-site.com/onlinegames BUT, instead of redirecting http://your-ucoz-site.com/onlinegames to http://your-ucoz-site.com/stuff, you want it to stay to being http://your-ucoz-site.com/onlinegames? Well good news, here's a tutorial that will help you add containers to virtually any URL you want. Be it inside your website or to external links, e.g.; http://your-ucoz-site.com/google will contain the Google website inside that URL.
Things you'll need:
- Any plain text editor. (You can't use Microsoft Word or any rich text editor.)
- Access to your uCoz website's File Manager.
Things to do:
1. Open up your text editor (e.g. notepad) and type or copy the code below.
<frameset rows="*" framespacing="0" border="0" frameborder="NO">
<frame src="http://your-new-url/" name="uCoz_Custom_Page_by_shadowslash" scrolling="auto" noresize>
Please enable iframes on your browser. Otherwise, click <a href="http://your-new-url/" target="_top">HERE</a> to view this page.
On the code above, replace http://your-new-url/ with the one you want and replace YOUR TITLE with the page title you want.
2. Save your file to index.html.
3. On your website's File Manager, create a new folder name it whatever you want, e.g.; onlinegames.
4. Inside your newly created folder, upload your index.html file.
5. Make sure that the file is named index.html.
6. Test out your new url redirection by visiting http://your-ucoz-site/yournewfolder.
7. If you followed everything correctly that should work and you will be redirected to the URL you specified.
This concludes this simple set of instructions on how to set up container for pages on your uCoz website.
-> Since this approach uses iframes, to be able to change the actual URL on the address bar (e.g. you want to go back to Home), you need to include the parameter target="_top" to your <a href> links pointing outside of the page you want to contain.
-> Some browsers have iframes disabled but even so, this script is setup to still make the visitor able to view the contents regardless of the browser allowing iframes or not.
You probably already knew how the above tutorial would work. You might just have overlooked it.