A Universal Resource Locator (URL) is a string (address) that references a webpage or other Internet resource.

learn more… | top users | synonyms (2)

3
votes
1answer
19 views

Need to redirect the non-existence URL's to 404 page instead of parent url

This is in connection to drupal.org issue #432384. That's when I happen to request for page "node/1/aaa/bbbb", I'm served the response for "node/1" (it's parent page). I can understand, this is the ...
1
vote
0answers
10 views

URL path settings not supporting more than one level

I'm trying to edit and create content on my inherited Drupal site and when I enter an address into the "URL Path Settings' URL Alias" field, it will not save the first part of the desired URL. For ...
1
vote
0answers
15 views

How To Show the Date in the Path - Events Module

Using the events module, the link is set up /event/2015/01/20/day I want to use the year and month to show up in a link. Here's my code. $date['year'] = $year; $date['month'] = $month; ...
1
vote
0answers
11 views

Linking to internal pages from the overlay

I have set up a dashboard to work as a main hub for all things related to my current site. I have quick links to internal pages on my site. I would like to know how I can link to those pages from the ...
1
vote
2answers
13 views

How to add custom path for taxonomy term page

I need to give custom path for one of my taxonomy term page which will be redirected to view page. Example:- I have view page called testimonial and in my taxonomy i have a term called user ...
0
votes
0answers
25 views

D7, V3: how to alter the state of a radiobutton in an exposed filter to “checked” based on the url path?

I have a site where i have several main topics, each containing subtopics. I've made views block which is shown on each of the pages of the main topics where you have two filter options: - filter on ...
1
vote
0answers
26 views

Remove default language from front page url

I have a drupal 7 site which was originally set up in English. The home page url would display www.mysite.com and other languages with /es /de /it after the url. After changing the default language ...
0
votes
1answer
11 views

how to overide prvatemsg url 'messages' to 'something'?

function _MY_MODULE_custom_submit($form, &$form_state) { $form_state['redirect'] = url('thank-you', array('absolute' => true)); }
0
votes
1answer
35 views

Rewriting paths in drupal 7

By default, pages on our site look like: http://www.example.com/items/item-1-name First, I need them to have ".html' on the end: http://www.example.com/items/item-1-name.html Second, I need any ...
0
votes
1answer
34 views

Install fails using MAMP – SQLSTATE[HY000] [2002]

I've been trying to set up a local installation of Drupal (I've tried both 7.35 and 8.0 beta9) using MAMP on Mac OS X 10.9.5, but evrytime I get to the "Set up database" part of installation process ...
0
votes
1answer
19 views

Views and empty parameter in Path to link

I know my title isn't explicit, but i will explain my problem. I created a view that displays me all documents(content) of my website, some documents are linked to a project(content) via entity ...
0
votes
0answers
19 views

What encoding does Drupal use for generating URLs

I wanted to decode the 81f4c5ed/5a05/4432/a542/6205dde00d46 bits of the URL into something which can be understood, like a date etc. The URL was generated through Drupal CMS. What kind does Drupal ...
0
votes
1answer
28 views

Get product URL or URL alias using product ID

I'm using Drupal Commerce and stock in this problem. I'm creating a custom module that will display a product title and some info. I want that product to be link to it's node page, and product ...
0
votes
2answers
19 views

How to change the local code Link?

Good Day, I really don't know if here is the right place to ask this kind of question... However, I am using the Aqcuia Dev Desktop where near to the local code label is written the following link: ( ...
0
votes
1answer
21 views

How to map url_alias table to node table?

I was trying to use some SQL to map the url_alias field to my node field on the url_alias.pid = node.nid field. However, it turns out that these are not apparently related, sometimes they are the same ...
1
vote
1answer
40 views

hook_menu create a URL/Menu Item

I'm trying to create a page through hook_menu so I can add my custom block with context instead. function my_module_menu() { $items['my_page'] = array( 'title' => 'my_page', ...
3
votes
1answer
32 views

Some of node links of content types are corrupted

There are about 5000 nodes in my website of different content types. After a while (updating the Drupal to 7.34 and configuring the Server by server administrator) some of node links are corrupted and ...
0
votes
0answers
18 views

PHP code for selection rules in Path Breadcrumbs not working

Whenever I have this field filled, no breadcrumbs appear. And it even doesn't matter whether it returns true or false: I wrote 'return TRUE' there & there's no breadcrumbs. Here's my export file: ...
0
votes
0answers
14 views

Path breadcrumbs based on several product fields

