paths

deviantintegral's picture

Show path aliases to nodes in other languages

I'm encountering an issue with URL's to nodes in a different language than the user's current language. Currently, the site is set up with English as the default language, and French in a path prefix of /fr. On the home page, there is a view of all book nodes, some in French and some in English. However, if your current language is English, the French bookURL's are set to fr/node/. If you switch to French, all English books are shown as node/.

I've found out that if I insert the appropriate paths into the url_alias table I can make things work as expected. For example:

6 comments · Read more
J. Cohen's picture

SEO issues with Views 2

Here's an SEO issue with the Views module. I haven't found a solution yet.

Default views in the Views 2 Module have an SEO issue. They don't send 404 errors when a non-existent URL is requested.

For example, if your view is located at
example.com/articles

and your page is at:
example.com/articles/my-page

but you accidentally link to:
example.com/articles/mypage

Drupal sends a "200 OK" header and the content from:
example.com/articles

instead of sending a 404 header/page.

13 comments · Read more
schaub123'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.

2 comments · Read more
greggles's picture

new pathauto default patterns

There's a concept of "dangerous" aliases - aliases which can result in broken sites if you use certain options (e.g. index aliases or transliteration where none of the characters are found)

http://drupal.org/node/124459

So, here are the proposed new defaults. Old lines are prefixed with a - and their replaclements are prefixed with a +

Login to post comments · Read more
greggles's picture

New Module - Find Path

A new module was announced yesterday "Find Path"

http://drupal.org/project/find_path

For those of you using Pathauto or URLIFY this could be quite a handy module to keep you from having to go login to your database to edit the records - instead you get this simple interface.

Has anyone tried this? Any thoughts?

Note: I haven't tried it, just read the description

4 comments

How to generate subdomains in Drupal URLs based on content type?

I hope it's ok to post this here. I first posted this question in the support forums -- but it was suggested that I post here instead since it's a path question.

I'm totally new to Drupal but experienced in SEO and PHP. I've always rolled my own crappy CMS because of custom needs. I'm REALLY hoping Drupal will help me to stop this wasteful methodology.

8 comments · Read more
greggles's picture

Request for help - Pathauto Module

Hello,

I think this is a great group.

I'm not sure if it's within the charter, but I'd like to request some assistance in testing/reviewing the Pathauto module to make sure that it is Postgresql compliant. I'm a maintainer of Pathauto and would love to find a user of both Postgresql and Pathauto to make sure that it works (and that changes I make don't break the compliance!)

Anyone care to help? It's a pretty popular module so I imagine I'd hear about any problems, but it would be nice to know "for sure".

Thanks,
Greg

2 comments
greggles's picture

big day for internationalization in Paths

Steven recently got frustrated enough with the Drupal core restriction on international letters in path module that he removed it..

So, now pathauto and urlify can use any character from the node title that the user submits.

I've created an issue for pathauto to see how to best handle this. Please provide your input on the ideas there.

2 comments
Syndicate content