Questions tagged as 'htaccess'

2
answers

Hide a url

I have a problem, I tried Htaccess but I do not know if I did it right and nothing was right. I have a client registry, and when I am in the clients folder and I am going to make a change in a registry it shows in the url this: link The pro...
asked by 23.08.2018 / 17:45
0
answers

Apache - Permissions with Directory, provide access only by root (/)

I'm trying to set permissions on the apache settings. What I want to do is to let root, "/", but not any url that has any character after the slash. For example: localhost or localhost / can be accessed. localhost / index.php, localhost / sub...
asked by 22.08.2018 / 04:23
0
answers

How to create new URL parameters friendly to Wordpress

Hello, I'm trying to create custom urls in Wordpress that are not present in my theme settings. I would like to know how I can do this kind of procedure. I'm trying to create these two types of url From https://meusite.com/listagem/?let...
asked by 20.08.2018 / 05:07
1
answer

How to change the root of my site, while the folder is up one level?

My question is in .htaccess , because I can only make the root of my site the public_html folder or some other folder within public_html , but I need a folder that is one level above. RewriteEngine On RewriteBase / RewriteC...
asked by 28.08.2018 / 17:57
0
answers

How do I leave Cache-Control public on my site?

Hello. my htaccess looks like this: # BEGIN GZIP <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE "application/atom+xml" \ "application/javascript" \ "application/json" \ "application/ld+json" \ "application/manifest+json" \ "a...
asked by 16.08.2018 / 18:29
0
answers

Ajax htaccess request

I am trying to protect my files against direct access so I used htaccess only when doing an ajax request of the error or it does not allow how to solve? My htaccess code: <Files *.php> Order Deny,Allow Deny from all Allow from 127....
asked by 02.08.2018 / 15:00
0
answers

Error in htaccess when using https force with invalid return

Hello, I need to force https on my site, but the problem arises of not returning the target link ... I have the following htaccess code ... <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModul...
asked by 31.07.2018 / 23:15
0
answers

Redirect with URLENCE

I can not make the link target for , I believe because of the special characters. redirect 301 link link Could you help me?     
asked by 01.08.2018 / 18:58
2
answers

Block direct access to video URL without authentication

How can I create an authentication to prevent direct access to any video that is inside a specific folder on the server? Ex: Let's say I have a URL: www.domain.com/video/namevideo.mp4 However, I have an application that accesses thi...
asked by 24.07.2018 / 22:23
0
answers

.htacess redirects to wrong url

I had deployed the friendly url in a project to test, hence I decided to deploy in the CBT, but something is happening that I can not detect what it is. When I load the site in / it opens sign-in.php good, the business is when it r...
asked by 04.08.2018 / 07:59