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

learn more… | top users | synonyms (2)

1
vote
1answer
24 views

It does not work when installed as “subsite”

I tried to install Drupal 8.03 on a windows 7 64 bit server, with MySQL, Apache and PHP 7.03, using the default install procedure / script. Drupal is only one of the applications on the website and ...
-1
votes
0answers
17 views

URL and file location handling not OK on Windows [on hold]

I tried to install drupal 803 on a windows7 64 bit server, MySQL, apache and php 7.03 using the default install procedure / script. Drupal is only one of the applications on the website and that is ...
2
votes
1answer
27 views

How to keep URL parameters on subsequent pages after a form is submitted?

I'm sending a referral form out to my email database and I've got it set up so that their email addresses get passed through and appended to the form URL like this: ...
0
votes
0answers
11 views

Avoid recursive paths

On my site I've views and custom hook_menu. Also if I don't use page arguments (or contextual filters on views), the system returns pages also when I try to add element on path. Example: hook_menu ...
4
votes
3answers
85 views
+50

Is there an easy way to move non-English selected nodes into a language section?

I have a site in English but it also has a few nodes in Arabic, a few in Aramaic, a few in Hebrew, etc. Is there an easy comfortable UI way to move each group of nodes for a language section? To ...
0
votes
2answers
22 views

How to redirect URL of kind node/nid to its url alias

I want to replicate the effect seen in http://www.drupal.org/node/1 , where you are redirected to drupal.org/about. I have a fresh Drupal 7 installation, I create a node with a path, and don't get ...
0
votes
1answer
24 views

Static resource URL in Drupal 8 theme

I'm trying to place an image using a local resource in theme. Using the site url like drupal.localhost/themes/customtheme/images/image.png does give me access denied error. I understand that Drupal ...
0
votes
0answers
30 views

I want to use an argument from the path in a twig template (as a html class)

Having read about how D8's path system is different from D7, and having seen some 'simple' examples, I have tried setting a path variable in a preprocess functions and outputting that as a {{ ...
3
votes
2answers
63 views

Redirect page to existing field value

I am redirecting most of the pages of my old website to a new subdomain of the same domain, from http://www.domain.com/www-page_url to http://new.domain.com/new-page_url/with-different-slug. This new ...
0
votes
0answers
12 views

Outbound url query token is breaking AJAX callbacks

I am running into a strange situation that I don't really understand. I am appending a query token to all outbound url query strings using hook_url_outbound_alter(). function ...
0
votes
1answer
32 views

Print node URL in a custom block template

I have a custom block that loads multiple nodes from the database and passes it to the twig template. Inside the template I loop the list printing some node details, but I need to create a link on the ...
0
votes
0answers
23 views

Relative URLs with S3FS module

So I found this answer on here on how to get relative URLs on my Drupal 7 site (How do I modify Drupal so that ONLY relative URLs are used through the whole site?), but it doesn't seem to work nicely ...
0
votes
1answer
28 views

My theme CSS uses relative paths, but Advagg or another module seems to be rewriting them to absolute paths. Core aggregation uses relative paths

Our CSS authored in the theme uses relative paths for all references to assets But the CSS aggregated/processed by Advagg has absolute paths where the authored CSS uses relative paths I can't see ...
0
votes
0answers
10 views

How do I fix my module so an external library has no problem running require_once?

I'm writing a wrapper module for an external library. Now when I create a new instance of a class defined in the external library I get an error message: PHP Fatal error: require_once(): Failed ...
0
votes
1answer
23 views

How to make all menu links without www? (shortened menu links)

I've seen a few sites, not necissarily Drupal sites, in which the menu links, are without www. (that is the Cname DNS record). Drupal 7 shortens links from http://www.barackobama.com to be ...
0
votes
0answers
30 views

configure URL issue - module.info

In my modules info file, i set a url for the configure page. This is my info file. name = Raffle description = Enables an interface to manage and join Raffles configure = admin/config/people/raffle ...
0
votes
1answer
26 views

How to hide /node/ , /taxonomy/, /mymodule/, etc., from the URL path

