Jump to content

how to fix this?


codrgi

Recommended Posts

How do i solve this? it takes me to my site and the pics and everything dosen't show, it also does it for any .php file shown in the first directory

 

example

www.website.com/index.php

www.website.com/login.php

 

redirect or give 404 msg when ppl visit the below url

www.website.com/index/

www.website.com/login/

 

how do i solve this?

Link to comment
https://forums.phpfreaks.com/topic/155750-how-to-fix-this/
Share on other sites

www.website.com/index/

www.website.com/login/

 

those are pointing to directories (index and login directory respectively) on your webserver, instead of the pages themselves.

 

As far your problem.. make sure your supporting files (IE images, include pages, etc.) are in the same directory, or whatever directories they are supposed to be in.

 

I hope that helps... i really have no clue what you are trying to accomplish. please provide more details on your problem

 

 

Link to comment
https://forums.phpfreaks.com/topic/155750-how-to-fix-this/#findComment-819839
Share on other sites

example

www.website.com/index.php

www.website.com/login.php

 

redirect or give 404 msg when ppl visit the below url

www.website.com/index/

www.website.com/login/

 

The index and login are .php files, i dont have any directorys named index or login but each time i delete the .php from the login.php and replace is with login/ to make www.website.com/login/ it still finds the file and uses it, all i want to do is redirect or show a 404 msg to anyone that goes there, it may be inside the php.ini or conf file but i dont know where to edit to solve this, which is why i made this post

Link to comment
https://forums.phpfreaks.com/topic/155750-how-to-fix-this/#findComment-819867
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.