url alias

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

Best way to update URL alias for deleted node

Hi all,

what would be the best way to pragmatically update the URL alias for a deleted node? When I delete a product, the URL alias stays intact, which of course then get handled by Drupal and returns a 404 (in my case I have an additional search provided). I ...

Read more
Anonymous's picture

alter title path in views (that contain fractions)

Okay, can anyone help with this one?

I created a view, am using the title as a field, outputting this field as a link.

Problem is the title names contain fractions (i.e., 1/2, 1/4, etc.) so, the link uses the slash in the url and thus can't find my title that contain fractions.

Using Drupal 7.

Thanks,

Katie

Read more
protoplasm's picture

Using OG pathauto with shared content types

I have an established community based on the latest 6.x. A while ago we added OG and have a handful of groups that share the same content types with the rest of the site. The groups are not in a subdomain like groups.drupal. I'd like to distinguish the groups using pathauto and the ogname token. The only problem is that an empty ogname token will give me two // for the rest of my site's content types that aren't in OG. Any thoughts on how to best deal with this?

Thanks in advance.

Read more
DrupalCuckoo's picture

How to translate only the website's interface, not the content?

hi,

I'm building a website with drupal for a german audience. All information on this page will be written in German.

I've started developing the website with the default drupal installation package which comes with English as preinstalled language. I did this because it makes it easier for me to search for solution while developing the site. The biggest part of the drupal community speaks English (I guess), so for example tutorials about how to install something are mostly written in English.

Read more
webel's picture

Request assistance or feedback on ongoing URL alias problem: not working when non-English default language has no (empty) path prefix

Hi i18n group,

I would be extremely grateful for any input concerning the following reported i18n issue:

URL path alias for non-English default language pages only working for some web browsers

In short, the default language for the site in question (http://www.aur.no) is Norwegian Bokmal, which the client wants to appear without path prefix 'nb' for Nowegian users. When Norwegian Bokmal is set to have null (empty) path prefix all URL aliases for its nodes fail with Page Not Found error.

Read more
FlemmingLeer's picture

?q parameter

I just discovered an unfortunate function in Drupal 5.x (Drupal 5.20) which creates multiple content in Google.

http://www.example.com/?q=Drupal

Where Drupal is an url alias.

http://www.example.com/Drupal
&
http://www.example.com/?q=Drupal
are offcourse the same but google catches both and indexes them.

adding Disallow: /?q= to robots.txt wil block these multiple urls.

Read more
Subscribe with RSS Syndicate content