I have the module Path auto installed. I would like that the user could not access the content by the URL http://www.myexample.com/node/7 and instead would have to follow the menu and other webpage ...
0
votes
0answers
7 views

How to generate URL based on the menu and not have the top parent menu link?

We have setup path-auto to use the following URL path pattern for article content type [node:menu-link:parents:join-path]/[node:title]. Currently the URL path using the above path patterns results in ...
1
vote
0answers
10 views

Get the path to current page which has an overlay [duplicate]

I have a page on which there is an overlay. I'm able to get the overlay's path using current_path(). How can I get the page's path on which the overlay is loaded. Any ideas ? Thanks
1
vote
1answer
34 views

Add a URL as filter criteria in Views

I have a page of content type insert which adds images to my website. It currently just displays images in rows when you click to view the album name pages. I have installed FlexSlider as I want to ...
0
votes
1answer
26 views

Rewrite query string for exposed taxonomy filter

I have this page: https://www.meubelentheo.be/catalogus On the top of this page, just below the title you will see links such as Babykamer, Bureau, Decoratie etc. These are taxonomy terms in an ...
0
votes
2answers
35 views

Views, Taxonomy, Tokens and URL

I am building a website for multiple summer resorts. I am now concentrating on the restaurants section. I have a content type - Restaurant. It has multiple fields but I will just put down the ones ...
2
votes
1answer
119 views

Get an image with style url from an URI in twig

So thanks to 4k4 I finally managed to get my original image URI in a field template via item.content['#item'].entity.uri.value and with {{ file_url(item.content['#item'].entity.uri.value) }} I ...
0
votes
1answer
17 views

How do I update the URL after changing the hosting of a website?

Our website recently changed hosts. After updating the named servers the home page shows but all links in the page take you to 404 error. The new host advises that the URL links need to be refreshed. ...
0
votes
2answers
30 views

create a custom node token

I want to create a new token form the selected item in the list box of currently submited node and set it as url alias of the node. unfortunately, I need keys of select box as token but default ...
1
vote
2answers
31 views

Generating URL to taxonomy term (tag)

I am trying to insert tag url and page title in breadcrumb path. With page title everything is Ok, however I can't find any info how to get tags, or how to generate url for them. I think I am getting ...
1
vote
1answer
26 views

Two URLs for the same content and SEO [closed]

in terms of SEO having 2 URLs for the same content hurts the SEO? For example, I have a piece of content with the URL example.com/this-is-my-friendly-url but I also want to create a short URL for the ...
1
vote
1answer
36 views

After “?” redirect, the url is cut, why?

I am using the Anonymous Redirect module to redirect example.com to example.com/login. But when I refer a link like example.com/525?some=node/227 and log in, the url will be cut to example.com/525 I ...
0
votes
1answer
23 views

multi url allies for same node

I have set my auto URL allies to something like this "store/[node:nid]/[node:title]" having node title in url will make it more human readable and better SEO. the issue is I want to be able to access ...
0
votes
0answers
45 views

Change the page to which users are redirected after saving a comment

I am using Drupal 8.0.0, and I created a tab page for my custom node type (equipped with a field comment) to display just comments, so that comments are not displayed on the node (e.g. node/1) but on ...
3
votes
1answer
40 views

How do I change the default front page?

How do I change the URL present under Home » Administration » Configuration » System in my Drupal site? I want to get rid of the stuff circled in red, but it only seems that I can add different pages ...
4
votes
1answer
93 views

Is there a way to use $front_page in node.tpl?

I'm aware that $front_page is a variable used in page.tpl, but is there a way to use it (or something similar other than a direct link) to print the index url in a node.tpl?
1
vote
1answer
41 views

Change edit link URL in the content administration page

I been trying to recreate something in the admin section of Drupal from a previous. In the content, when you roll over the "edit" link. It shows the link like this: ...
0
votes
2answers
44 views

How to add the image url in the head tag

Do youknow how to add the image url to the head tag? This is what I've tried so far Example <head> <meta property="og:image" content=" {{ ...
0
votes
0answers
19 views

