Questions tagged as 'htaccess'

0
answers

NON-WWW | Force HTTPS | Subdomains

I've been having trouble setting up my htaccess for days. I have tried many configurations that I found on the internet and even some of them here and no success. I need in my htaccess to have the following characteristics: Always use H...
asked by 02.07.2018 / 15:45
1
answer

.htaccess - Two sites, different domains in the same hosting

Personal with a question, I wonder if it is possible to redirect a domain to a subfolder of a hosting with a website without changing the URL of the browser via .htaccess. Example: Domain1 - Hosting1 domain2 - Hosting1 / domain2 Is it poss...
asked by 30.07.2018 / 19:27
1
answer

Reecrever url with htaccess

For lack of experience, I'm having difficulty rewriting the url of my blog, I tried as below: http://www.meusite.com/blog/article.php?a=3&v=5&at=teste-do-primeiro-post In the end I would like the result below: http://www.meusite.c...
asked by 20.06.2018 / 18:37
0
answers

Redirect 301 with Webconfig

I use a rule that works the most does not seem right to me. I think it ends up giving two 301 redirect. <!--Forçar https--> <rule name="Https" stopProcessing="true"> <match url="^" ignoreCas...
asked by 17.06.2018 / 04:28
0
answers

sitemap with PHP - Set in htaccess

I have this snippet in .htaccess that is working for my current need: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUES...
asked by 21.05.2018 / 00:04
0
answers

Access to subfolders in URL is being blocked by .htaccess

Hello, I have a url dem a system in which I have a test_ environment in a subfolder inside the system directory. The .htaccess directs the index to an "app.php" file which is the autoload file of the system. Targeting it in the " lin...
asked by 07.05.2018 / 18:56
0
answers

Friendly URL with anchors

I would like to know how I use .htaccess to do url friendly with anchor. Ex: www.meusite.com.br/index.html#servicos stay: www.meusite.com.br/servicos     
asked by 30.03.2018 / 02:35
0
answers

Friendly URLs Nginx

I'm trying to create a friendly URL on my server, I previously used Apache with this htaccess : RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?subtopic=$1 After s...
asked by 09.03.2018 / 19:22
0
answers

Cross-orgin with laravel and vuejs

In my dilemma to publish my application I am facing some problems. I'm making the front separated from the back. The frontend is in vuejs and the backend in Laravel (being only an API) On the server it looks like this: public_html...
asked by 20.03.2018 / 16:43
0
answers

Doubt with htaccess (local X hosting)

Hello, I'm doing a project and I've been adding it online to do a test, locally everything works, I have my ".htaccess" like this: Options All -Indexes RewriteEngine On RewriteRule ^([-a-zA-Z0-9]+)$ index.php?ruta=$1 On the server the page...
asked by 08.03.2018 / 19:01