Questions about path aliases, a way of creating pretty human readable URLs to replace system urls like node/[nid].

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

Drupal 7 Views url translated alias with contextual filter

I want to translate the url of my view. So I've made a translated alias for it. But when I add a contextual filter I get a 404 error. For example: I've a view with the url example.com/overview with ...
0
votes
1answer
18 views

safest way to redo aliases

So a site in production wants certain aliases to be redone. If there's another way to do this other than Home » Administration » Configuration » Search and metadata » URL aliases > Delete aliases, ...
0
votes
1answer
15 views

Path aliases more than one

I could explain everything, but that will take me a while, so, long story short. I need one node to have 2 path alises (Not re-direction) 2 path aliases, and this is what I need to do, to show some ...
0
votes
1answer
25 views

Using SQL to output link to a node

Does anyone know - using SQL only - how to output the link to a drupal node? If I was using PHP I think it would be something like this: print l($node->title, 'node/' . $node->nid); But I'm ...
0
votes
0answers
13 views

How to use articles, taxonomy, views, and filters to set up a content navigation scheme?

Right off the bat, I'd like to let everyone know that I'm brand new to Drupal, and while I've been making progress using the excellent short video tutorials on LevelUp Tutorials, I'm missing some ...
2
votes
1answer
25 views

How to configure URL paths using the pathauto module for multilingual sites?

I am working on multilingual drupal website.To generate content path(i.e url) I am using pathauto module. I have not configured this module. When I add content from basic page it sets ...
0
votes
1answer
48 views

How to override a node

I have created node there path is "content/book/book-name-alias". Where I have override a node using view page "content/book/%" where contextual filter using "Node Id" When i have request a page ...
1
vote
1answer
18 views

Getting path alias on the base of term id

Foolowing is the code to display breadcrumb, it will display the results like this Parent1/Parent2/Parent3/.. $var1=taxonomy_get_parents_all("term_id"); for($j=sizeof(intval($var1)) ; $j>=0 ;$j--) ...
0
votes
1answer
16 views

Pathauto URL alias Node taxonomy term translation

How can i get pathalias to get the translated taxonomy term for the path alias? The pattern: [node:field_glp_product_types]-[node:field_glp_address:city:?] [node:field_glp_product_types] is a ...
0
votes
1answer
9 views

How to customise article URL alias in Drupal 6?

In Drupal 6 there is a possibility to customize URL alias by the help of [AUTOMATED ALIAS SETTINGS], but this will affect all the articles. I need to restructure my URL alias only for few paid ...
0
votes
1answer
83 views

drupal_lookup_path() for D8?

drupal_lookup_path() have been remove in Drupal 8. However, I cannot find a way to achieve the same functionality on D8. All, I'm trying to do is to provide a Drupal with a path and he is going to ...
1
vote
1answer
35 views

Rewrite Views filter urls when based on an aliased node url

I realize this seems confusing, but let me give some background first: I have a node (say node/123) with a path alias (call it: /books). So if I go to http://example.com/books I'm viewing a page ...
0
votes
2answers
24 views

Only one of my site node's doesn't print it's alias

I use the latest version of the famous Pathauto module and my site pages have Automatic alias that are shown well in the URL navigation bar of the browser... All of these pages are in Hebrew, But one ...
0
votes
0answers
39 views

URL alias not working for costume content type page.tpl file

I a created a template file (page--cusomtype.tpl.php) for a specific content type and a node of that content type. Also I'm using Path module for create alias. When I view the node with ...
3
votes
2answers
98 views

URL alias, tokens is replacing 0s and 1s with node and entity [duplicate]

Has anyone seen a case that url aliases or tokens end up replacing certain numbers in a url with the words node and entity. A UTC Timestamp in my url ended up replaced like this: ...
0
votes
1answer
12 views

Add ellipsis replacement to Pathauto

To handle users who like to occasionally use the custom ellipsis character from MS Word in titles, I would like to add replacement options for the character in the Punctuation settings for Pathauto ...
0
votes
2answers
39 views

