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)

0
votes
0answers
10 views

how to remove duplicate meta description?

I use Pathauto module for url aliases and Metatag for metatags. Recently I have changed link format from /content/NODENAME to /NODENAME and renamed existing links accordingly. But in Google Webmaster ...
0
votes
1answer
18 views

How to redirect a menu item to the anchor?

I have created menu with sub-menus. The menu block is placed on the specific page. Drupal menu path allows only allows normal path to be given to menus(like node/nid and pagepath). I want to give ...
1
vote
1answer
67 views

Master page and details page for Views

I have created a new content type and I called it Opinion. Then using views, I have created a page with path /opinion to be a view for all nodes of type Opinion listing i.e. a master page. The ...
1
vote
3answers
100 views

How to programmatically set node alias on node save

I need to set a special path alias for nodes created by users in the template.php file of my theme. the pathauto module is enabled. I already tried the solutions that are given in the following links ...
0
votes
1answer
39 views

Pathauto pattern page is empty

I have installed Pathauto module in my drupal 7 site. But pattern page in pathauto showing empty page with save configuration button. I am using bootstrap theme. I have changed my PHP memory limit to ...
0
votes
1answer
24 views

Create custom path alias when new user is added in drupal 7

I've created contents using custom form. I don't use content types. I could add, update and delete that content by access test, test/id/edit and test/id/delete. I've displayed content lists for a ...
1
vote
1answer
12 views

Menu link Translation

I'm using i18n and submodules to translate an English Language site to Spanish. I'm also using Automatic path aliases. The issue is that menu links are directly to the node: node/42. When in the ...
1
vote
0answers
26 views

best SEO URL aliases settings for multilingual site, D7 [closed]

I managed to have a nice URL for each node in a Multilanguage site (no more node/123 path if node is uploaded in NOT-default language which is English) according to this answer, now "I have a ...
0
votes
0answers
15 views

Drupal ajax nav with friendly URLS

Im stuck on this... :-/ heres the problems im facing: The site navigation links should be in the form of: url.com/final-page I've managed to build out a ajax navigation module using a few ...
3
votes
1answer
41 views

How can I validate a path used to create a page?

I'm in the process of creating my first D7 module, partly based on the tutorial found here. It's a pretty simple module that creates both a block and a page to show some content. To go a little ...
1
vote
1answer
32 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
19 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
16 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
29 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
37 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
57 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
19 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
22 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
10 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
85 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 ...
2
votes
2answers
54 views

How to 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
26 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
42 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
105 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
15 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
41 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
27 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
68 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 ...
2
votes
1answer
50 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
13 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
34 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
79 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
42 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
21 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
79 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
23 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
42 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
15 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
102 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
49 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
60 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
49 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
25 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
25 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
26 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 ...