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
27 views

Is it possible to make path to /%?

My question: Is it possible to make path to /% ? I have path that goes categories/% and that works when I type categories/hats it returns me category hat with all product it's taged with. I would ...
1
vote
1answer
28 views

What is the best way to restrict website's direct access through node urls?

How can I prevent a node from being accessible on its own page, through node/xxx. But still be accessible through node description eg: /homepage. I tried using the Rabbit Hole module, which ...
-1
votes
0answers
16 views

pass array argument using drupal_goto [on hold]

i have a form with many checkbox type field and i want send value of selected checkbox as argument to submit function as array variable. but in submit function when i get var_dump only echo ...
0
votes
2answers
15 views

Custom URL on link to node

I've got a field (URL) which contains a custom external URL for each node. My goal is to set this custom url as link on the title which is displayed in a View. This is currently linked to a detail ...
0
votes
1answer
16 views

Create URL aliases for Entityform submissions

I have the Entityform module installed on a Drupal 7 portal and I've created a new entityform type (let's call it "Preview"). When I land on the list of "Preview" submissions, each submission View ...
1
vote
0answers
16 views

how do i configure 'rabbit hole' module? [on hold]

how do i configure the 'rabbit hole' module to show access denied page after enabling it? I am not seeing any further options after installation. A good tutorial would be of great help. Thanks!
0
votes
1answer
18 views

View that link to content in other languages

I have a multilingual site where some content types are translated, and others will remain English only. I'd like to have lists of English content on other language sites. I've created a view that ...
0
votes
1answer
32 views

Link to a sub url (user page) [on hold]

I'm a d7 interface admin. I'm using a module (Pay-per-node) That module adds a tab (a balance info) in every user page. For my account the url is /user/1/paypernode I want make an url so that every ...
1
vote
3answers
55 views

How to remove author name from blog post url?

When a user publishes a blog post the user's name is included as part of the blog link or url: www.example.com/blogs/author/post-name What I want is that: www.example.com/blogs/post-name ...
2
votes
1answer
25 views

How to configure URL paths using the pathauto module for multilingual sites?

I am working on multilingual drupal website.To generate content path(i.e url) I am using pathauto module. I have not configured this module. When I add content from basic page it sets ...
0
votes
1answer
29 views

Clean URL leads to duplicate URL after migration to another hosting

I have enabled clean URLs on the site after various article has been published on the site. But when I migrate from Bluehost VPS to Bluehost Share hosting, the clean URLs is not accessible again. And ...
0
votes
2answers
45 views

Is mixing capital and small letters in URL a good practice for Drupal? [closed]

I have a Drupal website and clean URL's turned on the Drupal installation. I am manually aliasing the URL's of the article's on the site. I mix both capital and small letters in the URL's for example: ...
0
votes
0answers
19 views

Context path on multiple subpath

So, I have a hook_menu creating a page like category/page. I allow two parameters on this URL. It looks like this : // Menu declaration $items['category/page'] = ... // Page argument 'page ...
0
votes
2answers
21 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
13 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
19 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
44 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
23 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
1answer
38 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
31 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
83 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
19 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
30 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
39 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
20 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
14 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
22 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
39 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
78 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
91 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
47 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
87 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
31 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
37 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
21 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
30 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
57 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
66 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
35 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 ...