1

I'm working on drupal 7.38.

I have my product placed in www directory of wampserver (C:\wamp\www\xyz)

The homepage is loaded with the url localhost\xyz but unable to navigate to any other page.

All the pages open with url localhost\about instead it should be localhost\xyz\about

I have checked the .htaccess file and done some work on clean url.

But the problem persists for a FEW pages. Specifically the home page logo.(it redirects to wampserver)

I have gone through some stuff about rewrite bases but unable to find the issue.

ronit
  • 318
  • 1
  • 2
  • 18
  • There only reliable way to run this kind of CMS/Framework is to create a Virtual Host, then install Drupal in this case into the Virtual Host and not `localhost/xyz`. [See this for help setting up Virtual Hosts](http://stackoverflow.com/questions/27938739/wamp-server-v-2-5-icon-is-orange-does-not-respond-and-no-menu/27941227#27941227) and a description of what your issue probably is. – RiggsFolly Aug 20 '15 at 15:39
  • yeah ..you are right...virtuahost solved this problem...but why there was the isssue in the first place ..i never faced anything like that befor with wamp server.. – ronit Aug 21 '15 at 04:01
  • Sorry this was what I intended to point you too http://stackoverflow.com/questions/23665064/project-links-do-not-work-on-wamp-server/23990618#23990618 see the first explanation for the reason – RiggsFolly Aug 21 '15 at 13:08

1 Answers1

0

Is rewrite_module enabled in your apache? If not enable it, click the w icon at your taskbar, apache->Apache Modules->enable rewrite_module

Ardit Meti
  • 571
  • 5
  • 22
  • yes it is enabled....u know if something is to be done with .htaccess file ..and the rewrite base? – ronit Aug 19 '15 at 10:26
  • did you modify the .htaccess ? It never happened to me during my drupal installations before. – Ardit Meti Aug 19 '15 at 10:30
  • yeah i did ,,but the problem wasnt resolved...so rolled back all the changes...now its back to default state. – ronit Aug 19 '15 at 10:34
  • Can you post a copy of your drupal .htaccess. Or no just restart all services clear caches, if it still doesn't work reinstall both – Ardit Meti Aug 19 '15 at 10:38
  • well, the problem was solved..i just created a new virtualhost with my specific product directory...!! – ronit Aug 20 '15 at 04:19