Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/85533-address-line-problem/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.