Jump to content

URL redirect / and hide the destination URL


cappiels

Recommended Posts

Hi,

I currently have something like this
saved into a file called "http://mywebsite.com/restaurants.php"
so that users don't have to remember or
see the long URL.

<?php
header("location:http://134.143.222.130:16080/fmi/iwp/cgi?-db=RT_Restaurants&-loadframes");
exit;
?>


It redirects fine but then shows the user the long URL in the browser address bar.
Is there a way I can make it so that the browser keeps     http://mywebsite.com/restaurants.php
in the address bar ?

many thanks :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.