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

learn more… | top users | synonyms (2)

0
votes
1answer
13 views

Getting URL alias of a term

I am writing a module, and am confused about the term's URLs. because, if pathauto moduel is installed, then the alias of that module should be provided. How to achieve this? Default drupal's URL: ...
0
votes
0answers
9 views

swap out rendered media item on same page with new url

Using Media and a few Media: [Service] modules to provide a website where the point is to provide all mirrors to a video under one page So the way I have this set up currently, is that each Video ...
0
votes
0answers
16 views

While making custom URL, Meta tags is not displaying custom URL?

I'm using drupal 7 and using meta-tag module, while inserting the custom url I'm not able to get the custom url display in the source code. If i insert in meta-tag page title: user [node:title] | ...
0
votes
0answers
18 views

How to run auto feed with a auto link for every created node?

I'm stuck on changing the url of a feeds what i want to do is after a person creates a content that feeds runs his feeds to the target url depending on the value he filled in. example: person fills ...
1
vote
1answer
30 views

Change URL to meaningful name when I use hyperlink target

Scenario: <a href="#block-block-1">Book</a> When I click book, it will scroll down to the block and url will be www.example.com/#block-block-1. Is there anyway to change url to ...
3
votes
2answers
59 views

7.26 /admin, /user not found on Localhost

I am new to Drupal. I developed a site on a server and now migrating it on my personal computer (Windows 8.1). The site is working fine as it should. My problem on localhost is that when I log in to ...
0
votes
1answer
62 views

Remove underscore from url with dash [closed]

I have many URL with Underscore in my drupal site Current URL: http://www.demosite.com/our_goal.php New URL: http://www.demosite.com/our-goal.php I tried this but seems not working for me.below ...
0
votes
1answer
25 views

How to prevent 'page not found' for URLs containing non-latin characters?

There is a site that uses non-latin characters in URLs: http://example.com/drupal/новости And there are browsers that, if you copy this URL, change it to: ...
0
votes
1answer
31 views

How to use url() correctly?

I'm trying to generate a custom token to a prepopulated URL. My code looks like this: $replacements[$original] = url('user/login', array( 'query' => array('edit[name]', ...
0
votes
0answers
14 views

Change Drupal app path on ukwindowshostasp.net [duplicate]

I've developed a Drupal 7 based website that is being hosted on http://ukwindowshostasp.net/. When I installed Drupal, I specified the path as "www.websiteName.com/drupal" as there is already a live ...
1
vote
3answers
69 views

Where is the base domain stored in database D7

Is there an equivalent row to the Wordpress "Home" and "Site"? In otherwords, where can I look in the database to figure out what the domain the site is on? I'm using mysql
0
votes
2answers
17 views

Content type term reference field selected or populated from URL parameter

I need to be able to click on a link, that goes to node/add/example. and populate a term reference field with a URL parameter. I thought i could be able to do this through the default value, but i ...
1
vote
3answers
32 views

drupal 7 SSL a lot of insecure urls [closed]

My site is now using a SSL certificate but i have about 300k pages with insecure urls (http) - What is the best and most efficient way of fixing this problem? The problem is the dynamic content is ...
0
votes
0answers
15 views

Sub Menus are not getting Added

We are using taxonomy menu module to create main menus. Sub menus we are creating from Main Menu -> Add Link. The Problem is that sub menus are not getting added and it shows below response. Also ...
0
votes
4answers
34 views

Is there a way to determine what is powering the content behind a URL?

I have a relative URL in a large site that I inherited: /my-url. For the life of me I can't find the View, Module, or other content that shows how to edit this URL. I've grepped the code base, and ...
0
votes
2answers
30 views

Is there a way to disallow the node/* path for anonymous users? [duplicate]

The reason of my question is that I have built a one-page website, but if people who knows a bit of drupal patterns wants to try to request the site by editing the url with a path like ...
0
votes
2answers
22 views

Possible to hide admin toolbar for testing display

I've worked on and off with Drupal for a few years. One thing that has bothered me a bit, is that the admin toolbar at the top doesn't give you the full flavour of what the public will see. I ...
0
votes
2answers
38 views

How to print image url in foreach

I successfully print the image url for a individual images by the following: $file = file_load($node->field_hp_slideshow_image['und'][0]['fid']); print ...
0
votes
0answers
10 views

Secure connections link working in view but not in full content display

We have a site containing a custom content type "video record" which contains, among many other fields, a link to a video on a hosting service. (brightcove.com) The links are set up to display in a ...
3
votes
1answer
28 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
11 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
16 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
12 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
18 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
32 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
36 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
15 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
43 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
53 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
20 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
21 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
51 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
20 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
28 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
45 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
34 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
26 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
15 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
39 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 ...
-2
votes
1answer
53 views

How to add an URL link below the image in a custom content?

Actual: Working content: My question: 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
53 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
100 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
28 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
16 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
30 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
62 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
16 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
49 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
43 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
46 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 ...