Forum Moderators: phranque
But what i need is:
if i go to www.example.com i have a default index.html which is called
"the_beauty_of_url_rewriting.html" or similiar.
In my .htaccess i have that in directoryindex and its loaded once i go to the domain.
BUT...i want the URL to be displayed in the browser. right now the page is loaded but its threated as it would be index.html
When i go to www.example.com it should go to and KEEP the name of the URL
www.examples.com/the_beauty_of_url_rewriting.html
And also show this in the browser.
I want to take advantage of SEO here and keep the URL since it is descriptive.
Thanks!
It specifies which file to show the contents of, if you specify just the domain name in the URL.
.
The most important page of a site is the root index page.
You should never address that page using a filename.
The URL of the root of a site is www.example.com/ and nothing more.
That's it.
By wishing to use a name, you are creating a difficulty, and potentially exposing your site to Duplicate Content problems.