Forums / Suggestions / url rewriting and whitespaces

url rewriting and whitespaces

Author Message

Nicolas Ottavi

Tuesday 04 July 2006 6:28:55 am

Hi,

I would really appreciate to be able to change the "_" used to replace whitespace in url rewriting by a hyphen "-".

According to some SEO professionals hyphen are more efficient than underscores ...

Regards,
Nicolas

Nathan Kelly

Thursday 06 July 2006 2:37:25 am

Hi Nicolas,

I'm not an expert on .htaccess but I'm pretty sure this could be done with .htaccess and ModRewrite (apache).

Does anyone know if this is something that could be handled by .htaccess? I'd be interested to know how to change this URL behaviour also!

Cheers!

Pardon me while I burst into flames...

Nicolas Ottavi

Friday 07 July 2006 1:08:41 am

Hi Nathan,

That is a great idea, I completely didn't think about it ... I will have a look to rewrite rules ... (given the fact we are hosting the sit with LightHttpd server and not Apache, and rewrite rules are not the same ...)

Thanks for the advice, will probably be very helpful,

Regards,
Nicolas