Questions tagged as 'htaccess'

1
answer

Redirect domain to given server folder via htaccess

I have two domains that point to my server, both for the public_html root folder. I need each domain to access a particular folder. Example: www.dominio1.com.br points to the folder / domain_1 www.dominio2.com.br points to the folder /...
asked by 12.06.2017 / 16:14
1
answer

Enjoying browser cache does not work

The Google PageSpeed tool is displaying the error:    Enjoy browser caching. My site: search.com. I have activated the modules expires and headers on my server, then I added in the htaccess the configuration below:...
asked by 09.07.2017 / 07:23
1
answer

SSL Identification by Google

Yesterday I migrated the website to another provider and won an SSL certificate, which has already been applied. I would like to know if Google will automatically identify that the site is now secure (https), because in the search, the result ap...
asked by 24.06.2017 / 14:41
1
answer

About the htaccess file

When commissioning data from APACHE servers with PHP, what should we do about the .htacess file?     
asked by 23.05.2017 / 19:11
1
answer

htaccess does not load CSS with second parameter

Hello. I have broken my mind to try to solve a problem that should be very simple, but it is not working. My site is navigated as follows in htaccess localhost/ProjetoBusca/index.php?pg=anuncio being replaced with localhost/ProjetoB...
asked by 18.01.2017 / 13:44
1
answer

how to remove o.php with .htaccess

Well I'm used to calling the following link with my apache: index.php?variavel1=1&variavel2=2 How can I make my .htaccess identify the following link: index?variavel1=1&variavel2=2 And switch to: index.php?variavel1=1&var...
asked by 20.06.2016 / 19:56
2
answers

Rule for parameter redirection

I'm trying to set up a friendly URL system, but I have the following problem: I have a page that has a list with multiple items. The page has this URL: http://localhost/personal/portifolio When the user accesses one of these items, he is...
asked by 06.03.2016 / 19:27
1
answer

htaccess rules for searches

I am using the following htaccess code: <IfModule mod_rewrite.c> RewriteEngine on # Include in the next line all folders to exclude RewriteCond %{REQUEST_URI} !(app/view/*|web/*) [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCon...
asked by 30.04.2015 / 13:49
1
answer

Reformulating URL in htacess

I'm trying to reshape the url that causes me to change the page. I have the following URL www.site.com/categoria.php?cat=Humor&page=3 In the above quote the pagination works perfectly. But what about improving the url with the...
asked by 29.12.2014 / 23:33
1
answer

Sub folder configuration in htaccess

Well I have a hosting with the following structure: index.html .htaccess app site Well, inside the app folder I have an application compiled in Angular 7.0 and inside the site folder I also have a site made in Angular 7.0. Well for Angul...
asked by 21.11.2018 / 19:19