Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By ridolfidesigns on
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
Comments
The Core Path module does
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.
Neither of those are what I
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
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?
So this isn't possible?
Url Redirect
Use Rewrite rules in .htaccess file for redirect old url to new url.
Modules for Redirects
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
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
Yeah, I know. I just couldn't figure out how it worked exactly. I have it figured out now.
Thanks