Questions tagged as 'url'

1
answer

Dynamic friendly URL .htaccess

I currently have the following rule in .htaccess: RewriteRule ^fale-conosco/?$ view/fale_conosco.php [NC,L] And I'd like you to be able to enter a friendly URL after you contact us /. Example: fale-conosco/ajuda For t...
asked by 15.08.2018 / 21:52
1
answer

Htaccess - Redirect all requests to a single file every time

I'm trying to use a .htaccess file to redirect all requests to a single file, but I'm facing some problems. My .htaccess looks like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ....
asked by 18.08.2018 / 04:18
1
answer

How to get '#' from Angular URLs

My app's URL is like this ' link '. I'm trying to get the '#' from the URL, I've tried it in many ways but I can not. I have the following code. config.js: function config($stateProvider, $urlRouterProvider, $locationProvider, $ocLazyLoadPr...
asked by 06.04.2018 / 15:01
2
answers

Send URL parameter of a table to a modal

Good morning, friends, I'm having a doubt to send URL parameters as if it were one; <a href=\"pagina.php?id=$id\" >enviar</a> Except that instead of sending to another page, I would like to send to a modal on the same p...
asked by 12.04.2018 / 16:19
1
answer

PHP - directory path

I'm making a website that has a column called -News - , this column I call through include . (you can imagine that it is an external file - news.php) , so far normal. It turns out that on my site there are folders on other levels, for...
asked by 17.04.2018 / 21:42
1
answer

Django 2.0 - Urls Amigavel

I'm studying Django 2.0.2, and I'm having trouble with friendly URL along with SlugField in the models.py class, but I can not set def get_absolute_url(self): correctly. I can access the URL directly. It is now necessary to define the fun...
asked by 20.02.2018 / 23:09
2
answers

Problems passing URL parameter

In the code below, how do I get the values of input IdObra and IdCliente and go through url <a href="<?=base_url("/index.php/ProdutosObras")?>" ? I'm using a modal. <div class="tab-content"> <div id...
asked by 26.11.2017 / 14:09
1
answer

How to pass parameter in NSarray in url NSURLSessionDownloadTask

I am creating a UITableView to load the bookmarks that are saved in NSUserDefaults, the values are the IDs. ex. 34, 45, 55 ... I am creating the url and passing parameter through an NSMutableArray. (34, 45, 55). this way. NSString * por...
asked by 15.11.2017 / 02:56
2
answers

Is there a way to hide a url on a web page?

Let's break it down, I'm doing a site where I'm going to read a URL from the database and then I'm going to use it in an image, clicking on it (image) will open that URL (inside an iframe or in a new tab). In the code, I have a page using HT...
asked by 19.10.2017 / 16:28
2
answers

Domain redirection for physical server with fixed ip

Good evening, I have a fixed IP server with internet access running IIS 8 on Windows 2012 and I have a domain registered on locaweb name.testing.com. In the locaweb I redirect the domain to the fixed ip and the redirect works correctly, howev...
asked by 12.05.2017 / 04:41