Bongeh Posted January 11, 2008 Share Posted January 11, 2008 I'm currently doing a site, and i want instead of pages to have just directory names. for example http://www.yourmortgage.co.uk/ http://www.yourmortgage.co.uk/mortgage_basics/tracker_mortgages In my site, when i click on ' www.domain.co.uk/directory_directory ' it comes up in my browser as www.domain.co.uk/directory%5Fdirectory/ Where as in the yourmortgage site, it leaves the underscores in the address and doesnt add the forward slash on the end. I cant work out how they do this. I've used index.html files in seperate folders to get the directory folder structure of the site, but it adds forward slashes and %5F's I've kinda assumed that they might be using index.php pages with a smidge of code in each one, but i cant seem to work it out.. Any ideas? Thank you in advance. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 11, 2008 Share Posted January 11, 2008 Really has nothing to do with PHP, it has to do with the webserver setup. Quote Link to comment Share on other sites More sharing options...
nikefido Posted January 11, 2008 Share Posted January 11, 2008 google mod_rewrite It basically changed the URL shown so you can hide file names as you are trying to do (among other uses) Quote Link to comment Share on other sites More sharing options...
Bongeh Posted January 11, 2008 Author Share Posted January 11, 2008 ok, thanks guys, sorry if i posted this in the wrong place, i just didnt really know where to post it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.