Paths

This group serves as a means to discuss paths in Drupal and specifically the Pathauto and URLify modules. The modules all have similar but different functionality and discussions frequently overlap the modules.

I addition to the issue queue, this group serves as a place to discuss new features and changes in functions of the modules.

Finally, this group serves as a means of alerting users to updates in the modules. If you sign up you can expect to get an email from the Pathauto and URLify module maintainers if/when there is significant news in the development of their modules such as the release of a new version or a security update.

Pathauto Specifically for Pathauto the main area that is most up to date for news and changes to pathauto will probably always be the Issue Queue.

Renaming node: old URL is gone

private
group: Paths
Hikari - Sun, 2009-06-21 06:55

Hello guys.

I'm using Pathauto with Global Redirect, but there is an issue that they don't solve.

Let's say I have a node and after some time I decide to change its name. Then I go and change its URL to fit the new name, Pathauto doesn't do that so I just uncheck Automatic alias and change its URL.

The problem is that the node remains with the old URL, I don't know why it is not changed. And both old and new URLs return the same content, letting it duplicated.

Generating an alias for all tabs on a node

melban's picture
private
group: Paths
melban - Mon, 2009-04-20 04:54

I'm currently implementing multiple tabs on different types of content nodes. It really bugs me to keep the tab links as node/%/tabname instead of using alias/%/tabname. I've not been able to find a solution to this and my attempts to create a module or addition to Pathauto have also come to necessity.


Drupal Security Module Packages

emptyvoid's picture
public
emptyvoid - Tue, 2009-03-24 19:14

Finally after several weeks of preparation the Drupal Security Module Packages are available.

About the Security Package:


How to join several vocabularies

guldoe's picture
public
group: Paths
guldoe - Tue, 2009-03-10 09:22

I have several vocabularies like cities and services

cities [ london, paris , madrid ]
services [ restaurants, ...]

How to make url automatic like this

http://www.example.com/london/restaurants/xxxxx

Thz


I18n setups of Path Auto

public
group: Paths
miceno - Wed, 2008-10-22 14:04

Hi,

I am looking from i18N versions of the "strings to remove" of Path Auto plugin.

Is there a repository?

By the way, this is the one I created for Spanish:

un,una,la,el,es,a,ante,con,de,desde,en,entre,hacia, hasta,para,por,según,sin,so,sobre,tras,este,esta,aquel,aquella,su,sus,mi,tu,mis,tus

settings to kill from pathauto

greggles's picture
public
group: Paths
greggles - Thu, 2008-10-16 21:07

If you haven't seen it in it's full glory yet, look at http://drupal.org/node/189459

It's too big. Great. What can we do to slim it down and make it more useful?

  1. Create separate bulk generate page
  2. Use progressive disclosure for pattern settings
  3. Make tokens easier to find/add
  4. Create a new "Pathauto Advanced" module and
    1. Move the entire punctuation settings to it

Bulk paths for taxonomies in D5 is possible?

-enzo-'s picture
public
group: Paths
-enzo- - Mon, 2008-10-13 03:29

Hello folks

I've a site with hundreds of taxonomy terms, now I want to create alias for these terms, but I didn't find any option to request a bulk alias generation for categories.

Somebody have piece of php to do this dirty job.

Best regards

enzo


Needing to do a very bulk Bulk Update

public
group: Paths
JuliaP - Tue, 2008-10-07 05:03

We need to run the bulk update feature on Path Auto for approx 100,000 articles. Even with increasing the maximum allowed bulk upload this is going to take ages to do. Any ideas? thanks in anticipation.

What is your setting for "Maximum number of objects to alias in a bulk update: "?

greggles's picture
public
group: Paths
greggles - Fri, 2008-09-19 02:32
I left it at the default 50
27% (3 votes)
Between 51 and 250
27% (3 votes)
Between 251 and 500
18% (2 votes)
Between 501 and 1000
18% (2 votes)
Somewhere over 1000
9% (1 vote)
Total votes: 11

I can do with drupal

cuxi's picture
public
group: Paths
cuxi - Wed, 2008-09-17 06:32

Thank you very much. Hi guy, I have a question.
I create a few menu item link. I use a few other website on internet put see infomation. When i click link menu item. i want load data from other website on internet to content (body) in drupal website for me ( see infomation other website on website for me. No open a window)
Can do it with drupal?


I want creat new window when i click a menu link

cuxi's picture
public
group: Paths
cuxi - Wed, 2008-09-17 00:59

hi, i newbie drupal. I have a litle website. I create a drupal website. A litle menu in drupal website link to other website. I want create new window when i click menu link.
How make it?


Best practices for Pathauto configuration?

