Questions tagged as '.htaccess'

0
answers

Query about htaccess, friendly url, 301 and seo

I have a website that has not yet been indexed by any robot (example: google) that is, it is completely new and in the htaccess file I did it with a friendly url. Now my question: I will have to make a redirect 301 anyway to the friendly url...
asked by 28.12.2018 / 18:29
0
answers

Use 301 in friendly url

A query I want to make my friendly URL through htaccess My query: It is necessary to redirect with 301 as seen in the first 2 lines (RewriteCond) and (RewriteRule) of the code. In any case when it is better to use it. Options -MultiViews Re...
asked by 29.12.2018 / 18:07
0
answers

RewriteRule returns empty in re-writing htaccess

I have a problem with the rewrite in .htaccess I am trying to get a varible by RewriteRule . the issue is that it does not return the empty variable. .htaccess Header set Access-Control-Allow-Origin "*" Options +FollowSymLink...
asked by 23.12.2018 / 17:45
0
answers

Problem when creating RewriteRule

I have a problem creating RewriteRule in .htaccess It turns out that I have RewriteRule that takes all requests from the url and esoty tried from get another but I have no answer. code: Header set Access-Control-Allow-Origin "*" Optio...
asked by 21.12.2018 / 23:02
0
answers

how to make RewriteRule subdomain dynamically htaccess

It is possible to obtain RewriteRule for subdomains dynamically, I have a project where automated subdomains are generated and I want to obtain the main directory. ex: demo.localhost / product / my-product Thank you in advance.     
asked by 19.12.2018 / 03:32
1
answer

Why do not you show me the content of my website 000webhost?

I have already finished a mini project, it works perfect on my PC "Localhost" but when I want to upload it to 000webhost it goes up all right, but when I want to see a view it does not show it, but no error appears. I think it's the .htaccess or...
asked by 14.12.2018 / 22:38
0
answers

CodeIgniter 3, how to configure the .htacces to remove the index.php

I'm a little dizzy about this and I'm not good at this kind of configuration. I have a project as follows: ProyectoPrincipal/ Backend/ application/ system/ Frontend/ application/ system/ That is,...
asked by 11.12.2018 / 15:04
1
answer

activate .htaccess in debian / apache

I have a problem with my apache server that runs on debian 9.5 since it does not detect the .htaccess and activate the Module rewrite but apache does not recognize these redirections can you help me as it is activated this is locally running on...
asked by 19.12.2018 / 17:49
0
answers

You need to add [301] in htaccess

A query related to friendly url. I am designing a site from 0 in php and I was wondering if it is necessary to add the [301] in the Rewriterule line as in the following example: Options +FollowSymLinks RewriteEngine on Rewriterule ^rubro/([...
asked by 19.12.2018 / 14:34
0
answers

there is some module or variable in htaccess

Open some module or variable that can get me the name of the server that is currently. Example: If I'm on localhost, tell me localhost or if I'm in a domain midominio.com is for it to be automatic and not to be putting the domain...
asked by 19.12.2018 / 18:04