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