pathauto
Changing the node value of an aliased site on the fly
I can't think of a better title sorry...
I'm using the (excellent) Domain Access module. One thing I'm doing is aliasing sites. As an example.co.uk is aliased to example.com. So going to example.co.uk/foo is identical to going to example.com/foo.
However, there are one or two pages (in a large site) which I want to be different. So example.co.uk/contact would go to a different page than example.com/contact.
The "easiest" way (if horrendous in some respects) seems to be to add code (to theme_preprocess_page? to settings.php? custom_url_rewrite_inbound?) that says:
Pathauto pagination with Drupal 5
I have a few content types that I have used pathauto to alias as taxonomy listings. Will drupal paginate automatically when a certain number of nodes are displayed? Is there a way to make that happen?
How I can add some symbols to remove by pathauto? (Drupal 5)
My site in russian language and all is well with pathauto exept '«' and '»'.
Thease symbols pass through pathauto and cause problems when link copied from address bar to mail or other program..
For example, gmail does not include it to link..
How I may include thease sybols to list, that removes from address?
P.S.
I've try to place two string in pathauto.inc - in function pathauto_cleanstring():
$output = str_replace('«', '', $output);
$output = str_replace('»', '', $output);
Generate path by node type without Pathauto
Hi!
Is it possible to generate url aliases to nodes by their type without pathauto? I.e. topic/234, forum/456, where topic and forum are some content types? Maybe url_alter may help with that?
Pathauto: Lägga till en ny token för taxonomy term path settings
Hej. Jag är en nybörjare som kanske försöker mig på lite för avancerade saker, för min kunskapsnivå, men det borde inte vara så svårt.
SITUATIONEN NU:
Jag använder pathauto+token för att skapa automatiska url alias. Går bra för noder, men sämre för taxonomier. Mina url ser ut som:
taxonomy/term/3, där varje ny term får en ny siffra.
DET JAG VILL ÅSTADKOMMA:
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:
Precedence of Audience in posts
I hope this post brings to the forefront a gripe I have about breadcrumbs and the precedence of the "Audience" selection on discussions in groups.drupal.org
When an event is posted to our group for our monthly meetup, we usually post it to the groups in adjacent cities/states.
The issue: the breadcrumbs and email subjects for notifications take on the first "audience" in the list - so our events/posts appear as though they are within the "Central Ohio" group instead of Cincinnati/SW Ohio group, since Central Ohio comes first alphabetically.
Getting Pathauto to change ALL the URLs
I'm using Pathauto to clean up the nasty Drupal URLs. So, I have a content type "project" and the URLs to these projects are like: /project/projectname
However, when I'm viewing that project, the "Edit", "What Links Here", and "Who's Bookmarked" links at the top is still linking to the old nasty Drupal urls, like "/node/175/edit".
Does anyone know of a way to change this? I can't seem to find any answers on the intertubes.
Pathauto, clean urls, SEO in business directories
I am almost done with the development of a social business directory, and would love to start the SEO side of things, in which I am not well versed at.
The website structure is divided into 3 sections: Business Directory | Events | Community
Business Directory content is added by the following node types:
- Entertainment
- Health
- Religious
- Restaurant
- Service
- Shop
- Website
Events content:
- Event
Community Content:
- group
- group post
- album (photos)
- question (answers)
- blogs
Best practices for Pathauto configuration?
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:






