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
-
1
votes0
answers56
viewsHow do I make URL Friendly + 301 Redirect with . htaccess?
I have a site with thousands of pages with no URL friendly, so I want to put this feature.. My site currently looks like this: https://www.meusite.com.br/? pag=videos I want him like this:…
-
1
votes1
answer550
viewsPHP Friendly URL: Does not load files from Folder
I have in my root directory the index.php file and config.php. Inside the root folder of my site I have the pages folder with the home.php, login.php and Register.php files, but when I try to access…
-
0
votes1
answer6399
views.htaccess to URL friendly
How do I make rules Mod_Rewrite (htaccess) for my pages? I’m not used to .htaccess Rules I would like: www.exemplo.com/index.php for www.exemplo.com www.exemplo.com/perfil.php for…
-
0
votes1
answer29
viewsFriendly urls, back to the directory
Good afternoon, I have a doubt, I implemented friendly urls for a page of my website. This way, RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %(REQUEST_FILENAME} !-d RewriteRule…
-
0
votes1
answer540
viewsDRUPAL enable CLEAN URL
Good Afternoon. I migrated a website made in Drupal to the hostgator and now I can’t enable the Clean URL (Clean URL) option. Can anyone give me an idea of how to fix it? It’s probably some…
-
0
votes1
answer394
viewsCheck if URL in the correct format
I need to check if the url is in the right format, and if it is not, redirect to the right url. In another Controller already has a code that does what I need, I just need to adapt it to another…
-
0
votes0
answers102
viewsMod_rewrite in Cakephp
I need to change all the URL’s of a website once it’s done. The current URL is in the following structure: www.meudominio.com.br/website/ And I would like it to be removed from all the internal…
-
0
votes1
answer95
viewsI can’t reach my sub page by passing friendly url
O . htaccess RewriteEngine On RewriteRule ^imagine/([^/]+)/([^.]+)$ ver_imaginew_agora.php&id=$1&titulo=$2 RewriteRule ^portifolio/([^/]+)/([^.]+)$ ver_portifilio.php&id=$1&titulo=$2…
-
0
votes0
answers76
viewsRedirect "cropped" url to canonized url (Avoid duplicate url)
What are the settings in . htaccess so that url cut type: http://meusite.com/cidade/495/politica-de-priv is automatically redirected to the canonized (whole) url of the page:…
-
0
votes0
answers58
viewsHow to access a page through dynamically friendly urls?
Well, I must be wanting something very complicated for a beginner but come on ... I’m starting a system where I need to create dynamic and friendly urls to register all the information regarding a…
-
0
votes0
answers57
viewsHow can I make this url more user friendly?
I’m developing this site and studying a little about friendly url’s since I was a Wordpress user and now I’m moving to frameworks and systems. What I want to know is whether the url shown below…
-
0
votes1
answer142
viewsUser-friendly URL and default URL php with parameters
I have a question and I believe you can help me. I want to leave running the two URL systems on my site, I want to put friendly on some pages and leave the default shape on another.…
friendly-urlasked 8 years, 9 months ago Bruno Luiz 1 -
0
votes1
answer32
viewsDifference between these 2 urls.
In my PDO study I came across the following: I have a URL like: www.site.com/admin/index? dir=article/create How I created a . php removal function from the files in the above URL navigation did not…
-
0
votes1
answer185
viewsHow to use method="GET'' without the action
I’m creating a mini-search system, the problem is I want to use the method="get" without using the action="" and at the same time be able to css on the page without using the action. Desire to avoid…
-
0
votes1
answer63
viewsI would like to make my URL friendly on . htaccess
Hello, I am trying in several ways trying to make my URL more friendly but I am not able to leave, she is like this:…
-
0
votes1
answer171
viewsGet INPUT_GET of friendly url
Hello, my system has two panels. One Admin without any optimization in SEO, another user, where he can post articles and more. It turns out that I use a query to search the folder and returns the…
-
0
votes1
answer7852
viewsAutomatic PHP friendly URL
I’m looking to develop a site like migre.me, he doesn’t use method GET visible, and its URL looks like this: http://migre.me/upR3N I want to make a system to save the URL in Mysql, and create a URL…
-
0
votes1
answer158
viewsHow to modify a url sent via get [Codeigniter] form?
Guys I need to modify a url but don’t know how to do it. I have the following url: http://wedding.axitech.com.br/?procuraonde=Palhoça&procuraoque=bolos and need to turn to the url below:…
-
0
votes1
answer151
viewshtacces for Nginx
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 Options -Indexes I need to convert that rule into htaccess for nginx…
-
0
votes1
answer154
viewsRewrite module times error 500
I’m doing a project, and I recently learned about the rewriting of URL's, I did as I saw in the tutorials but sometimes when I try to access the address the browser returns erro 500, would that some…
-
0
votes0
answers82
viewsMenu with active class in php?
I have a menu in html : <ul> <li><a href="#" class="ativa">Página Inicial</a></li> <li><a href="servicos">Serviços</a></li> <li><a…
-
0
votes1
answer491
viewsCSS problem with friendly url
Guys, I’m studying friendly urls and I came across a problem. Every time I put a / (slash) at the end of the url, the css disappears and the page gets pure html. I would like to understand what is…
-
0
votes0
answers152
viewsURL friendly does not load css when using . php
Good staff I am learning url friendly, but I came across an error that I can not find solution, if I access localhost/farmacia/contato the page is normally loaded without any problem, but when…
friendly-urlasked 7 years, 10 months ago fabricio 139 -
0
votes1
answer77
viewsAmigavel URL does not allow accessing the index of the site
Hello, I have the following code on htaccess RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule (.*) index.php [QSA,L] However when I try to access…
-
0
votes1
answer231
viewsURL friendly redirects to index.php
I’m having trouble directing my friendly url to specific pages. When I click on authorized-resellers for example, it’s taking me to index.php I have the code vars.php <?php //var_dump($_SERVER);…
-
0
votes1
answer211
viewsHow to use Friendly Urls to create download link
Hello, I have the following database: ID | Chave | Nome | Tamanho =========================== 1 | q3T49 | Arq1 | 20 MB 2 | 56Q4u | Arq2 | 35 MB 3 | 7fa4b | Arq3 | 89 MB 4 | 13dqa | Arq4 | 49 MB And…
-
0
votes1
answer123
viewsUser friendly URL does not work the way I need it
I have the following htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^imprensa/?$ imprensa.php [NC,L] RewriteRule ^imprensa/([a-z0-9\-]+)/?$ ler-impresso.php?p=$1 [NC]…
-
0
votes0
answers151
viewsFriendly Urls and Folder Structure
I am developing a system for ordinary users (these do not need to log) and users with permissions (registered in the database). Let’s assume that the system is for registering phone numbers and that…
-
0
votes1
answer119
viewsHow to release a URL and Query String level with or without via . htaccess and others have an error 404?
With . htaccess I need to release a url level to block the others with error 404 being: /example (can) /example/ (can) /example/anything (can’t) RewriteEngine On RewriteRule %{REQUEST_FILENAME} !-f…
-
0
votes1
answer608
viewsFriendly URL whose ID is the headline of the news
I’m trying to implement in the routing system an alias I want, coming from the database. Let’s imagine a news portal where in the table of the comic I have the table "news" where a url is loaded for…
-
0
votes1
answer212
viewsHow to make a search system with Friendly Urls
Hello, I would like to do a search system with friendly Urls, I researched a lot and tried a lot of things, not yet managed. I would like the url to be in this form site.com/home/categoria/pesquisa.…
-
0
votes1
answer250
viewsCheck if file exists through . htaccess URL
I have the following situation, I need to check if a particular file exists, based on the URL I am trying to access, if it exists displays normally, otherwise redirects to an error page. For…
-
0
votes1
answer229
viewsFriendly Urls with flask
Good afternoon, I am developing a system using the Flask python framework and would like to know how I can create system-friendly urls? I have to use some other framework or something?
-
0
votes0
answers145
viewsRefresh without updating the page with window.history.pushState javascript and PHP
I need to create a menu that calls inside a div contents of files in php youtube style without refresh in the page but changing the url, if anyone can help me thank.
-
0
votes1
answer109
viewsProblem with includes using friendly urls
I’m having a problem that is already driving me crazy, I’m using friendly urls in a system I’m making and the css files,js etc are not loading, I’ve seen several cases here that this happens because…
-
0
votes0
answers260
viewsCreate routes with multiple parameters in Codeigniter
I have a project developed in Codeigniter and I’m setting up some routes to get some nice Urls, but I found a problem. In a given route, I don’t know how many parameters it will come with, you can…
-
0
votes1
answer256
viewsDynamic friendly URL . htaccess
I currently have the following rule in . htaccess: RewriteRule ^fale-conosco/?$ view/fale_conosco.php [NC,L] And I would like it to be possible to inform a friendly URL after contacting us/.…
-
0
votes1
answer346
viewsREQUEST_URI or REDIRECT_QUERY_STRING?
Well, I’m doing a friendly url class and in the file CONFIG.PHP I gave a define in the following define('UA',explode('/',$_SERVER['REDIRECT_QUERY_STRING']??null)); But when I type the existing file,…
-
0
votes1
answer635
viewsDjango 2.0 - Amigavel Urls
I’m studying Django 2.0.2, and I’m having difficulties in URL friendly together with Slugfield in the models.py class, but I don’t know how to define def get_absolute_url(self): correctly. I can…
-
0
votes1
answer188
viewsHow to pass a second parameter using . htaccess to php code?
I’m writing my api using . htaccess-friendly urls to do the redirects. When I need to pass a second parameter, I’m having problems My file . htaccesss is like this: RewriteEngine on RewriteCond…
-
0
votes0
answers270
viewsPhp friendly urls
Hello, my question is the following: I am developing a system in HTML and PHP, I have been researching on friendly Urls, some friends have indicated me to use because according to them the main page…
-
0
votes0
answers519
viewsLaravel 5.6 - Error passing 2 parameters in url
Hello, I am trying to pass 2 parameters to my controller using url and am getting the following error message: Missing required Parameters for [Route: Teacher.average_faults] [URI:…
-
0
votes1
answer61
viewsList BLOG and show on the same page the chosen ARTICLE
I am working with PHP and use friendly URL. By clicking on the link <a class="nav-link" href="<?php echo URL::getBase(); ?>blog" tabindex="12">blog</a>, my URL gets:…
-
0
votes0
answers40
viewsMy user-friendly URL does not pass variable by GET
I already looked at the questions related to this problem here in Stack and I was not successful, currently I am able to pass the values through the URL but I can not call them on another page with…
-
0
votes1
answer123
viewsHow to use URL friendly?
I’m doing my TCC and the theme is SEO, to complete need to put URL friendly since the current link is like this: php post? id=79 Well, I looked into it. htaccess and managed to make the main pages…
-
0
votes1
answer109
viewsURL checks friendly and ajax
I am with the following problem, I made a URL friendly, but it is giving "conflict" when I use ajax in my Forms, when I click on Ubmit, it duplicates my site, my checks are like this…
-
0
votes1
answer97
viewsUser-friendly URL with more than one parameter with . htaccess php
I am having problems with my URL friendly, I have a code that already works, however for a specific directory. .htaccess RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond…
-
0
votes1
answer458
viewsGet $_GET value with friendly url
I have the following situation, when the URL no values after bar http://www.meusite.com/ and I type something in the search http://www.meusite.com/?s=teste includes my result page, now when the URL…
-
0
votes1
answer40
viewsMult-lingua site with regular expressions
Hey, guys, all right? I have a problem to identify the page with the language at the same time. Just pulling the index with the languages and the other pages not. This is the url expression:…
-
-1
votes1
answer846
viewsHow to Fix Friendly URL?
I migrated my Joomla site to another server but it is only working Home, internal pages give error 404. I have already enabled/disabled the Joomla-friendly URL option, I have seen htaccess as well…