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)

3
votes
1answer
20 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
0answers
10 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
16 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
13 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
13 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
22 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
10 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
28 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
28 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
29 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 ...
1
vote
2answers
51 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
22 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
13 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
19 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
10 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
14 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
5 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
45 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
10 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
16 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
30 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
37 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
38 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
14 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
150 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
39 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 ...
0
votes
0answers
38 views

Get list of canonical urls?

I have a list of ~2500 pages that I need to get canonical urls for from an old D6 site. The site uses Path_Redirect. Using mysql queries I can get a list of nids for the pages I want, but I'm having ...
0
votes
1answer
49 views

URL alias for taxonomy in drupal 7

On a Drupal 7 site with pathauto installed I'm using a view to show all taxonomy terms of a given node. The terms are linked to the term's page. The problem is, that the path of those terms does not ...
0
votes
1answer
33 views

how to make URL aliases of nodes created via form include node title of original page?

Say I have a content type called "X", and every node of Content type "X" has a form that will create content type "Y" How do I go about setting up the URL alias of content type "Y" so it will be ...
0
votes
0answers
13 views

Entity Reference Sub Path Panels

I use following URL Path Schema with Drupal Pathauto Module: Node types: Country City both assigned with Entity Reference and i use the tokens for Pathauto for generate URL. It works all fine. My ...
0
votes
1answer
25 views

URL alias in view with subfolder of the Drupal installation

I've never seen this before: This D7 installation runs in a subfolder of my dev server. The same way as all the other installations. In a view I have a field with the node alias path. But this path ...
0
votes
1answer
37 views

Page not found when there are clean extra parameters in URL alias-

I have a working site which has PathAuto with SubPath setting properly configured. When I try to access the site from localhost in XAMPP, it gives 404 not found at several pages where the clean URL ...
0
votes
2answers
35 views

Update url-aliase for nodes of a specific content type

I'm using drupal 7 in combination with path auto. I imported nodes of a specific content type using the feed importer, but the url alias is not set correctly. My problem is, that i can not use the ...
0
votes
1answer
20 views

Unable to see URL path setting menu for a user edit page

I want to see "URL path setting" tab which appears while editing any content, but can't see it while editing a user. need help or suggestion regarding this. thanks
0
votes
1answer
53 views

Custom Page Create

I create page--hospital.tpl.php file. To call this page, then I create Basic Page and Page title is "Hospital". I provided on the Menu Link and I typed "hospital" in URL path alias. Then, Save the ...
1
vote
0answers
39 views

Advice for Image Management with New Site

I am looking for the best image management options for a new Drupal site. The original site has several thousand images, and a dynamic site is expected to explode that number to tens of thousands. ...
0
votes
1answer
69 views

Clean URLs enabled but main-menu keeps replacing clean URL with ugly node/ URL

I have enabled clean URL's on my website and had a menu item in my main-menu that pointed to a View that had a URL alias set up for /ebook-register. I just removed that alias and assigned the same ...
0
votes
0answers
21 views

Redirect beating out URL path and creating redirect loop

Currently ran a bunch of updates on our site, and we're experiencing this issue: Create nodea at /nodea Change nodea's path to /nodeb a redirect will be written added to nodeb: /nodea -> /nodeb ...
0
votes
0answers
42 views

I want to load node view based on node url alias into drupal view contexttual filter. Is it possible?

I want to load node view based on node url alias into drupal view contexttual filter. Is it possible ?
1
vote
1answer
63 views

How can I assign the Commerce Product SKU as the Path Alias?

We would like to automatically assign the Path Alias for each new Product as /products/sku. How can we do this, either from the URL Alias admin UI or via Rule or programmatically?
0
votes
1answer
77 views

How to use the language neutral url alias pattern in pathauto?

I want to use the following patterns in pathauto: myCT All languages: pattern1 myCT neutral language: pattern2 myCT EN language: pattern2 So that all neutral (UND) and EN nodes of myCT have ...
0
votes
1answer
42 views

Pathauto not workin

Suddenly i discover that pathauto is not working for my website and generate urls like node/89 . I didn't made any update or installed any new module that could interfer with it. Have you any ...
1
vote
0answers
17 views

Alias Defaults to Auto-generate

Afternoon Everyone, I am having a few problems with a site we are having developed; although it is nothing significant it is quite annoying. At the moment I am editing a fair amount of content ready ...
0
votes
1answer
27 views

Show views page based on path

I have 3 node types: category subcategory product These are all linked using Entity Reference module. All pages have a path (using autopath). What I want to do is show a view depending on the ...
1
vote
1answer
40 views

How to show pages other than nodes with the default language prefix

Content on our site exists in several languages. The default language is 'en'. Prefixes are shown in URLs, such as http://example.com/en/my/path or http://example.com/nl/my/path. However, pages like ...
0
votes
1answer
31 views

Alias URL not changing when switching language in a View

I have a content node in 2 languages. When I use the language switcher while displaying the English content: www.example.com/en/content/Article-on-relativity it displays correctly the translated ...
0
votes
0answers
13 views

Organizing complex URL architecture

I have two-level taxonomy (simple tree). And my items URL should be category_level_1/category_level_2/item But one article may belong to different terms, so it may be that item should be reachable ...
4
votes
2answers
76 views

URL aliases and bidirectionality

I have responsibility for a number of Drupal 6 and Drupal 7 sites and I'm curious about a difference I've noted among them. URL aliasing is enabled on all of the sites, so that a user who navigates ...
0
votes
0answers
22 views

url() doesn't take current language into account

I have a multilingual site with node translation i18n and pathauto. Assume it has the following 3 nodes: node table: nid | language | tnid ----+----------+----- 5 | en | 5 6 | fr ...