Most voted "friendly-url" questions
The user-friendly URL is a site address that does not contain a "query string", instead entrusting a path to a user-friendly SEO resource and readable to people, for example: `http://www.stackoverflow.com/questions/tagged/url-friendly`.
Learn more…106 questions
Sort by count of
-
22
votes3
answers394
viewsWhat are friendly Urls?
What are friendly Urls? What is its purpose? When it is recommended to use friendly Urls instead of regular Urls? Involves some relationship with performance?…
-
12
votes2
answers2381
viewsRouter and URL-friendly with Asp.net mvc
How I Route and url friendly (dynamically) in my web application, using Asp.net mvc 5? Currently I have the url: http://myapp.com/Produto/Details/7 And I want to route it so it looks like this:…
-
11
votes5
answers83787
viewsPassing variables through the URL using friendly URL via GET
I am trying to mess with friendly URL. Before, to pass the variables I used for example: pagina.php?variavel=valordavariavel by clicking on this link I could use a echo and display the variable. I…
-
6
votes1
answer1322
viewsHow to configure . htaccess to accept a hyphen in the URL?
I’m customizing the Urls on my site, but the .htaccess does not accept hyphens Urls, for example: postagem/1/criando-efeito-fadeout-com-javascript When I write the title without the hyphens it…
-
5
votes1
answer1177
viewsSend and pick up GET by AMIGAVEL URL
I have this tag on the index <a href="projeto">Projeto</a> Who sends me to this page localhost/project.php That I’m leaving like this localhost/project With the RewriteEngine on…
-
4
votes1
answer564
viewshow to hide subfolders from url through . htacess
Hello! how to change a url through htacess. wanted this url: http://localhost/site/product/view/Mi00OTI/golbolaver remain so: http://localhost/site/view/Mi00OTI/golbolaver…
-
3
votes2
answers201
viewsURL rewriting in . htaccess
have the following URL: http://<site>/application/views/ambiente_teste/assets-teste/... And I wanted to rewrite it for: http://<site>/assets-teste/... I have tried in my . htaccess the…
-
3
votes1
answer859
viewsHow to use friendly Urls?
I currently use the MVC in my project and when I access my system it shows a url like this: http://localhost/view/html/cliente.html what I would like to get is: localhost/cliente because it’s the…
-
3
votes1
answer211
viewsURL rewriting with "+" sign (same as Google+) . htaccess
I’d like to write a rule in . htaccess with Rewriterule using the plus sign (+) for a Google-like url, like this: meusite.com.br/+alguem be interpreted meusite.com.br/? track=someone or…
-
3
votes2
answers962
viewsFriendly URL, images do not appear even putting absolute path
I am facing this problem with my friendly URL, even putting the absolute path it does not show the images. But the images that are in a folder in the same location of .htacess appear normally, the…
-
3
votes1
answer31
viewsWhy isn’t the style sheet being loaded?
I’m trying to use urls amigáveis but I am having some problems in the learning process. The problem now is that the page does not return the page styles. Options +FollowSymLinks RewriteEngine on…
-
3
votes1
answer149
viewsHow do I make url friendly in PHP
I know you’ve asked before and there are a lot of answers on the Internet but none of them have solved my problem. I have an entire site in php, with several pages and would like to make url…
-
3
votes1
answer673
viewsHow to hide.php displays from link (friendly url)
All right? Please, I need help... Currently, my site presents links as follows: https://site.com/pagina/noticia/2019/ciencia-e-saude/exibe.php?link=página-do-leitor-é-maneira In the…
-
3
votes2
answers128
viewsRules and Exceptions in htaccess
I’m having a hard time setting up some route rules in my .htaccess, I originally have the following (I accept suggestions for improvements): RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f…
-
2
votes3
answers2387
viewsUser-friendly URL for GET (search) form in Laravel 4
My question is this:: I have a search form (GET), and would like to know how when running Submit send these parameters to the URL in a friendly way. Obs.: parameters are not mandatory. Form: {{…
php laravel-4 laravel laravel-routes friendly-urlasked 10 years, 11 months ago Patrick Maciel 2,281 -
2
votes1
answer2856
viewsUser-friendly URL with Nginx
I would like some help from you because I did not arrive at the expected result. I am trying to create a friendly URL as below: Current URL: meusite.com.br/artista.php?id_artista=1 NEW URL:…
-
2
votes1
answer31
viewsUrlrewrite for photo name - Web
Today have the urls of my website images as: /images/tb/1280077_894mvzfxoojqb.jpg I would like to be able to rename this to the generated HTML Apartamento_em_SaoPaulo.jpg or something similar.…
-
2
votes1
answer506
viewsError removing accents from a string for creating friendly Urls
Ola would like to know how I can get around the mistake that this being caused in the code below. When I accentuate special characters they are being removed instead of converted. I caught this code…
-
2
votes1
answer627
viewsGeneric Parameter Friendly URL . htaccess
I’d like to ride a URL user-friendly with generic parameters, ie that receive any parameter in any quantity or file. Today I rode the .htaccess so that the file name becomes the URL. File I am…
-
2
votes1
answer135
viewsAjax + Codeigniter
Good morning.... I just implemented Codeigniter, but I can’t use user friendly url... I try to pass parameters through Ajax, but I cannot due to URLS. I’ve already removed the index.php of the…
-
2
votes1
answer4457
viewsHide the . html extension of the files in the url using . htaccess
I created some pages .html and put online. In the browser the file extensions are visible. However I want to hide them to make the urls more "friendly". For example: instead of…
-
2
votes1
answer453
viewsSend parameters via GET to a friendly URL
I have a page that the URL friendly is more or less like this: http://www.dominio.com.br/pt/produtos/ And the real URL is like this: http://www.dominio.com.br/site/produtos/index.php?idioma=pt I’m…
-
2
votes0
answers38
viewsFixed subfolder friendly URL problem
I’m having a problem with httaccess when including a fixed subfolder. The intention is to have a folder in front of the website domain. Example: www.meudominio.com.br/guest/500 link to the page…
-
2
votes0
answers43
viewsFriendly URL works and to
Well, I have a problem with the .htaccess e a URL amigável, it works, but sometimes it stops and comes back to work. (Rewrite module is active, use PHP 7). And I have one more question, I have a…
-
1
votes2
answers507
viewsDifficulty with rewriting friendly Urls
I don’t have much experience with . htaccess and am having some difficulty rewriting a website’s Urls. On the site in question, I first forced the rewriting of the URL to HTTPS (the site did not…
-
1
votes1
answer1385
viewsHow to Make URL Friendly
I’m using the Framework Yii and need to create URLs friendly. Example of URL: http://meudominio.com/meuControle/minhaView Which is equivalent to:…
-
1
votes0
answers148
viewsHTACCESS crashes correctly on environment change
I have to migrate from a website to a rookie for a dedicated server hosting and my htaccess simply decided to stop responding to the urls by sending the url to the error page. It even mounts the url…
-
1
votes1
answer794
viewsfriendly urls for various folders
I have these urls, I’m using subfolders, but htaccess will be at the root MEDICAL PASTE when the person logs in to redirect appears in the url ? id=1 without the index laudar.php?id=1…
-
1
votes1
answer220
viewsIs it possible to configure a Rewrite Rule in AWS without changing the directories?
I have a small problem since I set up the AWS. The fact is that it came a little prepared when it fell into my hand. It is configured to save in the domain.com.br/site/wordpress, and when trying to…
-
1
votes1
answer87
viewsHow to use friendly urls on a php system?
I’m working on a website, first site I do without Wordpress and would like your help to implement friendly urls. I don’t have much knowledge on friendly and .htaccess but I’m trying to learn. My…
-
1
votes0
answers26
viewsHow to modify this statement to get a url to pt_BR?
I’m working on the theme Academy made by the gringos and I would like to know how to modify this instruction to be able to replace register for cadastrar and thus get a url in pt_BR. 'register'…
-
1
votes1
answer525
viewsUser friendly URL with dynamic product name and id
I am working with site friendly Urls developed in PHP. I created the file . htaccess and did the appropriate redirects according to my needs. For example, the page named.com/contact.php is now…
-
1
votes1
answer152
viewsVariables in friendly Urls
How are you? I am doing the user profile and there are 3 tabs, IE, three areas that users can navigate. For profile, I rewrote as follows on . htaccess: RewriteRule ^profile/([0-9]+)/([a-z0-9-]+)/?$…
-
1
votes1
answer130
viewsUse user-friendly URL without folder navigation
I need to identify the user using user friendly url, for example: https://site.com.br/usuario/sistema.php How do I make this identification, bearing in mind that there will be no particular folder…
-
1
votes0
answers41
viewsHelp . htaccess URL’s Friendlies
Hello, I’m developing an online compiler, similar to Ideone, and would like users to be able to access some of their codes already made on the site in a simpler way. Currently I use a page…
htaccess friendly-url mod-rewrite rewrite-urlasked 8 years, 1 month ago Alberto Elias Do Amaral Junior 11 -
1
votes1
answer793
viewsAdd Parameters to Wordpress URL
I have a plugin that manages links in Wordpress, with images and texts pretending to be related articles, all are external links. (Taboola type). I would like to add at the end of the Links some…
-
1
votes1
answer693
viewsReceive a parameter through a friendly URL on a Wordpress page
I have a Wordpress page called Recordings which is accessed through http://localhost/Recordings and I need to pass an ID parameter at the end of the URL that can be used later to create dynamic…
-
1
votes0
answers29
viewsRewrite URL in Wordpress
See if they can help me. I have a URL like this: http://www.site.com.br/portfolio-site/ilha-de-manhattan I wish she’d stay like this: http://www.site.com.br/ilha-de-manhattan Whereas manhattan…
-
1
votes0
answers33
viewsFriendly/Optimized Url does not open
I am optimizing the Urls of a site and I had a certain problem. Some pages do not open after receiving optimization, in fact the page is found and inserted in the path, but the content of the page…
-
1
votes1
answer775
viewsPagination with friendly url
I’m using friendly url and paging, but if I’m on the page 1 and click to go to the page 2 nothing happens, but in my url is the correct path localhost/produtos/emagrecimento/pagina/2/ however and…
-
1
votes1
answer189
viewsUser-friendly URL with htaccess pointing
My site is in a subfolder, I want the path to work independently of what I enter in the name of it, for example: www.meudominio.com.br/something/index.php…
-
1
votes1
answer133
viewsProblem using Friendly Url
Where I’m going wrong on this . htaccess ? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] the site I developed works normally on…
-
1
votes0
answers98
viewsURL friendly with anchors
I’d like to know how I use the .htaccess to make url anchored friendly. Ex: www.meusite.com.br/index.html#servicos stick around: www.meusite.com.br/servicos…
-
1
votes1
answer429
viewsHtaccess Wordpress URL Problem
I have a project that has an institutional website (main domain example: client.com.br) and a blog with Worpdress in sub-domain(example: blog.cliente.com.br). I have an htaccess in the root…
-
1
votes1
answer87
viewsRule Rewrite Changing script directories
I have the following problem, when using the Rule below my default directory is changed and mine js scripts and files css stop working. <rule name="Produtos Detalhe"> <match…
-
1
votes1
answer147
viewsurl friendly rewriting
Hello, all right? I need my homepage url to look like this: http://meusite.com.br the home page url is appearing like this: http://meusite.com.br/? sourceId=78902565&categoryId=5 A second page…
-
1
votes1
answer176
viewsProblems with spring mvc friendly url
by including a last page in my project I got a url problem, from which, I could not identify the problem. JSF scenario: Certification module: href="customer service/" Customer details:…
-
1
votes1
answer166
viewsUrl Amicable Codeigniter
In the Codeigniter there is a configuration file called php router. where we set up the friendly urls. At the url of the site I’m doing I need to leave 2 dynamic parameters like this:…
-
1
votes0
answers54
views.htacess redirects to wrong url
I had deploying the user-friendly url in a project to test, so I decided to deploy in TCC, but something is happening that I can’t detect what it is. When I upload the site in / he opens the…
-
1
votes0
answers134
viewsInternal redirect URL friendly
I am creating a page with image gallery with database, and when clicking an image, is redirected to the page profile.php with the image data, as if it were a profile. I want to make my URL more…