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
1answer
20 views

How to show pages other than nodes with the default language prefix

Content on our site exists in several languages. The default language is 'en'. Prefixes are shown in URLs, such as http://example.com/en/my/path or http://example.com/nl/my/path. However, pages like ...
0
votes
0answers
9 views

Organizing complex URL architecture

I have two-level taxonomy (simple tree). And my items URL should be category_level_1/category_level_2/item But one article may belong to different terms, so it may be that item should be reachable ...
0
votes
0answers
19 views

url() doesn't take current language into account

I have a multilingual site with node translation i18n and pathauto. Assume it has the following 3 nodes: node table: nid | language | tnid ----+----------+----- 5 | en | 5 6 | fr ...
0
votes
0answers
14 views

Remove q= after HTTPS redirect

My whole Drupal 7 site is forced to use HTTPS for payment/purchasing reasons, so we automatically redirect any HTTP traffic to HTTPS. I have a weird issue where if you go to a URL like ...
1
vote
1answer
52 views

Pathauto is prepending <front> to the urls

In my pattern for pathauto I'm using [nodesymlink:menu-link:parent:url:path]/[nodesymlink:menu-link:title] and for menu items that are children of the front page it is prepending <front> to the ...
0
votes
0answers
21 views

Override Taxonomy Term Path to Contextually Filtered View

This may be highly specific, but I still think it has value for sizable number of applications in the wild, so here we go: I have a View established using Contextual Filters The Contextual Filters ...
0
votes
1answer
19 views

Multiple aliased pages for same taxonomy term (e.g. blog/term1 and images/term1)

I have some taxonomy vocabularies that are used on different content types (blog posts, images, businesses etc.). I want to create a main page for each content type listing, and filter those listings ...
0
votes
0answers
9 views

Retrieve List (text) key for Path settings of file

I want to rename a file according to a value in a list (text). I am not able to choose the key of the list, but always the value is chosen. The list looks like this. key|value digital|Digital (print ...
0
votes
1answer
48 views

Path (alias) does not work after migration, nor Content view

I'm using the migrate (7.x-2.x-dev) module to import a node(s) from static HTMLs to Drupal 7, and I want to set the path the same as the original directory/filename. I have defined in my migration ...
0
votes
0answers
19 views

Clean URLs test fails in drupal7 + mod_vhost_alias

In a local Drupal7 installation running on an Apache with mod_vhost_alias enabled, the Clean URLs test always fails and I have tried combinations of different things and I am still not able to get ...
0
votes
0answers
24 views

Same path for different domains

I have Drupal 7 with Domain Access on it. On the main domain i have an About us page with the path www.example.com/about-us How can i get same "/about-us" path on several subdomains like ...
0
votes
0answers
19 views

my /admin URL shows a custom view from another URL

when I access site.com/admin i get a Views page that has the path site.com/admin/releases. The View is a clone of the standard Drupal Commerce /admin/commerce/products/list with some more fields. ...
1
vote
1answer
31 views

How to add a path filter to views 3 in Drupal 7?

This doesn't have to do with contextual filters but is it possible to add a filter criterion to views so that it filters the aliased path to a node? Content:Path is available as a display field but ...
1
vote
0answers
17 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
16 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
41 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
163 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 ...
1
vote
0answers
35 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
26 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
69 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
72 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] ...
2
votes
1answer
53 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
42 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
45 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
28 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
26 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
33 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
26 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
17 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
15 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
59 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
40 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
133 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
49 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
48 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
50 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
83 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
40 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
59 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 ...
3
votes
1answer
576 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
299 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
57 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
33 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
37 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
35 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
20 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. ...