Login
·
Signup
Home
»
XtGem
»
Coding help
»
How to Change Url Xtblog
» View post
alizainal.aljufri
Help me Mr. Graham, I want to change url xtblog from
http://domain.xtgem.com/index/__xtblog_entry/10265597/cara-membuat-url-posting-xtblog-tanpa-query.html?__xtblog_block_id=1
to
http://domain.xtgem.com/posts/__xtblog_entry/10265597/cara-membuat-url-posting-xtblog-tanpa-query.html?__xtblog_block_id=1
.
I use this code
{% set url = '/p/__xtblog_entry/'~data.post.url|split('?')|first|split('/__xtblog_entry/')|last~'?__xtblog_block_id=1' %}
Copy code
but eror. So, help me please!
#
2016-07-18 04:55 ·
(0)
Home
»
XtGem
»
Coding help
»
How to Change Url Xtblog
» View post
Online: Guests: 1
Log in