× Here you can get community support related to ReDJ.

Want to clean the code .html in all my url !?

More
10 years 1 day ago #2396 by sutar
Hi,

Hope you can help me... ;)

I just want to redirect
mysite.com/blabla.html
to
mysite.com/blabla

But i need one rule to all my urls.

I've tried this...
From url: ^.html$
To url: http://{siteurl}{path}

But inside {path} we stay with ".html" then how to do this?
I do not have loop when i try this.

Thanks in advance

Please Log in or Create an account to join the conversation.

More
10 years 1 day ago #2397 by admin
Ok,
try this:
From URL: \.html$
To URL: http://{siteurl}{pathrtrim .html}
Request only: true (checked)

Do not use the caret ^ (it means "start with" and is not the case now).

Kidn regards,
Luigi
The following user(s) said Thank You: sutar

Please Log in or Create an account to join the conversation.

More
10 years 23 hours ago #2398 by sutar
It's working like a charm!
:woohoo:
Merci!

Please Log in or Create an account to join the conversation.

More
10 years 23 hours ago #2399 by admin
U're welcome! ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds