PHP などで URL をマスクする方法はありますか? 私はgoo.glでカスタム ドメインを使用したいと考えています。
このようなものは以前にも見たことがあると断言しますが、その名前を思い出せません。
これのことですか?(URL クローキング、onclick イベントのあるプレーン HTML)
<a href="http://google.com" onclick="window.location='http://yahoo.com';return false;">Google</a>
それともこれ?(HTTP リダイレクト)
<?php
// get $path form the url (I suppose you're using mod_rewrite or similar)
$path = $_GET['some_url_var'];
header("location: http://goo.gl/$path"); // redirect
?>