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

get last element in URL(menu item) generated by hook_menu

I have created a URL/menu item via hook_menu, and in the proprocess_html I'd like to get my item (last element in the URL) (/test) without using arg(0). I can do it in PHP but I was wondering how it ...
0
votes
1answer
19 views

The requested page "/http://.. could not be found. (puts slash in front of URL)

All of a sudden I cannot login because it says The requested page "/http://testsite.com/user/login" could not be found. It puts a slash before the URL I have no idea where that comes from.
0
votes
2answers
46 views

Pass custom query strings across website

I want to use some custom query strings for tracking purposes and for visibility rules. The goal is, to provide a link such as www.example.com#affiliateid=1 and the string is preserved through the ...
0
votes
1answer
14 views

how to send a file to a specific user?

I have a content type which has an entity reference pointing to users. I need to have a permission policy that says: only users who are defined in the content (as entity reference) can view it or ...
0
votes
1answer
17 views

Get link for same page in different language

I want to display a link to the spanish version of a page in my template, but another module is removing the language option on my link function: l('Visit this page in Spanish', ...
0
votes
0answers
32 views

User login form redirect to base url

Quick version: The login form (at ?q=user/login) post it's information to www.domain.com when Drupal is at www.domain.com/sub/folder. Navigation URLs seem to work. More info: I'm in the process of ...
0
votes
0answers
19 views

Add Javascript by URL Alias

I've been using this code from drupal.org to add javascript to a page node. function example_preprocess_html(&$variables){ if(arg(0) == 'node' && arg(1) == 585) { ...
0
votes
0answers
8 views

Referencing Parent Entity with PathAuto

I've just started with Drupal and I'm trying to create the following URL structure with PathAuto and Entity Reference: Category A -> Category B -> Category C Resulting in ...
0
votes
0answers
12 views

how to make one section of web have different url and not show original path

I have a url www.onesite.com which points to drupal/mysite/one and everything under that , and another url www.twosite.com which points to drupal/mysite/two and everything under that . How can I ...
0
votes
0answers
16 views

Using OEmbed to extract metadata from websites?

I'm using the OEmbed module and I have an OEmbed field in my "add content" form where I can paste a URL and OEmbed will embed any image from that website into my node. Since I'm assuming OEmbed just ...
0
votes
3answers
55 views

How to remove url alias when node is deleted

I am using Pathauto. When I deleted a piece of content, I was surprised to find that its url alias was still mapped to the now-nonexistent content (node/xxx). How can I have this alias and System ...
0
votes
1answer
20 views

Site re-directs to login page even after a successfull login

Presently I am using the Windows Server on which the drupal 7.34 is installed with the xampp server. The url for the site is localhost:8081/example When I enter the URL(localohost:8081/example) to ...
0
votes
1answer
21 views

Can I use www.example.com/node/123 as a canonical url?

We are sharing some of our content with partners and want to include a canonical reference to the pages on our drupal site. I like the idea of using www.example.com/node/$nid for the simplicity of ...
0
votes
0answers
23 views

REST Services Module - how to create custom URLs/paths

I have been playing with the Services module for a couple of days. According to general REST API best practices, the GET URL paths I should use are: /buildings /buildings/4 /buildings/4/rooms ...
0
votes
0answers
30 views

View / Url / Block Question

I have several articles at mydomainname.com/article-title-here. Each article is tagged with a combination of area1 or area2 or possibly even both. I have another page with a view that will collect ...
0
votes
1answer
19 views

Unable to load URL when drupal is installed on a server

My drupal URL was loading normally until when I deleted two modules in the Windows server.Now after deleting the modules from the server the site is not loading. I know that deleting a module does not ...
0
votes
2answers
33 views

Changed Domain — Now Getting 500 Server Error on Login [closed]

I've been developing my drupal site in a subdirectory of my main site (www.mysite.com/newsite). I finally bought a URL and set it up (newsite.social). And it appears to have worked, when I go to my ...
0
votes
1answer
18 views

An URL that is all parameters

I'm building a website related to videogames. There's a view that shows all videogames catalogued in the website, using taxonomy terms as arguments, that is: mysite.com/games/genre/platform The ...
0
votes
1answer
30 views

Page not found when there are clean extra parameters in URL alias-

I have a working site which has PathAuto with SubPath setting properly configured. When I try to access the site from localhost in XAMPP, it gives 404 not found at several pages where the clean URL ...
1
vote
1answer
22 views

Multisite path issue

Our multisite is having issues. we have a subsite called /wikifix some of the URLs in this subsite are /wikifix/wiki/... now we have another subsite called /wiki. as soon as we make our symlink, the ...
-3
votes
1answer
29 views

Decrypt automatic created drupal url [closed]

In my project url encryption and decryption are compolsary,so help me How to decrypt drupal automatically created url (eg: "q=content/testpage")?
0
votes
3answers
23 views

New Base URL is not working

I have a site "damo1.com" now I want to use my drupal site in "damo.com", so I just change $base_url in sites/default/settings.php. And I still can see my homepage very good, but I cannot check the ...
0
votes
0answers
20 views

How do you create a local menu like in Drupal 7 panels?

How would you go about creating a local menu in a page structure like panels enable you to in drupal 7? A menu that is only shown on certain URL's?
0
votes
0answers
33 views

URL Redirect Issue

I am using Drupal 7. When you type the website url: www.exampleCountry.com, it gets redirected to www.example.com. Now, I need to change the www.example.com to www.example.com/country/countryName/. ...
0
votes
1answer
18 views

menu callback path construction

It seems there is hardly any documentation on page call backs using URLS This being the case I have 2 questions: What is a legal callback path? and what becomes the URL to access that path? Here is ...
0
votes
0answers
30 views

URL validation issues, using valid_url

I want to validate URL's. Drupal's check, on field settings, "Validate URL", does not work appropriatelly. I perform custom validation, but there are some problems. I used idn_to_ascii in order to ...
0
votes
0answers
11 views

Search by Id redirects

In the Content page, trying to search for ID's with the "Search by ID" tab, clicking on the tab is redirecting me to the production site. All other tags work fine and use the dev URL. How can I fix ...
0
votes
1answer
22 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
22 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
28 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
37 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
49 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
22 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
53 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
28 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
13 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
83 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
490 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
68 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
16 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
23 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 ...
1
vote
1answer
44 views

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

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
22 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.
1
vote
0answers
27 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
16 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
179 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
31 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
33 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
26 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 ...