Hello, I want to use a custom short URL to point to another long URL and I thought that the best way to do this is to create a new page with a 'nice' URL that redirests to the long URL. For example, I want to use mysite.com/niceURL, and then create an index.html or index.php file which contains a redirect code that redirects to the long URL and place the file in the directory "niceURL" so that when someone visits mysite.com/niceURL it automatically redirects to the long URL. My question is: Which is better/faster to use; An HTML redirect code in an index.html file or a PHP redirect code in an index.php file? And also can you provide me with the HTML or PHP code that can be used to redirect the page another URL? Thanks in advance!
You can use mode re-write of Apache to change the your urls to SEO friendly urls. It's better to use redirect. Anyway, I don't think this is right forum for your question.
I don't have control over the server (If I didn't get you wrong!) I want to know if it's better to use HTML or PHP redirect script.