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
13 views

URL issue concerning user contact form

I have my URL patterns in place and also added Sub-pathauto to achieve the following url structure: instead of "user/25/contact" I would like to have "nutzer/firstname-lastname/kontakt". The first ...
0
votes
0answers
13 views

Why is $node->path sometimes not populated?

I'm fetching a bunch of nodes by their nids with node_load_multiple(). Most of them come back with nodes including $node->path['alias'] but one of them does not have the path property on the ...
0
votes
0answers
13 views

Taxonomy Path overrides Views Page Path

I have got a View-Page, showing content related to a taxonomy terms. I am using context filter to pass the taxonomy term to the view: Path:/product/% I also added an alias to the taxonomy vocabulary ...
1
vote
3answers
67 views

Replace URL query string with slash for a cleaner URL

I have created a new content type with a body and multiple fields. I use the following query string ?article=referral-partners to change the content of the node's body according to the value of ...
0
votes
0answers
14 views

Ignore parts of the url or dynamically rewrite/alias the url

I am having a problem and have been wrecking my brain over it... I feel I might ohh how did I not think of that moment once I find the solution... Basically, what I need to do is: For any url ...
2
votes
1answer
20 views

Pathauto: Custom punctuation replacement

Instead of having Pathauto replace punctuation in the path alias with a default separator ( dash for example ), or remove it, can we somehow specify a custom input to replace with? For example, " ...
0
votes
3answers
31 views

Page not found error when using plus“+” sign in the url alias

I am trying to create a new simple node with url alias as test+node. when i save the node the page is not showing the node, the url changes as http://server/packets/test%2Bnode but it only shows the ...
0
votes
1answer
34 views

Pathauto insert taxonomy term custom url

I have change the url of an taxonomy term. Now when i use a field with taxonomy term the url is showing like this: [node:field-taxonomy:parents:join-path]/[node:field-taxonomy:name]/[node:title] ...
1
vote
1answer
26 views

Problem creating path alias in code

I am creating a node and a path alias roughly as follows: <?php $node = (object) array( 'type' => 'article'); node_object_prepare($node); $node_wrapper = entity_metadata_wrapper('node', $node); ...
0
votes
1answer
36 views

How to set a custom URL for a node without pathauto?

I have a content type that requires me to assemble a URL from several sources - the node title, a taxonomy value, and some fields of a product that are referenced from a product display that this ...
0
votes
1answer
32 views

How to control path alias in custom node form #validate function?

To change form values in code, I understand that the right way is to add a validate function with hook_form_alter, to append the function's name to the #validate array then use form_set_value. When I ...
1
vote
0answers
18 views

How to get Page Manager to react on path alias before node/%node