Page Categorisation and Multi-level Paths

I want to categorise my pages and see the category names in path. For example: instead of http://localhost/a-funny-story, http://localhost/stories/funny/a-funny-story. What is the best practice? I ...
0
votes
1answer
20 views

Getting URL alias of a term

I am writing a module, and am confused about the term's URLs. because, if pathauto moduel is installed, then the alias of that module should be provided. How to achieve this? Default drupal's URL: ...
0
votes
1answer
57 views

How to create a organic group path alias

I'm trying to create a path alias for a node type, where the first part of the alias is the url path of the organic group. I tried this [node:og-group-ref:1:url]/[node:content-type]/[node:title] ...
0
votes
1answer
23 views

Check on save if Site already exist

When a new page is created and the path already exists, drupal automatically converts it to path_n . Which behavior I want here instead: A message that the path already exists, with two buttons one to ...
1
vote
1answer
41 views

Validate URL alias before saving Node

I have a custom content type which has a url alias pattern of [node:type]/[node:title]. How can I validate the node form in order to prevent the url alias from becoming [node:type]/[node:title]-0 in ...
0
votes
0answers
11 views

Automatically create and assign terms based on url

How can we automatically create and assign taxonomy terms based on the URL? For instance: /climate-change/statistics/new-zealand/polar-bear-maulings Existing terms: climate-change, statistics How ...
0
votes
0answers
32 views

How to make administration menu display child links without child url

My question is probably a little confusing, so I'm gonna explain with an example. Whenever I create a parent link like "admin/test/execute", the administration menu will display the link and if I ...
3
votes
1answer
67 views

Need to redirect the non-existence URL's to 404 page instead of parent url

This is in connection to drupal.org issue #432384. That's when I happen to request for page "node/1/aaa/bbbb", I'm served the response for "node/1" (it's parent page). I can understand, this is the ...
1
vote
2answers
35 views

URL path settings not supporting more than one level

I'm trying to edit and create content on my inherited Drupal site and when I enter an address into the "URL Path Settings' URL Alias" field, it will not save the first part of the desired URL. For ...
1
vote
1answer
20 views

path alias for 'edit' not loading correct page under 'admin/'

I have a content page that just editors need to see. So I set the pathauto to something like 'admin/page-title'. The edit-path is 'admin/page-title/edit' accordingly. When trying to open the node in ...
1
vote
0answers
60 views

Drupal 7: Multiple URL aliases for same node

I have the following URL aliases for the same node node/141. /products/single-room/product-listing/wall-mount /products/multi-room/product-listing/wall-mount I have two details button Single & ...
1
vote
0answers
20 views

Node and taxonomy term have same URL?

By settings URL alias patterns Ive made nodes of a certain content type and terms within a certain taxonomy have the same URL. The nodes have a 1 to 1 relationship with terms. At the URL I want to ...
0
votes
2answers
33 views

how to give node alias dynamically

Each time I add a content, I see a node number gets created (i.e. node/2). When I go to the node, I see in the address bar as xxx.com/node/2. Is there way node/2 can be replaced by a value of any ...
0
votes
1answer
13 views

Include full term name including “in” “and” etc when used for URL alias

Im using taxonomy terms to create my URL aliases. At the moment the word "in" is stripped out. So if the term was "Fun in London" The URL created would be "fun-london". How can I include the full ...
0
votes
0answers
19 views

Issue in path aliases

