I am trying to have unique meaningfull urls rather than node/3 or taxonomy/3

I have downloaded keyword_links installed properly but couldn't find the option to fix node_prepare hook patch so i now i am looking for an easy way to find solution. If anyone knows this please help me in this regard.

I have tried searching here but couldnt find the solution.

Looking forward for the solution.

Thanks in advance

Comments

behindthepage’s picture

This feature is part of core. Go to modules and enable path. This module allows you to set url aliases.

gpdinoz
"If we can see further it is because we stand on the shoulders of giants"

Regards
Geoff

samuel lavoie’s picture

i was searching for this ! thanks for the info

Sammy514
---
www.samuellavoie.com
www.biotechqc.com

teshager’s picture

try the pathauto module but enabling "path" in your module setup allows you to alias these nodes.

Cheers

chiefguest’s picture

Hi,

thank you guys for the quick response and showing me a solution.

Please help me with changing mass urls as i have already dumped much content

i want to change
taxonomy/term/2
under which there are many post with [like node/111, node/112]

Thanks in advance.

linulo’s picture

You may want to take a look at the "Bulk generate index aliases"-option of pathauto (description: "Generate index aliases based on all pre-existing aliases.")

I have used pathauto in combination with taxonomy block to generate taxonomy sensitive submenus. There are lots of interesting possibilities with this combination.

chiefguest’s picture

where can i get this module. for mass url.

vincentc’s picture

Hello,

chiefguest >> I hope you won't mind my "interfering" with your thread. I have a related question, although slightly different. I thought I'd post it here as it might interest people reading this thread (btw, the module you're looking for is http://drupal.org/project/pathauto).

Instead of aliasing "node/3" or "taxonomy/4" (individually or via mass-aliasing), I'd like to permanently replace "node" by a more meaningful word like "article" or "category". I tried to alias "node" to "article" but it works only for this specific path and not for the subpaths like "node/3".

Besides, what would be even nicer is to replace "node" by a word depending on the type of node I'm viewing:

- "node/3" ==> "artist/3"
- "node/3" ==> "book-review/3"
- "node/3" ==> "publisher/3"

Where "artist", "book-review" and "publisher" are custom node types for node 3. Wouldn't that be nice?! :)

Finaly, what would really be a blast is:

- "node/3" ==> "artist/michael-jackson"
- "node/3" ==> "book-review/dont-look-back"
- "node/3" ==> "publisher/apress"

Where "michael-jackson", "dont-look-back" and "apress" are text ID equivalents for 3 (based on the node's title or entered manually).

I know pathauto more or less does this but I don't want to use it because it's impractical (and it's said to slow down Drupal) when you have hundreds of links to maintain.

I think I could do that by hacking the node module but I'm not fond of that either because it would break the compatibility with the official core Drupal package.

Any advice on this?

Vincent

styro’s picture

It sounds like you want to manually make 'subaliases' that only apply to parts of a URL. That seems a great idea for a feature to me, but I'd have no clue as to how to do it sorry :)

--
Anton

linulo’s picture

Hello Vincent,

Finaly, what would really be a blast is:
- "node/3" ==> "artist/michael-jackson"
- "node/3" ==> "book-review/dont-look-back"
- "node/3" ==> "publisher/apress"

This can easily be accomplished with the pathauto module as long as you use taxonomy for your categories. I suppose you mean different nodes (not identical ones as in your example).

Suppose you have node/3, node/4 and node/5. Then you would create a vocabulary, e.g. named "content category" and add the needed terms, e.g. "artist", "book-review" and "publisher". Next you would assign node/3 to the category "artist", node/4 to "book-review" and node/5 to "publisher".

Go to Administration >> Settings >> pathauto >> Node path settings >> Default path pattern and enter [cat]/[title].

If you're feeling lucky you can also check the box Bulk update node paths but I would make a database backup first.

Your nodes will then be named as you suggested. Alternatively you could use the menu structure to name your path aliases.

Hope that helps.
Peter

chiefguest’s picture

my present version is 4.6.5 can i use the present pathauto module as it says its for 4.7 version

Thanks in advance

gunnettmd’s picture

ChiefGuest: Click Other Releases and you should find the 4.6 release of this module. That is what you should install, and not the 4.7 version.

Mike of Sighing Sage

chiefguest’s picture

@vincentc

Well i was looking for the same thing but going for the too advance i thought to try for a medium level feature/module as i have huge traffic and don't want to give a try for too advanced feature [which is not yet available as far as my search/knowledge(contributed modules)].

Anyway i was about to reply that autopath slowdown the site and am not interested to give it a try as of now because i am on 4.6.5 version.

So any help from seniors here would be appreciated.

Thanks in advance.

chiefguest’s picture

Also please let me know if i can directly use pathauto for my present version 4.6.5 or do i have to upgrade anything for it.

It seems the present available pathauto is for 4.7

KSA213755’s picture

On the pathauto module page http://drupal.org/project/pathauto you can go to View older releases to get to the 4.6 version which is available here:
http://drupal.org/node/17345/release

There appears to be a patch that addresses the performance problems in the 4.6 version of pathauto which is described here:
http://drupal.org/node/43712

Hope that helps.

Roger