I have a CTools Page Manager Panels Variant that I want to apply to a whole load of different content, based on paths. Basically I want this Page Manager Page to handle all paths matching: foo/*/* ...
0
votes
0answers
16 views

Optional tokens in path

Sites such as StackExchange use URLs that contain a page code and some additional keywords, possibly for SEO. If you change anything in the additional keywords, you are still redirected to the correct ...
0
votes
1answer
28 views

Looking to create a taxonomy term path with a query string

I have seen this question asked over on DO and here, but there doesn't seem to be a clear answer. How to create a path alias with a query string in the target? I need to able to send a query string ...
0
votes
1answer
24 views

Pathauto , Using Body Value for URL Alias

I am trying to use the use the node body value for URL alias using Pathauto . I am trying the below path pattern : content/[node:body:?] But this doesn't seem to have any effect . I have tried this ...
0
votes
1answer
15 views

Spam url_alias entries being created - how do I stop them?

I'm using Drupal 6 and having trouble with url_alias spam. Somehow spam entries are showing up in the url_alias table as aliases for valid content. I thought an administrator or valid user would ...
1
vote
0answers
13 views

Forward Node to Translated Version with original friendly URL

Here is the use case: Node/View 1's path is "about-us" and it has language set to English. Node/View 2's path is "acerca-de-nuestra-historia" and the language is set to Spanish. I need a solution ...
0
votes
0answers
41 views

path alias or real path has higher priority?

By default in Drupal , a views create to show all term , its Url is taxonomy/% (%=termid),I has special vocab that I want set another views with my fields and style , I set path alias to that vocab ...
-1
votes
1answer
37 views

Setup for Taxonomy throwing 404 constantly

I'm running a fresh, vanilla install of Drupal 7.27. There are absolutely no non-default modules installed with it. I was playing with the taxonomy settings to familiarize myself with the system. I ...
1
vote
1answer
62 views

Add a prefix to all path with hook_url_outbound_alter and/or hook_url_inbound_alter

I'm trying to add a prefix to all path aliases, without changing the URL's destinations (internal path) of my website. I'm setting a $_SESSION var with hook_init() when a visitor arrive on the ...
0
votes
0answers
9 views

Display chosen term view in alias

I am displaying Taxonomy dropdown to get chosen by an user to show only one taxonomy. It works perfectly but it adds "?tid=40" for example to the address but I wanted it to be in an alias like ...
2
votes
1answer
42 views

Taxonomy View and Paths

I have a view set up to display all my taxonomy nodes for "Classified Categories" Vocabulary, in the view I have set up the path to be /Dogs however when it lists the terms they are all linked to ...
0
votes
1answer
31 views

404 when using named placeholders for variable parts of Panels path

I'm creating a landing page using a custom content type in Drupal 7, I've set up the views and had everything working correctly, but then I decided to change something at the last minute and add named ...
0
votes
0answers
11 views

Drupal Path Setting differ when logged in or not

So when I am logged in I see site.com/node/xx when I am not logged in it is displayed as site.com/xx the way it should be. The strange is it only happened with my last added nodes of today!? I ran ...
0
votes
1answer
30 views

Single site with multiple user interfaces based on path and role

I'm currently working on a Drupal project that requires 3 separate interfaces. Administrative users login to the site and all of the pages associated with their specific role start with a particular ...
0
votes
0answers
41 views

How to return the URL Path alias of nodes using views & services

I've created a view that returns json content through a RESTful API (using the modules: views & services) but I'm facing troubles when I try to return the URL alias (path) for each individual ...
0
votes
0answers
29 views

Taxonomy views listing url to follow site url structure

This is part of my site structure A node gets part fo url alias from term and parent terms mysite.com/term:name/term-child:name/node:title (Those are replaced with actual tokens) Lenght of the alias ...
0
votes
0answers
16 views

How to reuse the same str_replace-like function pathauto is configured to? [duplicate]

Use case: Custom module to alter CONTENTTYPE_node_forms to hide some of many entity reference options when adding/editing a node. Then via a custom validate I set ...
1
vote
1answer
16 views

How to properly create an alias to a content

When I create a content from Dashboard, I assign it an alias, to be exact I assign it: offers But the route I'm getting is: http://example.com/?q=offers How can I make it to be just: ...
0
votes
1answer
44 views

how to change address bar by its content-type/title of node

I have a content type where user allowed to add the content, which create a node of that particular content, when i click to that content for detail page it re-direct to the node page created by ...
2
votes
1answer
246 views

Url aliases for Drupal 7 Views page

I have a view which has the path set to events/%, where the wildcard will the the nid of, for example, a department. The view will display all events for a particular department. I want to be able to ...
0
votes
2answers
129 views

URL, wildcards, path

I am having problems with a sort of pattern matching or path parsing issue. If I have the following URL: http://www.mysite.com/sem-one-two/play I have an application that runs at /play, which is ...
0
votes
1answer
53 views

Url adds zero at the end and duplicate contents appearing

Some of my contents have duplicate contents meaning it creates two path for the same content and I don't know how it track this and it adds zero(-0) at the end of the url like the below ...
1
vote
0answers
31 views

How to create a url pattern for a specific node

I have a node with the path: http://www.example.com/test I would like all paths that begin with /test/ to go to this node. url like these: http://www.example.com/test/a/b/c ...
0
votes
1answer
34 views

Customizing where to show block

Let's say I have nodes with the following paths: /chapters/university-of-florida/classrooms/class1 /chapters/university-of-chicago/classrooms/class2 /chapters/ucla/classrooms/cla I'd like to ...
0
votes
3answers
32 views

Drupal 6 on MAMP

So there's a site I need to redesign for a client. This website is currently in Drupal 6 (yes I know). I've installed a copy of this website in my computer using MAMP and I am able to run the website ...
1
vote
0answers
13 views

subpath url alias does not seem to fire 404

I'm using subpath_alias, so /node/4/video alias is available too. But now, and I'm not sure subpath_alias is involved, /node/4/foo does not fire 404 and instead it shows the page as if it was /node/4. ...
0
votes
0answers
32 views

node with embedded view, contextual filter with patalias

I got a node of content type 'listpage'. On this content type i added a field wich embeds a view on the page. Now the view gives a list of items, and the list gets filter by the taxanomy term in the ...
0
votes
0answers
95 views

node/add/[content-type] redirects to front-page

I have 6 content types set up on my site: Article, Artefact, Basic Page, Link, Persona, Quote. All the rest work, but the link to add Quote just redirects to front-page, and I can think of nothing ...
0
votes
1answer
60 views

alias url to root

I was looking at admin/config/search/ for adding url aliases. I wanted to add alias to the website/root so user can see same content to mysite.com/somecityname to same mysite.com/. It seems like we ...
-2
votes
2answers
75 views

Retaining URL Alias without removing when modified nodes or run bulk update

I want to keep the old aliases when I have modified the content. I don't want the alias to be modified/removed. This is very import point in SEO perspective. How do I do this? Update: I apologize if ...
2
votes
4answers
1k views

How to get the path to the translated node?

I've set up a multilanguage site in Drupal 7. In a template I need to add a link to a specific content node. This node has translations and path aliases like so: node/42 = pathalias_de (german ...
0
votes
1answer
29 views

What is causing pathauto to generate unwanted text in these URLs?

I have configured pathauto to generate URLs for content according to this pattern article/[node:author]/[current-page:title]-[node:nid]. article is a literal input, to reflect the content type ...
0
votes
1answer
19 views

Update aliases through admin or module?

I used the blog module for what I am calling "story" on the site I am building. The URI and various parts of the site still say "BLog" -- most noticeably when the user attempts to add a new blog. I ...
1
vote
1answer
66 views

Creating a page dynamically

Using Views in Drupal 7 I can consume the output of a restful API. I want to take some of the data and dynamically create pages. For example I get the following return json: $data = {'title':'This is ...
-1
votes
2answers
55 views

Where are the permissions need for a content creator to set the URL and path alias for an article?

I am creating content as a user given the necessary permissions but I can't find the settings needed to set the URL and path alias for an article I am creating. I have checked all the permissions and ...
3
votes
2answers
80 views

Failed validation redirects to normal path

I am using the sub-pathauto module. I edit node 1 of type list at list/1/edit. All good. However, when validation fails I am redirected back to node/1/edit (the normal path). Is this a known ...
2
votes
3answers
471 views

Programmatically create a node with alias and menu item using Entity API

I've seen the excellent documentation on Drupal.org about how to create a node in code, but that documentation doesn't address how to create the node's alias. I've seen code snippets that use ...
1
vote
2answers
287 views

drupal 7 template suggestions based on path alias

I am using this function on a D7 site to template based on url alias and everything works except when a page has a dash in it. For example mysite.com/test-page doesn't work. I tried ...
0
votes
1answer
41 views

How to change the url pattern of user revisions?

How can i change the url pattern of a user revision ? I want to change users/jon-doe/revisions/123/view to users/jon-doe/archive/123/view There is no option in pathauto to influence the url ...