Enable the simple link of Drupal under Wamp (Clean URLs)

Source: Internet
Author: User
Tags drupal
Enable simple Drupal link in Wamp


Enable indirect links in Drupal to make unfriendly URLs very friendly. This increases the website's popularity and allows friendly URLs to be better added to the search engine's favorites. Indirect URLs are implemented by mod_rewrite in Apache. Therefore, you must enable the mod_rewrite module.


Path:

~ \ Apache \ apache2.4.9 \ conf file httpd. conf copy to Apache \ apache2.4.9 \ conf \ extra \, renamed: httpd-drupal.conf.


Enable mod_rewrite

Open the file httpd-drupal.conf, search for mod_rewrite, and remove the # Before the row where it is located.

...#LoadModule reflector_module modules/mod_reflector.so#LoadModule remoteip_module modules/mod_remoteip.so#LoadModule request_module modules/mod_request.so#LoadModule reqtimeout_module modules/mod_reqtimeout.soLoadModule rewrite_module modules/mod_rewrite.so#LoadModule sed_module modules/mod_sed.so#LoadModule session_module modules/mod_session.so#LoadModule session_cookie_module modules/mod_session_cookie.so#LoadModule session_crypto_module modules/mod_session_crypto.so#LoadModule session_dbd_module modules/mod_session_dbd.s---

Enable the simple link of Drupal under Wamp (Clean URLs)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.