Tell me, please, what is the problem. Unpacked the site from the archive placed on the local hosting, set the corresponding bd. The main page is displayed normally, and if you go to another page, it goes only if you add "? Q =" to the page name, and an error is issued without this addition.

  • Check the .htaccess file, everything is modded on Mod_rewrite, if you were not mistaken with the name of the module. - Andrey Arshinov
  • I think this file does not even have, at least in the main folder with the site. - Sergey4590

2 answers 2

You need to check whether mod_rewrite is mod_rewrite .
The path module is responsible for the paths in the address bar without ?q= .
It needs to be included.

  • The module is enabled. The problem is that the site is navigated through the pages to go to pages without "? Q =", so that the pages are opened, you need to add to the page name "? Q =" - Sergey4590
  • You need to check whether mod_rewrite is enabled. - alekseidolganov
  • how to do it? - Sergey4590
  • in .htaccess we write RewriteEngine On RewriteRule p1.html p2.html Create a couple of simple pages, and type the address http: // <your domain name> /p1.html. Must be redirected to p2.html page - alekseidolganov
  • created a file in the main folder with the site .htaccess wrote these 2 lines, the effect of zero - Sergey4590

In the .htaccess file, you need to find # RewriteBase /drupal and # RewriteBase / and remove the # sign in front of them, save the file and enable "Clean Links" in the Drupal admin area. ( http://site.com/admin/config/search/clean-urls)