laken's picture
public
group: Paths
laken - Thu, 2008-09-04 01:05

I'm developing my first site that makes extensive use of different content types, and I'm really getting into Pathauto for the first time. (Great module btw!) I have no background in SEO, so I'm wondering if experienced Pathauto users would share some of their general approaches to configuring the replacements paths. For example, here are some of my questions:


Pathauto 5.x-2.3 and 6.x-1.1 released!

Freso's picture
public
group: Paths
Freso - Thu, 2008-06-26 13:39

In case you don't have Update module to ping you about new releases, I just wanted to notify you that I've just made the Pathauto 5.x-2.3 and 6.x-1.1 releases! Note that this will probably be the last Pathauto 5.x release, as development focus has now shifted to 6.x-2.x. Read more about what's been changed and fixed in the release notes! :)


Pathauto 6.x-1.x to 6.x-2.x Upgrade Guide

public
group: Paths

This is a wiki to create instructions for ugprading from Pathauto 6.x-1.x to Pathauto 6.x-2.x. Your help in keeping it accurate is greatly appreciated, you can also just read it to see what exciting new features are being added/changed.

Transliteration has changed (yes, again) so that it uses the Transliteration module.

Help Test and Translate Pathauto 5.x-2.3 and 6.x-1.1

greggles's picture
public
group: Paths
greggles - Wed, 2008-06-18 22:27

Freso and I have just put what we consider to be the finishing touches onto what will become the next official release of Pathauto. We're using it on all of our sites and have tested it pretty thoroughly. For 6.x, we even have some simpletests now which execute perfectly.

So, we're writing to you to ask for two things:


tag combinations similarly to "term/1,2" and "term/1+2" don't work with pathauto?

public
group: Paths
vkha - Sun, 2008-06-15 17:08

Hi all,

if this issue is correctly understood, then tag combination is not available?

Is there any chance to get operators "+" and "," working under pathauto like they do in plain taxonomy module?

thanks!

Having trouble with Pathauto created aliases when using Event Repeat.

public
group: Paths
node-add-matt - Thu, 2008-05-22 16:37

I have both Pathauto and Event Repeat installed.

It seems that when I update a repeating event set (either the entire set, or just future occurrences) all the Pathauto created url aliases get deleted except that last one.

I've tried all three "Update action" settings in the Pathauto module and still no luck. Any ideas?

Example:
Event Set
Event A : has alias
Event B : has alias
Event C : has alias

After an update, all aliases except for Event C are gone.
Event A : no alias
Event B : no alias
Event C : has alias

New 6.x Releases on the Horizon

public
group: Paths

So, Freso and I have had some discussion about what bugs should be fixed prior to a 6.x-2 branch and what should go in after. I wanted to do a little more to keep track of this state (and also give people a little advanced warning that a 6.x-1.1 is about to be released so that you can help test it).

Edit 2008, Sep 30: It's that time again - time for 6.x-1.2 and 5.x-2.4 to be released soon since this was a relatively nasty bug that I think was behind a lot of problems that people were having...

Path Redirect Upgrade Available

greggles's picture
public
group: Paths
greggles - Wed, 2008-05-14 13:18

If you don't have Update Status to tell you about it then you've got me ;)

The glorious Path Redirect module just releates 5.x-1.2 which fixed a nasty infinite loop bug (a bug which Pathauto triggered pretty often). So, if you use one or both of these modules I encourage you to upgrade now.

Three cheers to horsepunchkid for the release.


Co-maintainer Best Practices (also Pathauto Co-Maintainers!)

public

Pathauto now has 3 maintainers (greggles, mikeryan and Freso).

We've got a couple of practices that we're trying to follow to help coordinate and minimize work and I thought it could be helpful to share these ideas and allow others to contribute their thoughts on best practices for co-maintainership:

  1. Use the Issue Queue: nearly all changes go through the issue queue and are committed using meaningful commit messages

5.x to 6.x Upgrade Guide

public
group: Paths

This is a wiki to keep track of changes people will need to keep in mind when they upgrade.

5.x-1.x to 6.x-1.x upgrades:

Be sure to read the 5.x-1.x to 5.x-2.x upgrade guide since it will apply to your situation as well.

Settings Page Location:

The settings page has moved to improve usability.

So, admin/settings/pathauto is now admin/build/path/pathauto and is a tab under "URL aliases" called "Automated alias settings"

Can I use pathauto for OG ?

public
group: Paths
avior@drupal.org - Fri, 2008-04-25 06:46

Hi All
I have searched this group & the docs in drupal main site and didn't find the answer, so i am trying here :

Can I use pathauto (with token) that all the posts in group will have path like

