Questions tagged as 'htaccess'

1
answer

How to work with absolute URL?

I am developing a system and to perform the tests I am using xampp. That is, everything is accessible through the address:    localhost / myite /... To call all the links on my site, as well as include files, I'm using absolute url, for ex...
asked by 12.08.2017 / 02:22
0
answers

Beginner in .htaccess (relatively simple case)

I have searched through various sources for a way to properly apply a simple htaccess rule for friendly url interpretation. At first I have the following codes: .htaccess RewriteEngine on RewriteCond %(SCRIPT_FILENAME) !-f RewriteCond...
asked by 20.07.2017 / 04:27
1
answer

How to remove filenames on a single page? [closed]

On the home page of my site, I'd like to remove all filenames from the URL, so I want the domain to stay only. For example, if I have a site like this:    www.site.com.br/algumacoisa/principal.php On the main page, only , I want it to lo...
asked by 06.07.2017 / 21:09
0
answers

.htaccess with friendly url and https

I have a working website that uses friendly URLs, its current code is: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] Now I need to keep the URL friendly and whenever it...
asked by 27.06.2017 / 21:35
1
answer

htaccess with friendly url not working (?)

I'm finishing a project, and I thought of putting a friendly URL, one that I had already used in another project, the same thing, I did not change anything, just the server and host of the site. From: www.site.com/noticia?id=1 to ww...
asked by 21.05.2017 / 12:18
1
answer

Wordpress Multisite, website in different directory

I have a question, in the Wordpress multisite I want to know if I can create a website in a different directory. For example the main site is in:    wordpress.omegainc.com and the secondary site wants you to stay in    omegainc.com....
asked by 11.05.2017 / 15:36
1
answer

Multiple Rewrite rules with .htaccess

I currently have the following .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ## Esconder .PHP # Redirecionamento externo de /dir/foo.php para /dir/foo RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php...
asked by 12.04.2017 / 01:01
0
answers

How to configure symfony in subdomain?

I have an application written in Symfony 3 that I want to publish in a subdomain. The application is currently hosted on locaweb. My main site is this: example.com The goal is to create a subdomain specific to this application, so it looks...
asked by 29.03.2017 / 16:58
0
answers

.htacess does not work on the server

Hello, when I test on my pc, it works perfectly, but when I put it on the server it stops working. .htacess RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1...
asked by 17.02.2017 / 21:24
1
answer

Use friendly URL without folder navigation

I need to identify the user using a friendly url, for example: https://site.com.br/usuario/sistema.php How can I make this identification, since there will not be any private folder for individual client browsing. I already have the sy...
asked by 26.12.2016 / 22:30