I am using the Path Breadcrumbs module to create breadcrumbs for products. The problem is that these products can belong to several different categories (which can be set via special fields on a ...
0
votes
0answers
38 views

Pathauto alias seen as duplicate when using non-english characters

How can I prevent rendering of duplicate aliases when using similar characters? For example, I have set my pattern to [node:title]. I am not using transliteration because I want to keep diacritics in ...
-3
votes
1answer
42 views

how to add url link below the image in a custom content

hi,how do i achieve adding URL Link below my custom content images?(i.e)under those four images i need the URL links
1
vote
1answer
30 views

Can Panels provide a panels context based on the URL string or URL query?

I need to know if Panels can provide a panels context based on the URL string or URL query. This context may then be used to set in the panel pane settings. Background info: I have panels that ...
2
votes
1answer
86 views

Replace node add/edit form with a custom form [closed]

I have this custom form I made in my module which is responsible for adding/editing a specific node type. I was not able to alter the built-in add/edit form to meet my requirements so I decided to ...
0
votes
0answers
26 views

get last element in URL(menu item) generated by hook_menu

I have created a URL/menu item via hook_menu, and in the proprocess_html I'd like to get my item (last element in the URL) (/test) without using arg(0). I can do it in PHP but I was wondering how it ...
0
votes
0answers
10 views

drupal_realpath in ajax php script not working

I have an AJAX script, which boostraps the drupal system to get access to the drupal functions. The I like to convert a file's internal uri (e.g. "private://test.jpg") to a local filename (e.g. ...
0
votes
1answer
28 views

The requested page "/http://.. could not be found. (puts slash in front of URL)

All of a sudden I cannot login because it says The requested page "/http://testsite.com/user/login" could not be found. It puts a slash before the URL I have no idea where that comes from.
0
votes
2answers
55 views

Pass custom query strings across website

I want to use some custom query strings for tracking purposes and for visibility rules. The goal is, to provide a link such as www.example.com#affiliateid=1 and the string is preserved through the ...
0
votes
1answer
14 views

how to send a file to a specific user?

I have a content type which has an entity reference pointing to users. I need to have a permission policy that says: only users who are defined in the content (as entity reference) can view it or ...
0
votes
3answers
47 views

How to make a page visible only to users with permission to use the administration theme?

I have created a basic page which I only want to be viewable by people who have access to the administration theme. I have given the page a path of admin/shipping-help but to my surprise the page is ...
0
votes
1answer
34 views

Get link for same page in different language

I want to display a link to the spanish version of a page in my template, but another module is removing the language option on my link function: l('Visit this page in Spanish', ...
0
votes
0answers
41 views

User login form redirect to base url

Quick version: The login form (at ?q=user/login) post it's information to www.domain.com when Drupal is at www.domain.com/sub/folder. Navigation URLs seem to work. More info: I'm in the process of ...
0
votes
1answer
30 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
1answer
28 views

How to give a path to a link with filter?

I am trying to give a path to a submenu with Filter(field) as my-view&field_subject=C but it shows error like 'path is either invalid or you do not have access to it.' when i give 'my-view' it ...
0
votes
0answers
38 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
28 views

Referencing Parent Entity with PathAuto

I've just started with Drupal and I'm trying to create the following URL structure with PathAuto and Entity Reference: Category A -> Category B -> Category C Resulting in ...
0
votes
1answer
33 views

View showing Teasers - getting path for full content in teaser template

I have created a simple view to list teasers of a particular content type. I'm then using a simple view template, modified to suit the layout needed. In the content type set-up there is not an option ...
0
votes
0answers
13 views

how to make one section of web have different url and not show original path

I have a url www.onesite.com which points to drupal/mysite/one and everything under that , and another url www.twosite.com which points to drupal/mysite/two and everything under that . How can I ...
0
votes
0answers
23 views

Using OEmbed to extract metadata from websites?

I'm using the OEmbed module and I have an OEmbed field in my "add content" form where I can paste a URL and OEmbed will embed any image from that website into my node. Since I'm assuming OEmbed just ...
1
vote
3answers
147 views

How to remove url alias when node is deleted

I am using Pathauto. When I deleted a piece of content, I was surprised to find that its url alias was still mapped to the now-nonexistent content (node/xxx). How can I have this alias and System ...
0
votes
1answer
26 views

Site re-directs to login page even after a successfull login

Presently I am using the Windows Server on which the drupal 7.34 is installed with the xampp server. The url for the site is localhost:8081/example When I enter the URL(localohost:8081/example) to ...
0
votes
1answer
33 views

Can I use www.example.com/node/123 as a canonical url?

We are sharing some of our content with partners and want to include a canonical reference to the pages on our drupal site. I like the idea of using www.example.com/node/$nid for the simplicity of ...
0
votes
0answers
46 views

REST Services Module - how to create custom URLs/paths

I have been playing with the Services module for a couple of days. According to general REST API best practices, the GET URL paths I should use are: /buildings /buildings/4 /buildings/4/rooms ...
0
votes
0answers
30 views

View / Url / Block Question

I have several articles at mydomainname.com/article-title-here. Each article is tagged with a combination of area1 or area2 or possibly even both. I have another page with a view that will collect ...
0
votes
1answer
20 views

Unable to load URL when drupal is installed on a server

My drupal URL was loading normally until when I deleted two modules in the Windows server.Now after deleting the modules from the server the site is not loading. I know that deleting a module does not ...
0
votes
0answers
13 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
2answers
41 views

Changed Domain — Now Getting 500 Server Error on Login [closed]

I've been developing my drupal site in a subdirectory of my main site (www.mysite.com/newsite). I finally bought a URL and set it up (newsite.social). And it appears to have worked, when I go to my ...
0
votes
1answer
25 views

An URL that is all parameters

I'm building a website related to videogames. There's a view that shows all videogames catalogued in the website, using taxonomy terms as arguments, that is: mysite.com/games/genre/platform The ...
1
vote
1answer
26 views

Multisite path issue

Our multisite is having issues. we have a subsite called /wikifix some of the URLs in this subsite are /wikifix/wiki/... now we have another subsite called /wiki. as soon as we make our symlink, the ...
3
votes
1answer
155 views

Replace Standard Node Path in Drupal 8

I am still new to all the Symfony semantics. What would be the easiest way to change node canonical urls to be /article/[node-title] instead of /node/[node-id]? Following this documentation I tried ...
-3
votes
1answer
31 views

Decrypt automatic created drupal url [closed]

In my project url encryption and decryption are compolsary,so help me How to decrypt drupal automatically created url (eg: "q=content/testpage")?