Hi,

When I initially configured Drupal, I did not change the Node Path Settings (/admin/settings/pathauto >> Node path settings) from the default value.

However, I would like to do this now, but I obviously have some questions, because I’m concerned that the previous URLS will now be inconsistent or invalid, which will cause indexing problems with Google.

So, the end result would hopefully be my URLS going from mysite.com/content/node-title to mysite.com/taxonomy-term/node-title.

So, my questions are

  1. Within the PathAuto module, if I change node types to point to different paths, with they automatically update the URLS for all the old nodes that were created previous to this change?
  2. If not, is there a way that I can automatically do this?
  3. If the old URLS do update, does anyone know if the Global Redirect module can automatically create 301 redirects for the old URLS pointing to the new URLS?
  4. Do I need any additional modules? I looked at the Pathlogic Module, but I can’t figure out if that’s what I need

Overall, what is the best way to accomplish what I am trying to do?

Thanks and Merry Christmas!

Comments

runssl’s picture

You can use http://drupal.org/project/path_redirect it will create a 301 (seo friendly) redirect to the nodes new location. You can install this also http://drupal.org/project/globalredirect

Discount SSL Certificates http://www.runssl.com

mherchel’s picture

Thanks. I already have Global Redirect installed.

So, if I update PathAuto’s "Node Path Settings", will it automatically update the URLs of the old content?

Will I have to manually create a 301 redirect for each page? Or, can this be automatic?

mherchel’s picture

I did a little research, and when I update the node path settings, it does not retro-actively affect the old content. Is there a way to automatically do this, and also create 301s from the old URLs to the new URLs?

Thanks,

Blueeeeie’s picture

Hi,

Have you explored the possibility of using the workflow_ng module?

---
www.drupaldiy.com - Showcase your Drupal site

boris mann’s picture

You can make new aliases by deleting the old ones, and then checking the bulk generate to make new ones.

--
The future is Bryght at Raincity Studios

mherchel’s picture

Not a bad idea...

If I delete the old ones, is there a way that I can set up 301 redirects from the old aliases to the new ones, though?

I don't want to lose all the articles that I have indexed within Google.

mducharme’s picture

Old thread, but wanted to add that you don't have to delete the old aliases and bulk generate new ones in this case.

After making any changes to your automated path alias settings...

  • Go to Administer > Content Management > Content
  • Filter down to your changed alias nodes
  • Select Update path alias in the Update options dropdown

This will bulk change all old paths to the new one.

mastoll’s picture

@mducharme, this works great for nodes. What about taxonomy term paths?

Thanks!

EDIT - I have since read that there is not an Update URL Alias for terms or users. I was successful in deleting existing taxonomy term alias' and selecting the "bulk generate" box on the automatic alias settings screen. Thanks!

mducharme’s picture

I banged my head against the wall with that for a while too.

Cheers