Community & Support

URL alias for index.php?title=

I am converting an existing site to Drupal. The current site uses a very simple php, mysql setup, with pages accessed as:

index.php?title=whatever

There are only about 20 pages, but quite a lot of other sites link to them so I would like to keep them accessible. Can I use URL alias to do this?

Comments

Hi I think that is not user

Hi

I think that is not user and seo friendly but you can use redirect rules using .htaccess. if some one comes to old pages then redirect them to newly created respective pages.

I think it is a much better option.

Cheers

Devender

I wasn't very clear

I'm not sure I expressed the problem very clearly. The way the site currently works (non-Drupal, years old) uses URLs like:

index.php?title=whatever

When I move over to Drupal I will use clean URL and Path to give better URLs like

content/whatever

When I change over, I would still like anyone using the old style URL to be able to see the pages, purely to support any existing links from other sites.

Is .htaccess the only way to do this? I know you can use URL aliases to keep old links active when you restructure a site, but does the "?title" prevent this?

Hi I think .htaccess is the

Hi

I think .htaccess is the right solution for you. URL ALias will not help you in this if you want clean urls.

Cheers