URL redirect

ridolfidesigns - June 22, 2009 - 13:24

I have a client that wants her old website converted into drupal. However, she told me that people have certain pages bookmarked. Obviously she doesn't want those links to be broken. Is there a module that would allow me to put in the old URL to redirect to the new one without the user knowing?

Thanks,

Eric

The Core Path module does

ScoutBaker - June 22, 2009 - 13:55

The Core Path module does this.

You might also want to look at PathAuto for automating the creation of URL Aliases. There's also the Path Redirect module that may be useful.

---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503

Neither of those are what I

ridolfidesigns - June 22, 2009 - 19:11

Neither of those are what I want. At least I don't think they are. I have never done this before.

What I need, is for the links from the old site to go to the urls on the new site. The urls on the old site are different from the urls on the new site. The old site is NOT a drupal site and it does NOT use clean urls. The new site does use clean urls. So I need to be able to say this old url needs to go to some new url. Is there a module that does this or do I need to look into something else?

Do the modules mentioned do this? I checked out the path redirect module and it looks like it only redirects urls from the drupal path to some other url. I need it the other way around. I need it coming from another url to a drupal path.

For example: http://oldsite.com/index.php?something=blog needs to now go to http://newdrupalsite.com/blog. The reason is because people have http://oldsite.com/index.php?something=blog bookmarked. So I don't want that link to be broken because the new blog url will be http://newdrupalsite.com/blog.

Thanks,

Eric

pathauto module is what u want

vips1802 - June 22, 2009 - 14:20

agree with ScoutBaker
pathauto will keep ur existing url smae and will also create ur desired url.
go with pathauto module.

So this isn't possible?

ridolfidesigns - June 24, 2009 - 03:06

So this isn't possible?

Url Redirect

ashishn.cms - July 3, 2009 - 08:09

Use Rewrite rules in .htaccess file for redirect old url to new url.

Modules for Redirects

jrburns - July 3, 2009 - 19:24

Your first option is to create the URL's on the new Drupal site to match the url's from the old site.

You can do this by using clean url's and enabling the path module. When you create new content in Drupal you'll then have an option called URL Path Setting - you can type in the old site url here.

If you plan to create new url's then you can use the two modules below:

Path Redirect
http://drupal.org/project/path_redirect

Global Redirect
http://drupal.org/project/globalredirect

You can also use the path auto module to automatically create your urls based on the node title, category, etc...

Path Redirect Works for Old Site Url Redirects as Well

jrburns - July 3, 2009 - 19:50

Sorry, I just read your follow up comment that you are going to create all new url's and that you need to redirect your old site url's to the new site url's. I just tested and verified that this is possible using Path Redirect.

Yeah, I know. I just couldn't

ridolfidesigns - July 29, 2009 - 05:05

Yeah, I know. I just couldn't figure out how it worked exactly. I have it figured out now.

Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.