Questions tagged as 'url'

0
answers

Can not read property 'get_file' of undefined

As I can solve this error, my code is: odoo.define('backup_all', function (require) { "use strict"; var core = require('web.core'); var Widget = require('web.Widget'); var framework = require('web.framework'); var web_settings_dashboard = re...
asked by 19.10.2018 / 05:23
0
answers

Get the URL of a friend in laravel

I have an index driver that shows me all the records (without filters) of the query: id, title, description, province, city among others on the main page Each one of them, when shown on the main page, generates a link to show the detail of...
asked by 08.10.2018 / 18:37
2
answers

PHP redirect to change session variable

I have to perform on a site, a functionality that allows that when you enter after the url, a / + currency, change the selected currency. The coins are set in a PHP session variable, so I thought about doing a htaccess redirect to a URL with...
asked by 31.07.2018 / 22:30
1
answer

Read URL every 60 seconds in Python

I want this URL every 60 seconds, I have this code. The URL brings me data of actions import requests url="https:XXXXXXXXXXXXXXX" r = requests.get(url) text = r.text print (text) How can I do a function to read it to me every 60 seconds?...
asked by 14.07.2018 / 17:07
1
answer

Django 2 pick up parameter passed in the url inside a ListView

If I have a URL that passes a parameter as follows http://mysite/person/car?parametro=1 In a ListView I get that parameter in the following way Parametro = request.GET.get("id") But if the parameter is passed in the url "person/<i...
asked by 10.07.2018 / 20:09
1
answer

Url Friendly Wordpress

I would like to define a custom url in .htaccess , in wordpress it comes by default like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On<br> RewriteBase /sistema/<br> RewriteRule ^index\.php$ - [L]&l...
asked by 10.07.2018 / 19:27
1
answer

public function url

I'm building my first website (I'm very new to coding). In the form of creating user accounts on my website, it asks users for the url's of their social profiles, but it only works if they write the part that goes after of http//:www....
asked by 04.07.2018 / 18:31
0
answers

Regular expressions URL .htaccess

I'm trying to generate URLs to be somewhat more SEO-friendly. My regular expression is this: Rewriterule ^carta(\w+)/(.+)/([0-9]+)/(.+)$ /pages/carta.php?id_menu=$1&nombre=$2 Currently the URLs are displayed like this: localhost/pages...
asked by 29.06.2018 / 14:19
1
answer

Place an alias to the URL of my system?

I just uploaded a system to a server (Linux-Ubuntu) and what happens is that I access this through the following link (example): - > link And I would like to know if it is possible to change the address but obviously point to that. Ma...
asked by 08.06.2018 / 17:36
0
answers

Friendly URL problem with Htacess and php

I have a web page where I am implementing a blog in PHP, but before continuing, I would like to leave the subject of URLs FRIENDS for the blog, I do not want the link to be news.php? id = x I would like to get the structure of news / title...
asked by 09.06.2018 / 13:11