Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
Sir Pereira

Esconder URL verdadeiro

Recommended Posts


No index.php, em vez de redigires, podes fazer include() ao ficheiro jogos.php.

Mas porque queres fazer isso? Isso é pior em vários aspecto, não só o URL fica mais confuso, como os motores de busca muitas vezes não guardam os argumentos a seguir ao ?, o que significa que só a página inicial seria analisada.

Na minha opinião o melhor é usar o mod_rewrite do Apache para fazer URLs do tipo www.exemplo.com/jogos

❝The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.❞- John Carmack on software patents

A list  of command line apps

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site you accept our Terms of Use and Privacy Policy. 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.