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

Restructure Language Prefix

I'm building an international site and am running into trouble with the language detection. I need to have urls structured like the below examples for SEO purposes, but nothing I've found will allow ...
0
votes
0answers
9 views

D6->D7 migration, issue with the url_alias and multiple aliases

I am doing a d6 to d7 migration and running into an issue with my url aliases. In the d6 system the previous admin didn't override the url alias when a new one was created. This means there are two ...
0
votes
1answer
23 views

Creating a view to show nodes with multiple aliases generated by Path Module

I got a tough problem that I don’t even know how to start, any help would be appreciated. I am on a D6 site. The Path Module is installed and there are articles that have more than one alias ...
0
votes
0answers
19 views

Add Javascript by URL Alias

I've been using this code from drupal.org to add javascript to a page node. function example_preprocess_html(&$variables){ if(arg(0) == 'node' && arg(1) == 585) { ...
0
votes
1answer
11 views

Page View not showing on path'd page

I'm using Drupal 6 and I'm pretty sure I'm using Views 3. I created a page called All Events (alias: all-events) and created a view that displays as a page. Under Page Settings for the path option I ...
0
votes
0answers
23 views

Override a pathauto alias display with a view

I have a magazine style site with a lot of content types and automated path aliases. For a section of my site I already have views that display the content in a manor in which I want it displayed - I ...
0
votes
0answers
29 views

Get list of canonical urls?

I have a list of ~2500 pages that I need to get canonical urls for from an old D6 site. The site uses Path_Redirect. Using mysql queries I can get a list of nids for the pages I want, but I'm having ...
0
votes
0answers
11 views

Entity Reference Sub Path Panels

I use following URL Path Schema with Drupal Pathauto Module: Node types: Country City both assigned with Entity Reference and i use the tokens for Pathauto for generate URL. It works all fine. My ...
0
votes
1answer
23 views

URL alias in view with subfolder of the Drupal installation

I've never seen this before: This D7 installation runs in a subfolder of my dev server. The same way as all the other installations. In a view I have a field with the node alias path. But this path ...
0
votes
2answers
19 views

Update url-aliase for nodes of a specific content type

I'm using drupal 7 in combination with path auto. I imported nodes of a specific content type using the feed importer, but the url alias is not set correctly. My problem is, that i can not use the ...
1
vote
0answers
39 views

Advice for Image Management with New Site

I am looking for the best image management options for a new Drupal site. The original site has several thousand images, and a dynamic site is expected to explode that number to tens of thousands. ...
0
votes
1answer
53 views

Clean URLs enabled but main-menu keeps replacing clean URL with ugly node/ URL

I have enabled clean URL's on my website and had a menu item in my main-menu that pointed to a View that had a URL alias set up for /ebook-register. I just removed that alias and assigned the same ...
0
votes
0answers
18 views

Redirect beating out URL path and creating redirect loop

Currently ran a bunch of updates on our site, and we're experiencing this issue: Create nodea at /nodea Change nodea's path to /nodeb a redirect will be written added to nodeb: /nodea -> /nodeb ...
1
vote
1answer
37 views

How can I assign the Commerce Product SKU as the Path Alias?

We would like to automatically assign the Path Alias for each new Product as /products/sku. How can we do this, either from the URL Alias admin UI or via Rule or programmatically?
0
votes
1answer
58 views

How to use the language neutral url alias pattern in pathauto?

I want to use the following patterns in pathauto: myCT All languages: pattern1 myCT neutral language: pattern2 myCT EN language: pattern2 So that all neutral (UND) and EN nodes of myCT have ...
1
vote
0answers
14 views

Alias Defaults to Auto-generate

Afternoon Everyone, I am having a few problems with a site we are having developed; although it is nothing significant it is quite annoying. At the moment I am editing a fair amount of content ready ...
0
votes
1answer
24 views

Show views page based on path

I have 3 node types: category subcategory product These are all linked using Entity Reference module. All pages have a path (using autopath). What I want to do is show a view depending on the ...
1
vote
1answer
36 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
12 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
22 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
37 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
70 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
37 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
26 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
11 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
120 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
23 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
46 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
37 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
37 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
22 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
77 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
264 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
69 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
36 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, " ...
1
vote
3answers
108 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
169 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
105 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
46 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
76 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
47 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
45 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
38 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
27 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
21 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
17 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
82 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
45 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
225 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 ...