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

/node - inserted in all url's [on hold]

About a month ago, a rather strange problem with my Drupal installation started occurring at random times. A brief decription of the problem: All url's is rewritten/redirectet, "node/" is inserted ...
1
vote
3answers
87 views

How to programmatically set node alias on node save

I need to set a special path alias for nodes created by users in the template.php file of my theme. the pathauto module is enabled. I already tried the solutions that are given in the following links ...
1
vote
1answer
30 views

Why is file_create_url() returning inconsistent values?

I'm experiencing an inconsistent behaviour in Drupal 7 on the function file_create_url(). I have one field collection with 4 fields in it. On the first field the function provides the correct file ...
0
votes
1answer
37 views

Pathauto pattern page is empty

I have installed Pathauto module in my drupal 7 site. But pattern page in pathauto showing empty page with save configuration button. I am using bootstrap theme. I have changed my PHP memory limit to ...
1
vote
1answer
31 views

How to build a url to an (AJAX driven) exposed filter?

There are quite some threads about it, but none seems to do the job for me. I'm using a better exposed filter on a view, and I'm trying to build a link that would expose the results by a query in the ...
2
votes
1answer
35 views

How to check if a url exists on my own website

I need to check if a url exists in a module that I am creating. How should I go about doing this? I tried to use a @get_headers() function with php, but sadly that doesn't work. I am wondering if ...
0
votes
1answer
22 views

Pathauto alias programmatically?

my custom module enables my custom token that allows me to create user paths from one of 3 fields: user:name, or if exists first name + last name, or if exists pageurl field. this token really gives ...
2
votes
3answers
72 views

Display block on only the listed pages using wildcard excluding subpages.

I have a block I'm displaying using block setting's "Only the listed pages." I'm using a wild card asterisk to show the block on any pages following about-us/ For example: about-us/* The problem is ...
1
vote
0answers
23 views

best SEO URL aliases settings for multilingual site, D7 [closed]

I managed to have a nice URL for each node in a Multilanguage site (no more node/123 path if node is uploaded in NOT-default language which is English) according to this answer, now "I have a ...
1
vote
2answers
43 views

Remove number and reference list from mime mail plaintext emails

Mime mail converts urls from "www.google.com" to "www.google.com [1]" in the plaintext version of email, and adds a reference list to bottom, "[1] www.google.com ". How do i remove this number and the ...
0
votes
0answers
24 views

View with same URL as node using Pathauto

I have a view with the URL of /characters and nodes with URL's in the form of /characters/12/title-of-character. When I visit the main view URL everything works, and all nodes are listed. When I visit ...
1
vote
0answers
15 views

non-existant URL containing a valid parent path returns 200, not 404

For example, if you add extra parameters to node urls (node/[nid]/extra/s if you go to https://www.drupal.org/node/2536034/test/any/thing/in/here/should/404 it renders the page beacuse the node exists ...
0
votes
1answer
34 views

How to redirect my content type form after submitting in module

How to redirect my content type form after submitting in module. Code: function message_proposal_form_alter( & $form, & $form_state, $form_id) { if ($form['#id'] == "article-node-form") { ...
0
votes
0answers
25 views

Serve 404 page on view with contextual filter?

We use facet filters to create collections of content. The facet filters create url arguments that look like this www.example.com/l/language or www.example.com/l/language/g/gender For SEO reasons we ...
0
votes
0answers
9 views

Clean URL that result to duplicate content

I have a drupal site running, i enable clean URL and it was working fine but at a point i have to migrate to the site to another server where i did to not border to enable the clean URL since have ...
0
votes
2answers
29 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 ...
2
votes
1answer
34 views

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

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 ...
0
votes
2answers
22 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
20 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
18 views

how do i configure 'rabbit hole' module? [closed]

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
19 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 ...
1
vote
3answers
70 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
33 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
38 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
46 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
24 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
23 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
12 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
24 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
63 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
10 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
25 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
53 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
52 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
85 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
24 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
32 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
32 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
40 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
26 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
15 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
43 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
90 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
111 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
53 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: ...