WebSite X5Help Center

 
Darren Chong
Darren Chong
User

How to remove/hide index.php and .html from URLs?  en

Автор: Darren Chong
Просмотрено 2293, Подписчики 1, Размещенный 0  

HI all,

My website URLs showed /indx.php at main page and .html at remaning pages.

Could any one share how to remove or hide them from URLs?

Thaks in advance

Размещено
2 Ответы
Paul M.
Paul M.
Moderator

Hello Darren,

This is not a WebSite X5 feature, or anything to do with WebSite X5 as such.  URL rewriting is controlled by/from the server.

If you have an Apache server and have the mod_rewrite module enabled then you can tailor URL's to your specific preference.  Please see the following articles for some examples and further details:

https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite

https://www.sitepoint.com/apache-mod_rewrite-examples/

Kind regards,

Paul

Читать больше
Размещено От Paul M.
Darren Chong
Darren Chong
User
Автор

HI Paul,

Thanks for the information.

Читать больше
Размещено От Darren Chong