Question

The problem i am facing is that whenenver I am typing the path of any sub directory n my website like localhost/MySiteName/register I am getting redirected towards the wamphome page . Any clicks after that on the wamphome page is giving path like (if i click on phpmyadmin) localhost/MySiteName/register/phpmyadmin . I have looked extensively through the code and the net but could not make out why such thing is happening ?

Was it helpful?

Solution

First check your .htaccess file , is it present or not. If it is present then follow the below mention steps.

  1. Open your wamp and click on it.
  2. Now go to Apache>>Apache Modules
  3. And check rewrite_module and then restart you WAMP. Please refer attached screen shot.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top