Want to clean the code .html in all my url !?
-
sutar
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
10 years 11 months 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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 11 months 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.
-
sutar
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.187 seconds