Questions tagged as '.htaccess'

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

Indexable URL? add-to-cart = xxxx

I am trying to improve the SEO of my web page, but in Semrush I get 404 errors as a series of pages that are indexed when the client adds the product to the cart: link I need to know how to make these URLs not index them. I tried to p...
asked by 06.06.2018 / 10:21
1
answer

Laravel Project 5.6. The routes do not work for me, what do I have to do in the .htaccess?

I have uploaded my project to shared hosting, and modify the index.php file and the .env file. It shows me the main page (Login), but when entering the username and password it does not recognize the routes, what I did not do is modify the ht...
asked by 04.06.2018 / 02:33
0
answers

htaccess redirect everything to the index except some folders and files

I have this folder structure, and I want to redirect all the requests to my index.php, but ignoring these folders (assets, ajax, testFolder) index.php file1.php file2.php .htaccess ( im configuring this ) docs |_doc2 |_doc1 |_.htaccess assets...
asked by 21.06.2018 / 22:11
0
answers

How do you remove variables from url with htacces?

I wanted to know if you could help me solve this problem. I have the following URL: /Principal/?s=cultivo&category=14&brand=8&cultive=3 And what I would like is to hide the variables of that same one, but I do not know how, I...
asked by 21.06.2018 / 22:54
1
answer

Rewrite URL with .htacces

I'm with a project using the model-view-controller and I want to make the url "friendly". For this I want to change part of the url to rewrite the part of the url that puts /? Zone = menu-javascript and leave me alone / menu-javascript. I...
asked by 22.05.2018 / 16:24
0
answers

Redirect urls from a directory but not the directory with htaccess

I come for help to know if it is possible, I need to redirect the contents of a directory, to the home of the site but not the directory, I do not know if I explain, the urls went from ... / news / article- 1 a ... / article-1 use this code...
asked by 26.05.2018 / 19:14
1
answer

Problem with .htaccess

The problem is this: I want to generate a url of the type link I have put the following in the htacces: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*\.)*midominio.com$ [NC] RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://...
asked by 18.05.2018 / 21:28
1
answer

Redirects errors 400, 401, 403, 404, 500 htacces

I have the following htaccess: # Inicio No Cache <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$"> Header set Cache-Control "public" Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" Header unset Last-Modified </FilesMatc...
asked by 08.05.2018 / 17:49
1
answer

I can not call a controller by AJAX in codeIgniter

I'm moving my project to production, I was in a develop environment and everything worked correctly (localhost). When I migrate to production the calls by AJAX do not find the route I need. (Error 404) EDITO The variable 'bu' already...
asked by 30.04.2018 / 23:01