I have the below path aliases in my array structure, now the problem is how can I represent these paths in my anchor tag?Because they all are in an array. Array ( [78] => ...
0
votes
1answer
33 views

path aliases in drupal 7

I want to calculate the path aliases for array of nids. But it always give me the path for latest content. Actually I can not get all the nids. My array structure is like below. When I used the ...
1
vote
1answer
69 views

URL Alias for Taxonomy for multiple child terms

I am having a problem setting up the url alias for a vocabulary with recurring child terms. So for instance the vocabulary consists of categories and locations. Category 01 All Location 01 Location ...
2
votes
2answers
45 views

nodes in views and views in search results

I'm building a website, where I don't want to display nodes directly. All nodes are presented using Views. The idea is that i've got 10 basic pages without content. On each of these page I've got one ...
2
votes
2answers
59 views

How to get node IDs from drupal.org?

In Drupal, we can get argument values using arg() function. drupal.org uses path alias. For example https://www.drupal.org/project/elysia_cron is actually https://www.drupal.org/node/274365, the node ...
0
votes
1answer
42 views

Duplicate alias for different nodes after submitting form twice - Pathauto?

I have found this issue, in many different installations of Drupal (I'm running 7.35, but problem occurs even in 7.34 and I think every other previous ones): if I click many times quickly on submit ...
0
votes
0answers
23 views

Passing arguments to a node with an alias url

There is a similar issue in here: Passing an argument to a node causes 404 But there is no real viable solution. I tried using the sub-pathauto module but the restiction of 8 arguments is too little, ...
0
votes
0answers
22 views

Issue : Create a new alias. Leave the existing alias functioning

I tried to save my old alias in Drupal 7 using Pathauto module. I am selecting the "Create a new alias. Leave the existing alias functioning." in Settings. But, It deletes the old URL. Only current ...
0
votes
0answers
12 views

Clean custom path alias with arbitrary parameters at the end

I have a module which hooks into node_load and alters the node, depending on the current path parameters. e.g., for path node/100/set/2 it reads the set as a parameter with value 2 and changes the ...
0
votes
2answers
19 views

How to specify English path alias for Chinese?

I created a node of type Post in English, and translated it using Entity Translation to Chinese, Traditional. I then set the path alias for the content type to be ...
0
votes
0answers
6 views

Drush Check Automatic URL alias for all terms of specific vocabulary

I have 100s of Taxonomy terms for which I need to Generate Automatic URL Alias. Is there any way through drush which can bulk update the URL Path Settings to use Automatic URL Alias. I was thinking ...
0
votes
1answer
50 views

Restructure Language Prefix

I'm building an international site and am running into trouble with the language detection. I need to have urls structured like the below examples for SEO purposes, but nothing I've found will allow ...
0
votes
0answers
11 views

Drupal 6 url alias and full article view template

I am having the toughest time. Not sure if it is a permissions issue or just me. ( prob. just the user - ha ) Using Drupal 6 - I created a content type and a "view" for these "articles". My view ...
0
votes
0answers
25 views

D6->D7 migration, issue with the url_alias and multiple aliases

I am doing a d6 to d7 migration and running into an issue with my url aliases. In the d6 system the previous admin didn't override the url alias when a new one was created. This means there are two ...
0
votes
1answer
50 views

Creating a view to show nodes with multiple aliases generated by Path Module

I got a tough problem that I don’t even know how to start, any help would be appreciated. I am on a D6 site. The Path Module is installed and there are articles that have more than one alias ...
0
votes
1answer
76 views

Is it possible to add node alias programatically to created node by code in drupal 8?

I have created pre save hook in module which is populating my node by fetching information from various API's. However I can't get my mind around how to add node alias to newly created node. Is there ...
0
votes
0answers
65 views

Add Javascript by URL Alias

I've been using this code from drupal.org to add javascript to a page node. function example_preprocess_html(&$variables){ if(arg(0) == 'node' && arg(1) == 585) { ...
0
votes
1answer
19 views

Page View not showing on path'd page

I'm using Drupal 6 and I'm pretty sure I'm using Views 3. I created a page called All Events (alias: all-events) and created a view that displays as a page. Under Page Settings for the path option I ...
1
vote
3answers
479 views

How to remove url alias when node is deleted

I am using Pathauto. When I deleted a piece of content, I was surprised to find that its url alias was still mapped to the now-nonexistent content (node/xxx). How can I have this alias and System ...
0
votes
0answers
61 views

Override a pathauto alias display with a view

I have a magazine style site with a lot of content types and automated path aliases. For a section of my site I already have views that display the content in a manor in which I want it displayed - I ...