groups/{group_path}/[nid]

I want the user to set a path for the group manually (it's hebrew site to i dont want to use [ogname] ), and from than on every post in the group will have this pattern

the issue is that posts can be public and can be a group post , so if i use "Node path settings" it is global

so my questions are :

Sneak Preview of Pathauto 5.x-2.2

greggles's picture
public
group: Paths
greggles - Sun, 2008-04-06 01:42

It's come time for another point release of Pathauto and you can get a "sneak preview" of this by downloading and using 5.x-2.x-dev.

One bug left to fix?

There are still some issues that I'd like to clean up. It seems that 5.x-2.1 caused some problems for modules that make heavy use of taxonomy for their own purposes (forum, image gallery, etc.). Nancyw came up with a patch that will improve the situation for bulk updates: http://drupal.org/node/188606#comment-782627 If more folks could test that, it would be great. That doesn't solve all the problems that 2.1 introduced for these modules, and if someone wants to fix that problem prior to 5.x-2.2 please let me know. Otherwise it will have to be a "known bug".

Bulk Generation Got Faster

Also, stennie came up with some good work to improve the speed of bulk udpates though this code should ideally get some more testing. In fact, all of it needs a little more testing. That's where you come in!

Sneak Preview (aka help test)

If you're a 5.x-2.1 user and can help test this 5.x-2.x-dev you'll help me make sure that 5.x-2.2 will be a nice and solid release so that I can focus on making Pathauto rock for 6.x.


Sneak Preview of Pathauto 5.x-2.2

greggles's picture
public
group: Paths
greggles - Sun, 2008-04-06 01:42

It's come time for another point release of Pathauto and you can get a "sneak preview" of this by downloading and using 5.x-2.x-dev.

One bug left to fix?

There are still some issues that I'd like to clean up. It seems that 5.x-2.1 caused some problems for modules that make heavy use of taxonomy for their own purposes (forum, image gallery, etc.). Nancyw came up with a patch that will improve the situation for bulk updates: http://drupal.org/node/188606#comment-782627 If more folks could test that, it would be great. That doesn't solve all the problems that 2.1 introduced for these modules, and if someone wants to fix that problem prior to 5.x-2.2 please let me know. Otherwise it will have to be a "known bug".

Bulk Generation Got Faster

Also, stennie came up with some good work to improve the speed of bulk udpates though this code should ideally get some more testing. In fact, all of it needs a little more testing. That's where you come in!

Sneak Preview (aka help test)

If you're a 5.x-2.1 user and can help test this 5.x-2.x-dev you'll help me make sure that 5.x-2.2 will be a nice and solid release so that I can focus on making Pathauto rock for 6.x.


feed vs. 0/feed

public
group: Paths
Arancaytar - Tue, 2008-03-11 13:18

I'm a bit confused about the "0" part of the default feed path of "0/feed". Why is it there, and under what circumstances should I leave or remove it? Apologies if this has been previously asked, I didn't find it.

feed vs. 0/feed

public
group: Paths
Arancaytar - Tue, 2008-03-11 13:18

I'm a bit confused about the "0" part of the default feed path of "0/feed". Why is it there, and under what circumstances should I leave or remove it? Apologies if this has been previously asked, I didn't find it.

How to autocreate paths for unaliased nodes without touching existing aliases?

public
group: Paths
bodo maass - Sat, 2008-03-01 14:26

I would like pathauto to have a behaviour where, when I edit nodes, it will automatically create a new alias for those nodes that don't have an alias yet, but Pathauto should never modify my existing aliases or create duplicate aliases.

How to autocreate paths for unaliased nodes without touching existing aliases?

public
group: Paths
bodo maass - Sat, 2008-03-01 14:26

I would like pathauto to have a behaviour where, when I edit nodes, it will automatically create a new alias for those nodes that don't have an alias yet, but Pathauto should never modify my existing aliases or create duplicate aliases.

5.x-2.1 release imminent

greggles's picture
public
group: Paths
greggles - Tue, 2008-02-19 17:58

Hello folks,

I've fixed a bunch of bugs in Pathauto recently and think it's about time for a 5.x-2.1 release. The current 5.x-2.x-dev is basically what I plan on tagging as a 5.x-2.1. If I could get some "yes, looks good" or "no, need to fix bug #x beforehand" that would be really helpful.

This is likely to be the last release for a couple of months so I'd like it to be really solid.

Thanks.


5.x-2.1 release imminent

greggles's picture
public
group: Paths
greggles - Tue, 2008-02-19 17:58

Hello folks,

I've fixed a bunch of bugs in Pathauto recently and think it's about time for a 5.x-2.1 release. The current 5.x-2.x-dev is basically what I plan on tagging as a 5.x-2.1. If I could get some "yes, looks good" or "no, need to fix bug #x beforehand" that would be really helpful.

This is likely to be the last release for a couple of months so I'd like it to be really solid.

Thanks.


Pathauto taxonomy

public
group: Paths
dmiric - Tue, 2008-01-22 18:19

Hey all,

To get strait to the point.

Pathauto creates alias for taxonomy/term/1 and you can set it to be [vocab]/[catpath].

What if I would like to create more aliases for the same vocabulary like for soccer/[catpath] to be soccer/[catpath] ?

I took a look at pathauto_taxonomy.inc and tried to hard code it in but with no luck.

I would like that so I can rewrite Views urls. Now you can say that I can pass a taxonomy term to a view and solve that.
For some reason it's just not the solution I'm looking for ...

Can anyone help me with this ?

Cheers!

Pathauto taxonomy

public
group: Paths
dmiric - Tue, 2008-01-22 18:19

Hey all,

To get strait to the point.

Pathauto creates alias for taxonomy/term/1 and you can set it to be [vocab]/[catpath].

What if I would like to create more aliases for the same vocabulary like for soccer/[catpath] to be soccer/[catpath] ?

I took a look at pathauto_taxonomy.inc and tried to hard code it in but with no luck.

I would like that so I can rewrite Views urls. Now you can say that I can pass a taxonomy term to a view and solve that.
For some reason it's just not the solution I'm looking for ...

Can anyone help me with this ?

Cheers!

How are your aliases created?

greggles's picture
public
group: Paths
greggles - Sun, 2008-01-20 22:48
Most are created by Pathauto
91% (30 votes)
Most were created manually
9% (3 votes)
Most are created by URLify
0% (0 votes)
Some other method (specify in comments)
0% (0 votes)
Total votes: 33

How are your aliases created?

greggles's picture
public
group: Paths
greggles - Sun, 2008-01-20 22:48
Most are created by Pathauto
91% (30 votes)
Most were created manually
9% (3 votes)
Most are created by URLify
0% (0 votes)
Some other method (specify in comments)
0% (0 votes)
Total votes: 33

fixing the "when admin creates alias and unticks the checkbox don't overwrite it on subsequent edits" bug

greggles's picture
public
group: Paths
greggles - Sat, 2008-01-19 23:27

Here's the list of bugs that need to be fixed to get that working:

0 Since I reverted the code so far and stuck it in 180440 that would probably go in first and then...
1 http://drupal.org/node/193825 - maintenance for url_alias_extra
2 http://drupal.org/node/206461 - delete from url_alias_extra as well as creating the entries
3 http://drupal.org/node/201659 - which mostly works, but needs some more work in 193825


fixing the "when admin creates alias and unticks the checkbox don't overwrite it on subsequent edits" bug

greggles's picture
public
group: Paths
greggles - Sat, 2008-01-19 23:27

Here's the list of bugs that need to be fixed to get that working:

0 Since I reverted the code so far and stuck it in 180440 that would probably go in first and then...
1 http://drupal.org/node/193825 - maintenance for url_alias_extra
2 http://drupal.org/node/206461 - delete from url_alias_extra as well as creating the entries
3 http://drupal.org/node/201659 - which mostly works, but needs some more work in 193825


Categories and Pathauto?

CLKeenan@drupal.org's picture
public
group: Paths
CLKeenan@drupal.org - Fri, 2008-01-11 04:07

Is it possible to use these modules now? It appears with the latest update that the paths aren't being recognized anymore. Any ideas?


Categories and Pathauto?

CLKeenan@drupal.org's picture
public
group: Paths
CLKeenan@drupal.org - Fri, 2008-01-11 04:07

Is it possible to use these modules now? It appears with the latest update that the paths aren't being recognized anymore. Any ideas?


co-maintainer for pathauto

greggles's picture
public
group: Paths
greggles - Tue, 2008-01-08 16:12

Hi,

I've been asking folks to help with this for a while, but the situation is getting more serious (other projects are pulling me away and I will be offline for a while later this year) so I want to make a more clear request for assistance.

If you want to be the maintainer of the module, let me know but also prove that desire by helping in the issue queue and then you get to be the maintainer.

Note that as Pathauto maintainer you kind of also get to be token maintainer since the two are so closely tied.


co-maintainer for pathauto

greggles's picture
public
group: Paths
greggles - Tue, 2008-01-08 16:12

Hi,

I've been asking folks to help with this for a while, but the situation is getting more serious (other projects are pulling me away and I will be offline for a while later this year) so I want to make a more clear request for assistance.

If you want to be the maintainer of the module, let me know but also prove that desire by helping in the issue queue and then you get to be the maintainer.

Note that as Pathauto maintainer you kind of also get to be token maintainer since the two are so closely tied.


autopath [cat]

breathingplanet's picture
public
group: Paths
breathingplanet - Mon, 2008-01-07 22:03

i am working to call up different backgrounds using the path. i need the category in the path using autopath: like [cat]/[title] - or so i thought. i set it as such in the pathauto config settings, but pathauto is only creating the /[title] path and seemingly ignoring the category demand. on each new entry i AM selecting a category (of course.).

any thoughts on this? i am on drupal 4.7, and have the 4.7 version of pathauto installed (obviously.) has anyone had this experience or know a fix?
thanks
a.


autopath [cat]

breathingplanet's picture
public
group: Paths
breathingplanet - Mon, 2008-01-07 22:03

i am working to call up different backgrounds using the path. i need the category in the path using autopath: like [cat]/[title] - or so i thought. i set it as such in the pathauto config settings, but pathauto is only creating the /[title] path and seemingly ignoring the category demand. on each new entry i AM selecting a category (of course.).

any thoughts on this? i am on drupal 4.7, and have the 4.7 version of pathauto installed (obviously.) has anyone had this experience or know a fix?
thanks
a.


how many of your aliases are manually created?

greggles's picture
public
group: Paths
greggles - Tue, 2007-12-18 19:01

In Pathauto 5.x-2.0 you now have the option (if you have the permission to create aliases) to tell Pathauto not to do its job and instead to let you set the path alias.

There is a new feature in the 2.x development branch of Pathauto which keeps track of whether the admin created the alias or not. If it appears to Pathauto that the admin created the alias, then Pathauto will not try to alias the object in the future.

So,

  • create (or edit) a node and uncheck the box for "Automatic alias"

how many of your aliases are manually created?

greggles's picture
public
group: Paths
greggles - Tue, 2007-12-18 19:01

In Pathauto 5.x-2.0 you now have the option (if you have the permission to create aliases) to tell Pathauto not to do its job and instead to let you set the path alias.

There is a new feature in the 2.x development branch of Pathauto which keeps track of whether the admin created the alias or not. If it appears to Pathauto that the admin created the alias, then Pathauto will not try to alias the object in the future.

So,

  • create (or edit) a node and uncheck the box for "Automatic alias"

i see this

public
group: Paths
kzuser - Sun, 2007-12-16 12:50

after installing pahauto i see this how to fix it?

You are using the token [user] which has a -raw companion available [user-raw]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the Pathauto help for more details.

i see this

public
group: Paths
kzuser - Sun, 2007-12-16 12:50

after installing pahauto i see this how to fix it?

You are using the token [user] which has a -raw companion available [user-raw]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the Pathauto help for more details.

Issues to fix prior to 5.x-2.1

public
group: Paths

I've been working on a few issues that I want to have fixed before a 5.x-2.1 release. I thought I'd create this roadmap so people can provide their own input and also see what is left to do. When the top list gets empty it will be time for a new release. None of these changes are drastic, so the 5.x-2.x-dev release should be reasonably good for people who want to help with testing incremental changes.

Issues to fix prior to 5.x-2.1

public
group: Paths

I've been working on a few issues that I want to have fixed before a 5.x-2.1 release. I thought I'd create this roadmap so people can provide their own input and also see what is left to do. When the top list gets empty it will be time for a new release. None of these changes are drastic, so the 5.x-2.x-dev release should be reasonably good for people who want to help with testing incremental changes.

Cleaning up the Index Aliases

greggles's picture
public
group: Paths
greggles - Tue, 2007-11-06 17:03

If you are one of the folks who enabled the "index aliases" feature and later found out that it wasn't such a great idea then you may be wondering how do I get rid of those aliases? Further, pathauto 5.x-2.x doesn't support them so they are now pretty useless.

You can see if you have any by opening up a connection to your database (e.g. using phpMyAdmin or the mysql shell tool) and running this query:

select * from url_alias where src like 'pathauto/%';


Cleaning up the Index Aliases

greggles's picture
public
group: Paths
greggles - Tue, 2007-11-06 17:03

If you are one of the folks who enabled the "index aliases" feature and later found out that it wasn't such a great idea then you may be wondering how do I get rid of those aliases? Further, pathauto 5.x-2.x doesn't support them so they are now pretty useless.

You can see if you have any by opening up a connection to your database (e.g. using phpMyAdmin or the mysql shell tool) and running this query:

select * from url_alias where src like 'pathauto/%';


Syndicate content