How to find backdoor that is adding code in my /includes/theme.inc file? [duplicate]

I got a "site may be hacked" warning from Google in one of my Drupal sites and while working to resolve this, I noticed that a hacker gained access to the /includes/theme.inc folder and added codes ...
0
votes
1answer
16 views

direct acces image url

I searched but cannot find an answer to my question. I'm using Drupal 7 and created content with image. The path of the content is http://example.com/page/content My problem: I want to share the URL ...
0
votes
0answers
93 views

How to make Drupal 8 use only relative URLs?

I'm trying to get my site to use only relative URLs, like in the question drupal.stackexchange.com/questions/105932 But I've changed the code for Drupal 8 to this by getting rid of the deprecated ...
0
votes
1answer
39 views

Url params not working -> access denied

I'm new to Drupal 8. I tried to do some batch process (for example installing modules or importing language files). I got access denied for example on this address : ...
0
votes
1answer
22 views

Drupal sitemap still contains urls of deleted pages

I've deleted some products from my commerce kickstart database by means of standard Drupal commerce kickstart tools. But it looks like something gone wrong. Because some deleted pages urls still ...
0
votes
1answer
33 views

How to add destination parameter in hook url_inbound_alter

Hi I have used hook_url_inbound_alter to alter the URL. When I access user/%/order anonymously it should redirect ti user/login. I have used below code function module_url_inbound_alter(&$path, ...
0
votes
0answers
12 views

Taxonomy term View: How to NAVIGATE the pages with “Exposed filter”?

My problem is this: I am trying to add EXPOSED FILTERS in the DEFAULT TAXONOMY VIEW. I just clicked on ADD in FILTER CRITERIA. I added a couple of exposed filters . Apparently they work. So I can ...
0
votes
0answers
29 views

Can I use menu path with argument wildcard in Views?

I have Views profile list displayed as page. View path is 'mymod/%mymod_param/foo'. According to docs I can set wildcard value by a function (hook_menu) Function to set url param: function ...
0
votes
1answer
19 views

URL-Alias redirect

A few days ago I made a mistake and I lost all my rankings during the weekend.(Google Sandboxed - duplicate pages ) Google indexed my website with eg."node/123" instead with the "URL-Alias". I changed ...
0
votes
2answers
32 views

How to change base URL?

I want to change my domain name from: reallylongandnotuserfriendly.example.com to: you.example.com Is there a module, or a setting that could expose such a change to the public, without actually ...
1
vote
2answers
45 views

How to automate the replacement of special characters in URLs?

The standard behavior (*) for friendly URLs in Drupal is replacing special characters by a hyphen in the friendly URL. For instance, without any input from the user, versão becomes vers-o and ...
2
votes
1answer
60 views

How to redirect all URLs of all terms in a specific vocabulary to custom URLs

I am a newbie to Drupal and having hard time to understand how to redirect all URLs for all terms in a specific vocabulary to custom URLs. I have tried to use Entity Path, but it did not work for me. ...
0
votes
1answer
44 views

Using Drupal::url()

I am porting code from Drupal 7 to Drupal 8. In Drupal 7, my code looks like the following: return url($parts[0] . '/' . $parts[1] . '/profile/id/' . $context['profile']->uuid . '/cancel'); I ...
1
vote
0answers
8 views

Drupal taxonomy module — too limited in the identification of Tid based on URL?

I have installed Path Breadcrumb module. It works well for simple settings, but when I try to make something more complex, I am at a lost. I have configured a path of this kind: node/125/%brand/%model ...
0
votes
0answers
26 views

Node Migrations with programmatic url aliases

Can anyone advice me on how to programmatically create multiple url aliases for each row of a migration? I am using the Migrate module to migrate page content into Drupal from an XML document. The ...
0
votes
1answer
37 views

my urls are not replacing spaces with hyphens

I have url aliasing and clean urls. They are making the content have good urls, but for some reason it's not always rendering with hyphens. It leaves the spaces and breaks pages.