Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
18 views

URLs getting duplicated for the same node

Yesterday, I found a strange behavior with my drupal site. I noticed all the nodes are getting duplicated like this: Original node's url will be www.livesite.org/?q=node/2 And when I append ...
0
votes
1answer
15 views

Alias URL not changing when switching language in a View

I have a content node in 2 languages. When I use the language switcher while displaying the English content: www.example.com/en/content/Article-on-relativity it displays correctly the translated ...
0
votes
1answer
19 views

How to get group id from custom url

I have some more custom url with og group id like www.example.com/students/6593 www.example.com/results/6953 www.example.com/book-listing/5367/6953 here 6953 is a group id. these are the sample ...
0
votes
3answers
27 views

Domain/theme name suddenly appearing in all links

I noticed that all my in-site links now have my domain/theme name inserted after the domain. For example: www.mydomain.com/mydomain/calendar www.mydomain/com/mydomain/events It used to be: ...
1
vote
1answer
27 views

Duplicate home / front page - available on two urls

I have the Views module installed on my site, and have created a Views page and set it as the home page. The url is /front. The home page works via the web root (it's set in 'Default front page' of ...
0
votes
0answers
15 views

How to deal with Canonical URLs for better SEO

The default language of my site is Arabic. So all the generated URL are accessible in two ways. www.mysite.com/node-title www.mysite.com/ar/node-title A SEO report shows that these are Canonical ...
0
votes
1answer
30 views

Drupal 7, passing URL arguments page not found

Good evening. Please help me. I built my website on my home pc using Wamp as webserver. On one page I pass arguments to backend.php via URL. Like this echo "<a ...
0
votes
1answer
19 views

Drupal Lookup Path Change

I am displaying demonstration sites with iFrames and in page--demo.tpl.php I have a possibility to get NID only from path. So I managed demo's number will be the same as NID and now I have a code: ...
0
votes
1answer
11 views

Links in sidebar to link to search results

I have a view in sidebar showing a taxonomy Category. There is a view on /search-page that displays search using Search API view and exposed filters. I want the sidebar Categories to link to the ...
0
votes
2answers
37 views

HTML Form that Passes Information to Hidden Fields Through URL

I am trying to build an html form that is stretched across several pages. My intention is to use the GET method to send all of the fields data in the query string (URL parameters) and then store this ...
0
votes
2answers
37 views

Block restriction

I have content with URLs in the following pattern: http://example.com/subdirectory/working-site/major-event-2/event/4580/speakers There is a Views generated Block which I am trying to restrict ...
7
votes
4answers
245 views

Content was not found on this server

Sometimes when I add or delete a new content (e.g. Article) on a freshly installed Drupal 7 website, I got this error message. The requested URL /myweb/admin/content was not found on this server. ...
1
vote
1answer
50 views

Pathauto is prepending <front> to the urls

In my pattern for pathauto I'm using [nodesymlink:menu-link:parent:url:path]/[nodesymlink:menu-link:title] and for menu items that are children of the front page it is prepending <front> to the ...
0
votes
0answers
15 views

Referenced content not displayed on page with Adwords-queryparameter

I have landing pages containing a panel as the main page content and url, blocks and a banner/slider and portfolio items. The banner (A View using flexslider) and portfolio items (standard content ...
0
votes
1answer
20 views

Page with Arguments

I have a basic page named as news. Now i have created a two blocks from view in page news Block 1 is block of taxonomy Block 2 is having Contextual Filter with term id I have assigned these ...
0
votes
1answer
24 views

How to change www.example.co.uk/admin to www.example.co.uk

I am working on this project and the homepage url has /admin infront of it. Is it possible to remove this? I think this is causing the problem (see the image), but I am unsure how to solve it. I have ...
1
vote
1answer
39 views

how to over-ride 'reserved' URL paths for use by site visitors, e.g. /update?

I'd like to use what I would call reserved admin URLs for use by visitors, for example, the /update path (which currently directs to update.php). I envisage using hook_menu to over-ride URLs to this ...
-1
votes
1answer
15 views

How to restrict access to page by URL depending on which page you came from

I have page which implements by hook_menu and i want to permit access for this page if user come from certain form but not from just url string. How can i solve it? Thanks.
0
votes
0answers
15 views

OG pathauto patterns stopped working

My website is very Organic-Groups heavy. Node content in any organic group must have a URL patterned in the www.sitename/group/node-title format. There are very few nodes on the site that are not in ...
1
vote
0answers
19 views

hook_form_alter node menu and path settings

I have 2 problems which I have been trying to solve using hook_form_alter. I need to have the Provide a menu link, Indicated in the image below, checkbox selected by default on particular nodes. I ...
0
votes
1answer
13 views

domain-name.com/user and other URLS not loading

When I go to my domain.com/user I get a blank page, where as usually that was the URL I go to to log in and change content. I came across this thing: https://www.drupal.org/node/256410, but I do not ...
1
vote
2answers
91 views

Check if path exist

I want add export link in some place if current path plus '/export' exists. But can't understand how check such urls. The problem is when path exists with less number of arguments drupal_valid_path() ...
0
votes
2answers
23 views

Check for string in URL

How can I check for a specific directory in my URL? I need to display an image if I'm in http://www.mywebsite.com/displayimg/mypage but not if I'm in http://www.mywebsite.com/mypage... would it be ...
0
votes
0answers
28 views

Item list added by “Page_alter” disappear

I added a list item by HOOK_form and HOOK_page_alter. After cache cleaning, the list appeared and it did the job but when i changed page, this list disappeared for no reason. She never returned on any ...
0
votes
1answer
16 views

Redirecting %20 Based URL to Non %20 based URL

I have a URL suppose http:www.domain.com/somepath%20%20 When i open the above URL, it exist with both URLs http:www.domain.com/somepath and http:www.domain.com/somepath%20%20 I would like to know ...
0
votes
1answer
33 views

How do I alter the file link of an uploaded image in edit/create node form?

When I upload an image in drupal, a file icon and a file name that links it to original file is created. For example, I upload "foo.jpg" then <a href=path-to-file>foo.jpg</a> is ...
0
votes
2answers
21 views

Is it possible for the Contact page to have 2 URL aliases? or clone it?

My client is wants the Contact page to be available in more than one place in the menu system. Problem is this would interfere with how sidebar menus load. so ideally it would be nice to have 2 URL ...
1
vote
0answers
17 views

URL issue concerning user contact form

I have my URL patterns in place and also added Sub-pathauto to achieve the following url structure: instead of "user/25/contact" I would like to have "nutzer/firstname-lastname/kontakt". The first ...
0
votes
0answers
26 views

Only admin can subscribe, add to cart

Helllllloooo guys my website is having weird problem as only admin can subscribe in webform news letter subscription , click to add cart in ubercart, but it's not possible for normal anonymous users ...
0
votes
1answer
72 views

explicit “switch to mobile theme” link with Theme Key

I'm using Theme Key https://www.drupal.org/project/themekey to switch automatically between themes dependent on browser and/or OS id. Now I would like to allow the user to explicitly switch to or ...
0
votes
1answer
33 views

How to get the URL of the entity reference node?

I'm building a site of course video,one course includes many video clips. I have created 2 content types, one is for the Course ,and the other is for the Video. In the course content type, I set a ...
0
votes
1answer
42 views

Taxonomy term URL to eternity

What are you doing with URL's for Taxonomy terms, which tend to go in eternity, i.e. /zen/taxonomy/term/4/615 which is identical with all term/1 term/2 term/n etc.... They all show the same page?! ...
0
votes
0answers
8 views

Jump menu - how to use transliteration in URL?

When I create Jump menu with Views, I can set that taxonomy term name will be in URL path (as argument). How can I set, that term names will be in URL without spaces and diacritics? IS it possible ...
1
vote
3answers
148 views

Replace URL query string with slash for a cleaner URL

I have created a new content type with a body and multiple fields. I use the following query string ?article=referral-partners to change the content of the node's body according to the value of ...
1
vote
0answers
56 views

How is the base_url automatically set?

We have a Drupal 7 setup where the same URL was used for both viewing content and logging in, in the usual way. Now, the original URL is used for viewing content, but you can't log in if you're ...
0
votes
1answer
70 views

Schema.org itemprop=“url” inside anchor object (link)

I'm trying to use the preprocess function to change the default outpot of links <a href> to include Schema.org's itemprop="url" inside the anchor object, as well as adding a <span ...
0
votes
0answers
4 views

Same content of a “specific book child” be available in other childs of that book at end of they url

Im creating a wiki with Drupal. One of things i want is: "Same content of a 'specific book child' be available in other childs of that book at end of they url". For example: We have a book for "PHP", ...
0
votes
0answers
13 views

Links w/ drupal, why is it embedded like this?

http://i.gyazo.com/8d731c8e3154a9d70a56cac28581693e.png I am wondering why the link is embedded and blue. I cannot replicate this effect or remove it. If I click on the link it takes me to the ...
-1
votes
1answer
42 views

Possible to change the url path?

Wonder how to make http://example.com instead of http://example.com/drupal? I wanted everything intact without changes. Searched for answer on google but there seems not to be one.
0
votes
2answers
18 views

Drupal rendered page for directory root, followed by static pages?

I have a directory that I want to load through the Drupal system, which of course is fine with clean URLS: /my-dynamic-page/ However at this directory I then want to serve static pages ...
0
votes
0answers
22 views

Same content of a 'specific book child' be available in other childs of that book at end of they url

Im creating a wiki with Drupal. One of things i want is: "Same content of a 'specific book child' be available in other childs of that book at end of they url". For example: We have a book for "PHP", ...
0
votes
1answer
170 views

How to parse current page URL query parameters to create link using l() function

I have a view in D7 with a few exposed filters. This view generates a URL/page like this: example.com/node?location=XXX&check-in=XXX&check-out=XXX&lang=XXX. I am looking to build a link ...
0
votes
1answer
16 views

Exclude certain taxonomies from url reachbility

I have the following structure example.com/taxonomy/term/334 and there are several terms that I don't want to be reachable by domain. I use the autopath module, so for example it could be I want ...
0
votes
1answer
32 views

url alias not working when logged in as admin

When I'm logged in as admin, the urls are un-aliased ("node/24"). When logged out they appear aliased ("about/us"). It might have something to do with the module admin_menu as suggested in a post over ...
0
votes
3answers
80 views

What is drupal login form url?

I am going to log in to a drupal website but the website does not have log in form. how can I find its log in form url?
0
votes
0answers
17 views

Automatically Generate Nodes Missing in URL String when Using Pathauto

When using Pathauto, there are auto generated missing URL paths that most users and Google would expect to follow. This is hard to keep up with when there are a large number of URL paths that could be ...
2
votes
2answers
65 views

how to change the url based on region and language selection in drupal 7

I have five different regions and five different language. When loading my site url like domainname/regionname/langname .When user change the language or region url will be change selected region ...
0
votes
1answer
34 views

views generated pager url

How can I get the url generated by the pager in views. drupal/project11?page=1 drupal/project11?page=2 I would like to add a link on my image to the 2nd page on my first image, to the 3th page on my ...
2
votes
1answer
40 views

Views - using “admin/” in path gets me to the home page

I'm having an issue with the Views module. Let me say in advance that the site urls have been customized with the module "rename admin path" and the path to the administration section is ...
0
votes
1answer
33 views

How to trim a rendered item before and after specific symbols

I've created a field where I store the URL to an image. I need to display the filename of the image without the part before the slash and without the file extension. ...