how to hide folder path in url

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
sirimallamurali
Forum Newbie
Posts: 11
Joined: Sun Jun 14, 2009 10:41 pm

how to hide folder path in url

Post by sirimallamurali »

Hi all,

I am very new to PHP. i have small doubt.. How can we hide folder path in url.when i opend my website if i click some options in that then that foldername is appearing in url.. so pls give a suggetion how can i hide that folders path.


Thanking you..
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: how to hide folder path in url

Post by omniuni »

Usually the folder path is required for a website to function, but if you mean that you have a website that should be at a domain, and instead you are having to go to some domain assigned to you by your host, and then the folder in which your web site exists, you need to make sure that your hosting is "talking" to your domain name, by setting your DNS, or creating an "Addon Domain".

Good Luck!

-OmniUni
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: how to hide folder path in url

Post by kaisellgren »

sirimallamurali wrote:i opend my website if i click some options in that then that foldername is appearing in url.. so pls give a suggetion how can i hide that folders path.
Can you give me an example?
Post Reply