Questions tagged as 'url-rewrite'

0
answers

make a redirect from a sub-domain to main domain

Hello I need to do a redirect from an active blog installed in the sub-domain for the main domain I mounted a redirect from the sub to the main, the problem is the POSTs of this blog that are already indexed I want to redirect all URLs on the we...
asked by 19.07.2015 / 17:43
0
answers

HTACCESS stops functioning correctly in the environment exchange

I have to migrate from a rookie hosting site to a dedicated server hosting, and my htaccess simply resolved to stop responding to urls thus sending url to the error page. It even mounts the url as it can be seen here by hovering over...
asked by 03.03.2015 / 21:11
3
answers

How can I simplify URLs for a website?

To access a particular area of the site, I have to indicate one to three parameters in the URL: Normal URL: # aceder a um módulo http://www.meusite.com/index.php?mod=john # aceder a um sub-módulo: http://www.meusite.com/index.php?mod=joh...
asked by 28.12.2013 / 10:37
1
answer

Multiples RewriteRules for 3rdparty and routes

I have a .htaccess file that adds PATH_INFO in the index.php file (to the routing system): RewriteEngine On RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-d RewriteRule ^(?!index\.php(/.*|$))([a-zA...
asked by 17.05.2015 / 04:01
1
answer

How do I define a subfolder as the root of an application with HTACCESS?

I have a certain PHP application written with the Silex framework. I built the structure in a way where only the public folder would be the folder where I would point Apache to read it. My structure is more or less this: projeto/...
asked by 08.02.2017 / 14:02
1
answer

How to modify a url sent by form via get [Codeigniter]?

Personal I need to modify a url but I do not know how to do this. I have the following url: http://wedding.axitech.com.br/?procuraonde=Palhoça&procuraoque=bolos I need to make the url below: http://wedding.axitech.com.br/palhoca/bolos...
asked by 07.08.2016 / 20:41
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

Access /index.php as / index (without the ".php")

Using regular expressions, I can check index.html pages as index but not index.php pages as index. My .htaccess. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}...
asked by 03.01.2016 / 16:48
2
answers

URL rewrite with parameter to another .htaccess site

I would like to write a rule in .htaccess with RewriteRule so that when someone enters the old site, it is redirected to the new site by keeping the requested parameter on the old site. Old site: velhosite.com.br/?people=alg...
asked by 16.11.2015 / 12:27
2
answers

Rewrite - How to redirect everything without index.php

I would like to redirect all requests from my Apache server to the test.php file and remove the index.php file from the root_folder (public_html or DocumentRoot). I have the following code: RewriteEngine On RewriteBase / RewriteRule . test....
asked by 28.09.2015 / 03:08