Paths

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

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.

5.x to 6.x Upgrade Guide

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"

Read more
avior's picture

Can I use pathauto for OG ?

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 :

Read more
greggles's picture

Sneak Preview of Pathauto 5.x-2.2

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.

Read more
cburschka's picture

feed vs. 0/feed

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.

Read more
bodo maass's picture

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

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.

Read more
greggles's picture

5.x-2.1 release imminent

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.

Read more
dmiric's picture

Pathauto taxonomy

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!

Read more
greggles's picture

How are your aliases created?

Most are created by Pathauto
92% (34 votes)
Most were created manually
8% (3 votes)
Most are created by URLify
0% (0 votes)
Some other method (specify in comments)
0% (0 votes)
Total votes: 37
greggles's picture

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

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

Read more
CLKeenan's picture

Categories and Pathauto?

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

Read more
greggles's picture

co-maintainer for pathauto

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.

Read more
breathingplanet's picture

autopath [cat]

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.

Read more
greggles's picture

how many of your aliases are manually created?

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"
Read more
kzuser's picture

i see this

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.

Read more

Issues to fix prior to 5.x-2.1

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.

Read more
greggles's picture

Cleaning up the Index Aliases

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/%';

Read more
greggles's picture

Bug Stats and a Call for Testers Pathauto 5.x-2.x is around the corner

First, some statistics:

I grouped together 4.7-1.x and 5.x-1.x since they are largely the same code base.

Some of those 4.7.x-1.x/5.x-1.x bugs probably can get updated into the 5.x-2 queue or into the Token issue queue. But the point is - new version is pretty golden. Last statistics I saw showed several hundred sites running the 2.x version so it's getting fair amounts of testing.

<

table>

Descriptoin 4.7.x-1.x & 5.x-1.x 5.x-2.x Read more

Pathauto 5.x-1.x to 5.x-2.x New Features and Upgrade Guide

For users upgrading from Pathauto 5.x-1 to 5.x-2 here are some tips:

5.x-2.0 to 5.x-2.1 note:

The Internal feed alias text (leave blank to disable): is used to determine what, if any, feed alias will be created for the nodes. This was hardcoded previously but due to the fact that other modules can provide the rss feed (e.g. Views) it is now exposed as something that you can change. In general you should either leave it blank or leave it at the default. If you use views for your taxonomy aliases you probable want to use "feed" instead of the default "0/feed".

Read more
greggles's picture

RFC: updating feed aliases? or not?

In reviewing old bugs I dug up: feed aliases don't get updated following normal "update action" settings.

But I'm not sure how this should behave.

One theory is that it should follow the update action because that's what the admin specified.

Another is that it should simply follow the "create new alias in addition to old one" style pattern so that old feed readers won't lose the feed.

Thoughts? "Yet Another Option" doesn't feel very good.

Read more
chrisschaub's picture

thoughts on auto pathing

I've lately been working on a few sites with 10K plus path aliases, all generated from pathauto. Mostly on dedicated boxes so resources aren't too much of an issue. It got me thinking about an alternate approach, maybe an addition to pathauto or a separate module. Ok, here goes ...

Pathauto has a nice way of defining path naming rules for content types. These paths are stored in the database as aliases. Good. But how about NOT storing any of these paths in the database. Just "hook" into Drupal to generate a path on the fly based on the pathauto ruleset.

Read more
Subscribe with RSS Syndicate content

Paths

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week