Solved

Modify URL in Drupal Site?

Posted on 2013-05-20
4
248 Views
Last Modified: 2013-06-04
(I'm using the OpenPublic distro)

Currently my site uses the default URL like this:

http://www.mysite.com/?q=site-page/serving-veterans-and-military-families

I want it to be this:

http://www.mysite.com/site-page/serving-veterans-and-military-families

1) What's the best approach?
2) Can I enable for all my pages?
3) Going forward, how do I enable it so it doesn't use ?q=
4) If I have linked to ?q= will those links be broken after this change?
0
Comment
Question by:sandshakimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:BlueYonder
ID: 39180953
Here are instructions how to use clean urls in drupal, http://drupal.org/node/15365.
0
 
LVL 12

Assisted Solution

by:junipllc
junipllc earned 250 total points
ID: 39181686
1. Use "clean URLs," as specified by BlueYonder

2. Yes, and you should. It is good for SEO as well as overall niceness.

3. That's the same as #1, actually.

4. No, they will not. I would recommend, though, that you install the Global Redirect module. It will redirect any users using the ?q= paths to the actual, aliased, clean paths. That way you will have only one (called "canonical") URL for each page. Having multiple URLs for a page or piece of content is discouraged, as Google may consider it duplicate content.

SEO aside, it's definitely best practice to do all of the above. It looks like you may already have the Pathauto module installed as well, but if you don't, that's definitely another that is a standard install on my list.

I didn't want to usurp the question, or step on BlueYonder's toes. I just wanted to add to the answer a bit.

Cheers,

Mike
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39182946
You should install and enable pathauto module as well, which automatically uses the page title as the URL, which search engines like.
0
 
LVL 17

Accepted Solution

by:
nanharbison earned 250 total points
ID: 39182951
If you have pages already created before enabling clean URLs, their URLs are not affected, you would have to go in and change those.
Also, if your site doesn't pass the test to allow clean URLs, let us know, we can tell you how to fix it.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drupal Cute Slider 2 509
change fields order in Drupal 7 register form 4 906
Dynamic Display Block not showing 4 428
Drupal Module for Interacting with Second Database? 1 203
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question