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
0answers
12 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 - ...
7
votes
2answers
143 views

How to avoid Drupal redirecting my multilingual Views pages?

I've got a Views page in a multilingual website where I need a different url for each language: (es: mysite/apartamentos, en: mysite/appartments, fr: mysite/appartements, ru: mysite/arendu). I ...
0
votes
1answer
56 views

getting URL from Route: breaks in localhost subdirectory

I just had a Drupal 8 site break when moving it from a top-level domain on a server to a subdirectory on my desktop machine: apparently that subdirectory wants to be included in the URL as converted ...
0
votes
1answer
14 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 ...
3
votes
1answer
36 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 ...
0
votes
3answers
57 views

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

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: ...
0
votes
0answers
26 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
20 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
14 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 ...
1
vote
1answer
41 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
2answers
72 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
1answer
58 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 ...
0
votes
1answer
23 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 ...
0
votes
0answers
12 views

Exact URL 404 issue [duplicate]

I have a node http://www.example.com/abc , when i open http://www.example.com/abc/ahdhshs (which doesn't exist), instead of giving 404 error abc node is loading. While using view pages i don't have ...
4
votes
3answers
127 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
58 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 ...
0
votes
1answer
15 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 ...
0
votes
0answers
50 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
27 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
80 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
1answer
13 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
41 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 ...
0
votes
0answers
14 views

Clarification for Pathlogic settings needed

I have installed Pathlogic but can't get it working. I want to have the LIVE url appended to localhost for images in basic page content items. Format is Full HTML, using IMCE Configuration is as ...
1
vote
0answers
37 views

Url Alias not working for domain paths

Iam using domain access module in my website and having multiple domains in my website for example iam having domains test.example.com (primary domain) test1.example.com when iam creating a sample ...
1
vote
1answer
49 views

How can I modify the result of the core Path listing filter?

The core Path module defines the page admin/config/search/path which gives a listing of all path aliases. The menu hook in the module calls the path_admin_overview function in path.admin.inc which ...
0
votes
1answer
24 views

Disable node summary using Page Manager

There are a few modules and methods specifically for disabling / removing the node summary page (at /node), like Node Page Disable, but I'm wondering if there's a way to redirect or override the page ...
1
vote
2answers
62 views

How to set the url alias of a node created by Rules?

I am using the Rules module to create some default group content upon creation of an organic group. The rule is copied below and works well except that the url pattern for the default content is not ...
0
votes
1answer
97 views

Not showing the URL pattern option

Drupal 8, When we go to URL aliases section, there is no URL pattern option like Drupal 7. Do I need to install any other modules to have this feature available? Edit Added screenshot Drupal 8 ...
0
votes
1answer
50 views

How feasible is a Drupal 8 with a different language depending on its subdomain

So, let's say I have this massive content-heavy site with all sorts of paths like mysite.org/category/date/slug or mysite.org/someterm/subterm/date/slug. Let's say all this content is in English, and ...
0
votes
1answer
34 views

Convert links in content to internal form?

If I create a hyperlink inside a text field (such as node body) with an internal path uri such as "node/1234" or "index.php?q=taxonomy/term/5678", then I can use an input filter such as pathologic to ...
0
votes
1answer
43 views

my urls are not replacing spaces with hyphens

I have url aliasing and clean urls. They are making the content have good urls, but for some reason it's not always rendering with hyphens. It leaves the spaces and breaks pages.
0
votes
1answer
21 views

How to create a organic-group-alias/content-type subpage?

I've created a page via views that show a list of all the nodes of a specific content type in a specific group. /node/groupid/post lists all the nodes of type post in groupid. But what I really ...
0
votes
1answer
39 views

Taxonomy parent terms - pathauto

Pattern for taxonomy terms is [term:parent]/[term:name] where car is parent and BMW is child Path is looking like this when I am on child term page: www.mysite.com/car/bmw In menu I have link to ...
5
votes
1answer
133 views

Is there a better way to create an alternative URL Alias Pattern?

Say for example my alias pattern for one node is set up as: style-[node:field_style]/[node:title] There may be a case that node:field_style is blank so I would like to use another field and a ...
0
votes
4answers
75 views

Create two nodes with url aliases on one submission

I have a content type "News". With URL aliases pattern and token the URL is like this: news/[node:title]. Is it possible to create two nodes on one submission with different URL aliases? Let's say on ...
1
vote
1answer
97 views

Multilingual redirects don't work from node url

Drupal 7, node translation method being used. Having an issue with translated content url aliases right now. Aliases work, language prefixes in urls work, but using the node/# url does not redirect to ...
0
votes
0answers
44 views

Disable language for URL aliases and URL redirects?

On a regular base I am caught be the language field of URL alias and URL redirects. For most of my sites I don't see the need to keep an alias or redirect limited to a specific language only and in ...
1
vote
3answers
80 views

Multiple path alias for a url

I've installed the pathauto module. I have a content type article. When I'm trying to create an article, the path is created automatically in the form content/article-title, that is fine. However, I ...
0
votes
0answers
14 views

Views exposed filter path [duplicate]

Results of views exposed filter (11 filters) path has 269 characters and looks terrible. How to make it shorter and more SEO friendly ?
2
votes
1answer
86 views

Saving existing node doesn't update automatic alias

I have a node with pattern /route/[node:title]. Whenever I save a new node with automatic alias checked it saves perfectly. Whenever I edit an existing node with Generate automatic alias checked it ...
1
vote
2answers
29 views

Is it possible to get node alias during hook_node_insert()

I need to get the node alias during a hook_node_insert() when creating a brand new node. Function drupal_lookup_path() returns blank because the node actually isn't created yet per hook_node_insert() ...
0
votes
1answer
26 views

Path to views in menu link

I have a view that shows all the articles then I can select the year. I made this with a group filter. At this point drupal send the user to an url /noticias?created=2 and here news of 2014 are ...
1
vote
1answer
35 views

How to display contents which matches the path alias of a content from URL using views contextual filters?

I have a content type "basic" and have contents with different URL alias for ex: www.example.com/news/newsletter/title; www.example.com/content/title; both are same type. I need to create ...
0
votes
0answers
22 views

pathauto patterns : when duplicate path is existed

I want to automatic count pattern in path. e.g) pathauto current pattern : content/[taxonomy:vocabulary] If I create same path url content. content/gavias content/gavias-1 content/gavias-2 ...
0
votes
0answers
37 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
69 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
130 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
1k 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
63 views

Pathauto pattern page is empty

I have installed Pathauto module, but the pattern page in pathauto showing empty page with save configuration button. I am using bootstrap theme. I have changed my PHP memory limit to 128M and cleared ...