Hi all,

I've copied a website to my localhost map and running Wamp server. The problem is that the links don't work properly.
But when I add ?q= before the link it works well..

So this does not work:

localhost/sitename/contact (I go back to localhost main page).

This works:

localhost/sitename/?q=contact

How can I make this work properly without manually editing the url?

Thanks

Comments

WorldFallz’s picture

That means that clean urls are not configured on the localhost. If using apache, you need to enable modrewrite. Not sure what the equivalent is for IIS these days.

LarsK’s picture

Thank you, with your information I´ll figure it out. And I found this:
http://www.learnbycode.com/content/how-enable-clean-urls-drupal-wamp-server

so thats exactly what I need.