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
2answers
83 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
6 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
28 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
13 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
28 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
17 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
20 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
10 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
25 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
28 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
11 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
17 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
23 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
15 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
24 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
32 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
37 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
34 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
28 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
15 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
21 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
11 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
15 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
46 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
19 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
40 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
49 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
50 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
15 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
264 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
45 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
1answer
46 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
65 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
36 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
27 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
39 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
53 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
54 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
75 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
47 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
72 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?