FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » urls in php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
urls in php [message #170536] Sat, 06 November 2010 19:33 Go to next message
Martin is currently offline  Martin
Messages: 8
Registered: October 2010
Karma: 0
Junior Member
Hi all,

How can I achieve urls without the .html extension? For example:
www.domain.com/products instead of www.domain.com/products.html

Is it SEO friendly?

thank you in advance

Martin
Re: urls in php [message #170537 is a reply to message #170536] Sat, 06 November 2010 19:43 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On 06/11/10 19:33, Martin wrote:

> How can I achieve urls without the .html extension? For example:
> www.domain.com/products instead of www.domain.com/products.html
>
> Is it SEO friendly?

This isn't a php thing. It's a webserver thing.

It has something to do with the default file sent when a directory is
requested, and how the server presents and processes different types of
files, and aliases, and all sorts of other stuff that I don't carry in
my head but instead look up in online manuals when I want to know it.

Rgds

Denis McMahon
Re: urls in php [message #170538 is a reply to message #170536] Sat, 06 November 2010 20:02 Go to previous messageGo to next message
Magno is currently offline  Magno
Messages: 49
Registered: October 2010
Karma: 0
Member
On 11/06/2010 04:33 PM, Martin wrote:
> Hi all,
>
> How can I achieve urls without the .html extension? For example:
> www.domain.com/products instead of www.domain.com/products.html

Ask in alt.html.server-side or
comp.infosystems.www.authoring.site-design and I reply to you there.

> Is it SEO friendly?

They say so.
Re: urls in php [message #170539 is a reply to message #170536] Sat, 06 November 2010 20:20 Go to previous message
Martin is currently offline  Martin
Messages: 8
Registered: October 2010
Karma: 0
Junior Member
On 2010-11-06, Martin <Martin(at)mail(dot)invalid> wrote:
> Hi all,
>
> How can I achieve urls without the .html extension? For example:
> www.domain.com/products instead of www.domain.com/products.html
>
> Is it SEO friendly?
>
> thank you in advance
>
> Martin


Ok, thanks guys.
For some reason I thought it's got something to do with php.

cheers
martin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Comments legal? For loop legal?
Next Topic: 25 Essentials for Exceptional Email Campaigns
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:33:04 GMT 2024

Total time taken to generate the page: 0.04258 seconds