How to remove file names on a single page?

Asked

Viewed 120 times

1

On the home page of my website, I would like to remove all filenames from the URL, I want it to stay only the domain. For example, if I have such a site:

www.site.com.br/algumacoisa/principal.php

On the home page, only, I want him to stay like this:

www.site.com.br

I want to remove everything only on the main page.php. On other want normal.

  • But www.site.com.br does not already access your main page? What would be this URL that you want to clear?

  • I didn’t really understand what it means to remove everything from the URL. Maybe you mean, don’t show up in the address bar the file name?

  • Maybe he wanted to remove the filenames after the bar on the main page @Andersoncarloswoss

  • @Uzmkartanis but then does not fit with the phrase: "I want to remove everything only on the main page.php. On the other want normal." , Very confusing this.

  • I didn’t understand much, but this is what I understood @Everson

1 answer

0

  • Did not resolve. Does not exist through htacess?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.