Questions tagged as '.htaccess'

0
answers

Capturing variables with rewrite (.htaccess) does not work when changing hosting

I have a website in php where I mask the urls by "friendly" using the following .htaccess : RewriteEngine On # Turn on the rewriting engine # not rewrite css, js and images RewriteCond %{REQUEST_URI} !\.(?:css|js|jpg|gif|png)$...
asked by 09.11.2018 / 00:03
1
answer

How to place .htacces in Ghost

I'm trying to add gzip compression to my project of Ghost.org but I could not, I use ghost-cli and nginx to serve, but in sites-available generates a proxy that sends a node that runs in localhost, this is the configuration of the nginx serv...
asked by 11.06.2018 / 04:19
1
answer

Additional domains point to the principal in server

I have a server that has several domains pointing to it. The fact is that when you add the SSL security certificate to the main domain, some domains now point to the main one, such as link . In this case the additional domain points to a folder...
asked by 30.10.2018 / 13:48
0
answers

Rewrite an already rewritten url in .htaccess

I need to rewrite an url already rewritten by the CMS where I work. The fact is that it rewrites them badly and leaves them rather ugly. The url I want to rewrite is: http://whatever/foo/offer/?offer_id=1213/ The beauty url I want to hav...
asked by 19.10.2018 / 12:27
0
answers

My /user/index.php does not open as / user / (.htaccess problem)

I just created the file .htaccess so you do not have to name the label of the files to open them (delete the .php of contacto.php , for example). It worked for me, but the problem is that now going to example.com/user, I t...
asked by 16.10.2018 / 16:28
0
answers

Redirect 301 in .htaccess

Hello, I have a wordpress with several articles that I want to Redirect: The articles that give error 404 hang from the category / news-news / with a structure similar to /actualidad-noticias/ciudadania-digital-mayo-2010.shtm and I want them...
asked by 15.10.2018 / 18:28
1
answer

ERR_RESPONSE_HEADERS_TOO_BIG in php redirect

I have the following code but when redirecting it generates the error ERR_RESPONSE_HEADERS_TOO_BIG <?php session_start(); $uri = "data:image/png;base64,iVBORw0KG //y mucho más cerca de 300 mil carácteres"; header('Location: ' ....
asked by 07.10.2018 / 05:16
0
answers

"Server Hangup" errors, "502 Bad Gateway", "err_empty_response" after creating a subdomain with xmlapi

The server shows me "Server Hangup", "502 Bad Gateway", "err_empty_response",  these messages after creating a subdomain from php with xmlapi. The information is registered in the database and the subdomain is created perfectly, only then it sho...
asked by 01.10.2018 / 01:06
1
answer

redirect By htaccess with querys

I currently have this type of URL and it works fine:     www.example.com/flower The full path of the example is: www.example.com/indexmodelo.php?carpeta=flower But previously the route was conformed through the IP instead of the FOLDER:...
asked by 24.09.2018 / 17:19
1
answer

Redirect web domain in with wordpress

Hi, how are you? I need your help. I have a website made with worpress, it is presenting problems when redirecting the url with WWW. If I enter the domain name without the www it works. I created redirects 301 from the cpanel, from wordpre...
asked by 19.09.2018 / 20:47