Jump to content


Photo

htaccess - remove extension, slash - file names same as folder name


  • Please log in to reply
1 reply to this topic

#1 roguewonder

roguewonder

    Newbie

  • New Members
  • Pip
  • 5 posts

Posted 14 August 2014 - 11:03 PM

I want to remove the file extension - I have done that.

I want to remove the trailing slash. - I have done that

 

But I cannot for the life of me get the  the regular page to display instead of the folder which show a tree of files within it.

 

 

site.com/website-tips.php

site.com/website-tips/increase speed.php

 

The extension drops off and the trailing slash too but when I navgate back through the vreadcrumb to website-tips (without php in html code) it gives me the folder and shows the file tree (files within website tips folder)

How would I solve this?

right now if I access the website-tips.php file, it shows the directory and its interior pages

 

Pls hlp out.

 

 



#2 jeffreyappel

jeffreyappel

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 09 April 2015 - 02:27 AM

can you attach website-tips.php file here so that i could see the codes.


Essay writing service by Pimion





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users