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

learn more… | top users | synonyms (2)

1
vote
1answer
9 views

Implementing an age check using InboundPathProcessorInterface

I'm trying to create an age checker for a Drupal 8 site. I've created a custom module which has a form where the user enters their DOB and my form submit saves a cookie so I know they have passed ...
0
votes
0answers
9 views

where do i add “drupal_lookup_path code” for tid instead of title

Iam trying to change url term id to term name. i got reference from jasonglisson.com $url = drupal_lookup_path('alias', 'taxonomy/term/'. $known_tid); /*So in my case, I was able to write a foreach ...
3
votes
3answers
40 views

How to generate URL alias without %20 in URL?

We have a custom field that is being used to generate the URL alias. One issue we have found is that when we set the page to "Autogenerate URL Alias" and set the URL pattern to "[node:...
1
vote
1answer
11 views

Programatically redirect to node/nid doesn't redirect to url alias - Drupal 8

From what I understand the module 'GlobalRedirect' has been merged into the 'Redirect' module. So the redirect module should also redirect links as node/nid to it's url alias. When creating redirects ...
0
votes
0answers
12 views

Version 7, “All pages except those listed” only works for administrator

I have two pages that I want the Navigation menu to be hidden. They are content/school-calendar node/2 When I go to either page as the administrator, I don't see the Navigation block. When I do ...
0
votes
1answer
48 views

Convert path alias to ID

How can I get the ID of a taxonomy term with only a path alias, using PHP? I have a vocabulary with some taxonomy terms with a path alias like [vocabulary]/[term] (e.g. car/model) and I have repeated ...
1
vote
0answers
28 views

One Time Login Short Link URL returns 404

I'm new to Drupal and I'd like to generate a login one time short URL and email it. Those tasks are set with a rule. So, I'm using the One Time Login Short Link module but the link sent returns a 404 ...
1
vote
0answers
19 views

I have the problem in url path settings? [duplicate]

I have some basic pages in my site, it has url paths. When i pass the url its works properly. Eg: www.mysite.com/about-us it opens perfectly. But my problem is if i pass url as www.mysite.com/...
0
votes
1answer
15 views

Redirect taxonomy term page links to a View page's exposed filter

I'm trying to make every taxonomy term page link direct to a pattern like this: /viewpage?[term:vocabulary][]=[[term:tid]] So, for example instead of material/bronze where bronze has term id 7, ...
1
vote
1answer
25 views

Creating multiple URL aliases for the same node with their own context

I want to solve the following problem with Drupal 7 solely using existing modules and without any extra code. I have a contenttype called 'News' I create a news item and assign a taxonomy term ...
1
vote
2answers
23 views

Way To Search Content

I am new to Drupal and am currently trying to edit some pages on a site I inherited. The site does not seem well-organized as there is a panoply of URL redirects and aliases. As a result, I am having ...
0
votes
1answer
9 views

Strange error in status reports en unable to safe my taxonomy term url-alias

When I go to admin/reports/status I see this error (see image). Also I am unable to safe my taxonomy term url-alias? What does this error mean and how can I fix this?
1
vote
1answer
34 views

Use taxonomy path-alias

I've been working playing with the Facet API Search lately and I liked a lot the option that Facet API provides to use the alias of the taxonomies in the URL. I was wondering if there is a chance to ...
0
votes
1answer
30 views

Programatically is it possible to list up all the path aliases that my site has?

A site has many path aliases generated using the Pathauto module, or from the user interface. I want to get all the aliases the site has. how can I achieve this?
0
votes
0answers
13 views

Is there a way to do a token path redirect without using Rules?

I have tried a number of the popular login redirect modules but I cannot find one which allows for inputting token based paths. Logintoboggan, Login Destination, and Login Redirect all do not allow ...
0
votes
1answer
55 views

How do I make parent taxonomy paths?

I installed Pathauto, Tokens and Entity API module in Drupal 8 and I have been unable to create a pattern that would allow parent taxonomies and then the final node for content type pages. In Drupal 7 ...
1
vote
0answers
24 views

How Drupal differentiates from url_alias and url path with argument [closed]

I am trying to understand how Drupal recognizes that the following two different paths set in database table url_alias are different and don't success to understand it: products --> node/8 products/...
3
votes
2answers
153 views

How to bulk update existing path alias after changing the URL alias pattern?

How to bulk update existing URL alias? I have Path auto module add path alias to URLs. I have changed the URL alias pattern. Now I want to update the pattern of old URLs also. How can I achieve this?...
0
votes
1answer
43 views

Mask a dynamic URL

Is there a way to mask a dynamic url in Drupal? Original URL: site.com/user/%/orders Masked URL: site.com/orders
0
votes
1answer
40 views

“Generate automatic URL alias” disabled by default?

I am importing a batch of products via Commerce feeds and I have to manually edit the node and enable auto aliases. I have the Pathauto module enabled. Why is it disabled?
1
vote
0answers
37 views

Drupal 8 View - get url field

How do I get the URL, not the link html for a taxonomy field in my view. For Drupal 7 I found this ticket: How do I get the raw URL as a field in Views? This mentions getting the content: path - ...
3
votes
2answers
88 views

How can I create a view page that takes taxonomy machine name and has depth?

This question is a followup to How to load nodes that are associated with the child of a taxonomy term and refers to this answer in particular, but is standalone, so you need only visit those if you ...
1
vote
1answer
20 views

url() not providing links to correct language alias using i18n in D7

We have a site that features two languages, EN (primary/default) and JA. On one content page, we link to another node using it's nid: url('node/123'). In EN, this returns the alias and not the node ...
4
votes
1answer
74 views

How can I get the nid of a node from the page alias?

In Drupal 8 I want to be able to get the nid but the only information I have is http://example.com/this-is-the-alias. Is there a drupal function to get either the internal path of /node/* for that ...
1
vote
0answers
17 views

Views overwrite node - URL

I have node URL like: http://url.com/program/category/app/ I would like to create view with path: http://url.com/program/category/app/alternatives Is this possible? When I use in Views. I tried "/...
0
votes
1answer
23 views

Chinese auto path urls become something else?

I have a Drupal 7 site with i18n on it. There are lots of languages. The problem is that if you save node that is in Chinese, and you select auto path, then the title that was something like this: ...
0
votes
2answers
26 views

7 - “/es” showing up twice in URLs

I have a bilingual website using locale. I have a content type that has the "link" field. I have an Image Slider created with Views with the link as one of the fields. The url in the link field is "...
0
votes
3answers
126 views

How do you change the URL alias of a contact form?

Sounds simple enough, right? I can't find it anywhere. My contact form's path remains: /contact/contact_us And I have no idea where to change this. I have checked under the form settings at: /...
1
vote
0answers
78 views

Strange Behavior : Drupal 8 Views with Contextual Filter and Path Alias Together

I am testing out a views page on core 8.0.5. The path is set at job/% and the contextual filter is Content: Node ID. This page view only displays a few fields for testing purpose. The preview works ...
0
votes
1answer
22 views

how can i get path vocabulary based taxonomy term with node title using views?

I have created vocabulary called Category and it contains below hierarchy term1 term 1.1 term 1.1.1 term 1.1.2 term 1.1.3 term 1.2 term2 and i have assigned to this category to ...
0
votes
0answers
15 views

Modify default path in Google Analytics Counter for site in a subdirectory

The Google Analytics Counter module is installed, authenticated, and working correctly. However it does not display counts on nodes because Drupal is installed in a subdirectory, eg: at website.org/...
1
vote
1answer
43 views

Is it possible to turn off the auto-pathing for the Pathauto module?

I use the Pathauto module for several uses, such creating URL patterns. I do want to turn off only the main feature of the module which is --- Auto path creation for nodes... Why? Because some of my ...
0
votes
0answers
15 views

node:menu-link:parent:url:path out putting node parent ID instead

Not sure what's changed recently but [node:menu-link:parent:url:path] was working up to a few weeks ago now when I save a node I get the parent node ID in the url instead of the actual path so it ...
0
votes
2answers
133 views

find Menu Settings of node, given URL alias (or node ID)

In the Drupal 8 screen for editing a node, we have these two sections: URL Path Settings > URL alias Menu Settings (Menu link title, Description, Parent item, Weight) How, given the URL ...
0
votes
0answers
21 views

Pathauto, flags and contextual filter not working

I have a content type called ev and a flag for this content type. I want a view that displays the users that flagged content. When I build the user view with a relatioship Flags: User's flaggings (...
1
vote
2answers
102 views

Find Menu Link Title given URL alias, to replace node Title in breadcrumbs

In Drupal 8, how can one determine the Menu Link Title of a node, given its URL and other information like its route & parameters? This is to modify the core path-based breadcrumbs (...
1
vote
1answer
92 views

node:url token not returning clean (alias) URL

This is a follow-up question of: How to delay the execution of a rule for 5 minutes? When not delaying the action, the node:url token does not return the alias URL, but the URL with the token ID: ......
0
votes
3answers
123 views

How to ignore the first argument in view contextual filters?

I am having path aliases of the form path/val1/val2/data that are created with pathauto. I want to create a view that will be use a contextual filter and that will read only section 3 of the URL. ...
0
votes
1answer
25 views

How can I output aliases in a print function, so I can render links using aliases instead of nid?

I have a theme using a views tpl file that is making it impossible for a View to link to node content using the node’s aliases' that i’ve set up. For example it is linking to the default node/36 ...
4
votes
3answers
135 views

Is there an easy way to move non-English selected nodes into a language section?

I have a site in English but it also has a few nodes in Arabic, a few in Aramaic, a few in Hebrew, etc. Is there an easy comfortable UI way to move each group of nodes for a language section? To ...
0
votes
2answers
98 views

How to redirect URL of kind node/nid to its url alias

I want to replicate the effect seen in http://www.drupal.org/node/1 , where you are redirected to drupal.org/about. I have a fresh Drupal 7 installation, I create a node with a path, and don't get ...
1
vote
1answer
17 views

Extra aliases in the url_alias table

In a module, entity_save is being called 2 times. Each time it's called, an extra alias row is being added to the url_alias table. I couldn't find any paths being saved in node_save. Is this expected ...
0
votes
0answers
12 views

How to pass an argument to panelized taxonomy term using alias?

I use panels to display taxonomy term page for terms of certain vocabulary. So the pages /taxonomy/term/[term_id] for my vocabulary now are panels pages. Also I have a view which I want to embed in ...
1
vote
0answers
43 views

view-mode-page: How to define the url pattern right?

I'm new here and hope it is the right place for asking my question. My problem is as follows: I need to provide 2 view modes of one and the same content type via url. So I installed and configured ...
0
votes
0answers
77 views

How to add completely custom URLs to Sitemap in module XMLSitemap in Drupal 7

I have a website with which has some different URLs that are not inserted in the url_alias table not embedded into Drupal content system, but they are generated on-the-fly by custom PHP logic inside a ...
0
votes
1answer
30 views

Create path alias to a custom link

I have a taxonomy term that has its own template, inside that template, there is custom links that just add a new argument to the URL for example the current path is /taxonomy/term/%, one of the ...
2
votes
2answers
117 views

How to create programmatically menu links with just created nodes during installation profile in aegir ?can't get nid!

I am creating a set of nodes in an installation profile. When I try to create menu links for them in the same PROFILE_NAME.install, the links don't get created. I have also tried creating the menus ...
0
votes
0answers
36 views

How to find url alias that is not matching pattern

I find the "fun" problems. I have a site that is using token paths for content. Not all the paths are correct. This is a symptom of a deeper problem that I am still looking for, but it is causing ...
0
votes
1answer
14 views

How to print the path alias without “/” in views

I would like to print the path of a node in a view, but without the "/". With "Content:path" the trailing slash before the alias is always there. ie: path-of-node in stead of /path-of-node Any ...
2
votes
1answer
45 views

How to change taxonomy term path for table and grid view

I am using taxonomy term module. I have categories vocabulary and in term so many categories and I have created the view using taxonomy term. With two page first is in table format and another is ...