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
2answers
18 views

Drupal 7. Replacing core links with their aliases in theme templates

I want to check all templates before rendering and replace links node/1 node/3 ect to their aliases For example, i have main landing page template page--front.tpl.php and there are some links in ...
0
votes
0answers
12 views

How to implement a module with translated paths

I already read about it and it's possible approaches like: How do I insert a localized menu item? hook_menu gets only triggered after cache clearing, so I can't do: switch($language->language){ ...
0
votes
1answer
16 views

How to hide path location in drupal 7

Hi how to hide path file in drupal now it looks like this: http://localhost/drupal/sites/default/files/document.pdf i what to change to look something like this: ...
1
vote
0answers
11 views

Drupal 7 View context filters with the URL (when used in a panel)

I am currently trying to get my view to display in a panel under certain contexts. Specifically, I want the view to take the end of my URL and use that as a key to find the taxonomy term that ...
0
votes
1answer
23 views

override the default url of a page

I want to override the default URL of taxonomy pages so that, if I have pizza as child of food the URL become like this: taxonomy/term/food taxonomy/term/food/pizza or taxonomy/term/drinking ...
0
votes
1answer
27 views

How to get taxonomy by URL alias?

I have a grade vocabulary with a 6. Class taxonomy term. The taxonomy page have an URL like www.example.com/foo/6-class/bar and I can't find the taxonomy with the following code. $grade = arg(2); ...
0
votes
1answer
9 views

How to customise article URL alias in Drupal 6?

In Drupal 6 there is a possibility to customize URL alias by the help of [AUTOMATED ALIAS SETTINGS], but this will affect all the articles. I need to restructure my URL alias only for few paid ...
0
votes
0answers
14 views

Decoding cyrillic %get[] parameter in Ajax form

I have a request form in a popup window. It's located on a page of single product and must send product's name. This name's delivered using a hidden input field (Drupal Webform), which takes its value ...
0
votes
0answers
16 views

Query URL containing term name instead of term ID on Views Exposed Filters

I've got a View with an Exposed Filter that shows Taxonomy Terms that are used to filter the content that's going to be displayed as the result. It's a View that shows recipes based on the filters ...
0
votes
1answer
20 views

How to auto redirect link with node/id to /name?

I'm using Pathauto to generates all node url. There are many pages and blocks containing links with "node/id" instead of the "urlpath". When user click one of those link, it actually direct to the ...
0
votes
1answer
76 views

drupal_lookup_path() for D8?

drupal_lookup_path() have been remove in Drupal 8. However, I cannot find a way to achieve the same functionality on D8. All, I'm trying to do is to provide a Drupal with a path and he is going to ...
0
votes
0answers
13 views

Show Hyphen only if Token exists

I use URL Alias an have set to construct the URL based on 2 tokens: [node:token1]-[node:token2].html Those two tokens are connected with a hyphen "-". Sometimes the second token (token2) is not ...
0
votes
1answer
17 views

how to filter nodes that match url of current node or particular field of current node

For my contenttype 'cars' i use a panel node-view. Each 'car' node has fields 'categorie' and 'type' Each 'car' node has url 'categorie/type/model' e.g. 'car/toyota/yaris' In my 'car' panel ...
0
votes
3answers
30 views

Google/search engine links to Drupal site broken, why is domain missing a slash?

I noticed that links to my site from search engines don't work. Google links me to https://www.site.comcontent/page-title-1. I am using Pathauto and Clean URLs. The slash is missing at the end of the ...
1
vote
1answer
29 views

Redirecting doesn't work with a custom form in a block

I developed a custom form with FAPI and added a block for it. Block is included only on one specific page (basic node). When user submits this form it should redirect user to external site (URL is a ...
0
votes
0answers
33 views

URL alias not working for costume content type page.tpl file

I a created a template file (page--cusomtype.tpl.php) for a specific content type and a node of that content type. Also I'm using Path module for create alias. When I view the node with ...
0
votes
1answer
17 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
13 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
21 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
21 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
35 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
72 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
80 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
35 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
32 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
80 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
23 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
36 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
20 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
35 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
31 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
24 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
48 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
51 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
2answers
29 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
20 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
14 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
26 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
38 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
43 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
16 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
51 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
83 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
70 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
25 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
38 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 ...