Questions tagged as 'htaccess'

1
answer

Friendly URL with dynamic product name and id

I'm working with friendly URLs in a site developed in PHP. I created the .htaccess file and made the necessary redirects according to my needs. For example, the page namesite.com/contact.php is now as nomedosite.com/contact. So far so good. Now...
asked by 26.04.2016 / 18:55
2
answers

How to remove the index through the site's .htaccess file?

Hello, I'm making a website and I would like to remove the index by changing it to another address eg: site.com.br/curitiba - WITHOUT USING CPANEL REDIRECTION. I'm looking for a solution in .HTACCESS to re-name the index ... but continuing to...
asked by 26.05.2016 / 20:46
0
answers

How can I prevent misuse of my web server?

example I have the domain http://marcaregistradanb.com And in this site I have path to 2 files one html and another jpg http://marcaregistradanb.com/home/nikobellic/public_html/marcaregistradanb.com/logo_site_rm.jpg htt...
asked by 27.05.2016 / 04:27
0
answers

Handling of friendly url by htaccess

I have the following .htacess code: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^shop\.meusite\.com.br$ RewriteCond %{REQUEST_URI} !^/shop/$ RewriteRule ^(.*)$ http://meusite.com.br/shop/ [P] &l...
asked by 06.05.2016 / 20:38
0
answers

Rename index.php with .htaccess

Well, I wanted to access index.php from any parameter in the url, from .htaccess, like this: site.com/sistema1 site.com/sistema2 ... and go to site.com/index.php Then I can handle certain functions from this url. What is the best way t...
asked by 02.04.2016 / 13:39
0
answers

Redirect without www

How do I proceed in the following situation: My old URLs were blogger , and they owned the WWW. I moved to the Wordpress and removed the WWW. Today I received a message from google WEBMASTER :    "404" Page Up This happens bec...
asked by 24.03.2016 / 11:52
0
answers

Wordpress downloads the page and does not display

Good afternoon! I have the following problem, some pages in the WP control panel are downloaded instead of loading normally when I try to access them. This happened after I edit the .htaccess, I've restored the same and nothing to solve it. H...
asked by 23.03.2016 / 15:00
0
answers

How to make instagram-style urls

I made a FRIENDLY URL, which is as follows: I wanted the link to be like this: www.site.com/usuario1/ , ie when the guy puts www.site.com/usuario1 it would be redirected to www.site.com/usuario1/ . My .htaccess is th...
asked by 28.02.2016 / 15:47
3
answers

URL Problem with Bar /

In Laravel it is very common to use friendly URLs and also very easy to use. The system is ready for this. However, I have a problem that I did not care about until now. And now I want to know why. I have a simple route for all my pages:...
asked by 11.11.2015 / 19:21
0
answers

Error 418 Wordpress, SSL Redirection and W3 plugin

I bought an SSL certificate for my blog and then edited .htaccess to include 301 redirect. I got a response that there were too many redirects and then I checked the file and found the commands created by the W3 plugin, used for...
asked by 21.02.2016 / 21:42