[Drupal] How to enable clean URLs in Drupal 7?
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY deepa.n
6 years ago
Web-Development
2
comments comment

When you make a fresh installation of Drupal 7, your URL will look like the following:

http://localhost/~user/drupal7/?q=user

Your site should have cleaner URLs while going LIVE. This is important in the SEO aspect too. So let us see how to enable clean URLs in Drupal 7.

Here are the steps to follow:

Step 1: Open your .htaccess file and search for '# RewriteBase' line.
Step 2: Replace '# RewriteBase' with '# RewriteBase /~user/drupal7' and save.
Step 3: Now, go to admin > configuration > clean urls and check 'Enable clean URLs' option & save.

And you are done. Enjoy Clean URLs!


RELATED ARTICLE

close

on 09th April 2007 / by webmaster
Freelance projects fall into a separate category of projects in that they target independent deve Community Projects Freelance Open Source Web Development Leave a reply Your email address will not be published. Required fields are marker * Shrinivasan (not verified) access_time 18 Aug 2019 - 23:15 Guys. Great Collection and a great site. It is really impressive to know that there a numerous FOSS tools for web contents. Thanks. Keep Growing. Anonymous (not verified) access_time 18 Aug 2019 - 23:15 In reply to Great collection by Shrinivasan (not verified) Great Collection and a great site!!! Thanks! Silvia (not verified) access_time 18 Aug 2019 - 23:15 Hi, nice work. I also love to use WordPress when setting up a new blog. Greetings JungleDirector (not verified) access_time 18 Aug 2019 - 23:15 Subj. Anybody have? I'ts better, if you have XRumer 5.04... Gimme link Thanks. Ingo (not verified) access_time 18 Aug 2019 - 23:15 Hi, this is a listing of open source software was looking for my new project Thx a lot Pagination Current page 1 Page 2 Page 3 Page 4 Page 5 Next page Next › Last page Last » Add new comment
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image
Anonymous (not verified)
access_time 18 Aug 2019 - 23:40

Terrific post however I was wondering if you could
write a litte more on this subject? I'd be very grateful if you could elaborate a little bit more. Appreciate it!


author-image

I am using drupal 7 .clean url not working. The check box not show.