* filmbokep * Graham i already delete the old 404 html, and change to a new one, but its not working too. please help me graham..... what shoud i do.
thanks
2015-11-28 02:32 · (0)
* filmbokep * Graham ok, i will change my 404 script. Please give me the script.
2015-11-27 19:59 · (0)
* Graham * filmbokep The problem is with your 404 script (based on one of my old ones)
the script in the twig does the redirect and your 404 page sends it straight back again because the blog post is the referring url and therefore the address the 404 script redirects back to
so it ends up in a loop
2015-11-27 18:46 (edited 2015-11-27 19:02 by Graham ) · (0)
* filmbokep * Graham by the way this is the link already delete in my post in xtblog

http://filmbokep.link/index.php/__xtblog_entry/10755263-film-bokep-menikmati-permainan-sex-dengan-gadis-cantik-54mb?__xtblog_blog_page=2&__xtblog_block_id=1#xt_blog

you can open it sir, its still not direct to 404 url
2015-11-27 18:26 · (0)
* filmbokep * Graham i got trouble, when i put that script in bottom of xtblog.twig and i open my site (i am just write the domain) its direct to 404 url, and when i am delete again that script is back to normal, but my xtblog look like untidy , the title and the picture not in the center.
sir, i am not to understand about code / script. can u help me just sent the xtblog.twig to me. but that twig file already modification by you to me. i need url 404 working and my xtblog twig looking good already in the center.

for your attention i say thank you very much
2015-11-27 18:19
*
* link.jpg · image/jpeg · 55.97KB
· (0)
* Graham Just a thought but I think you should redirect to a page that does not exist so that the proper error code is set
for example
<script>window.location.replace("/404");</script> is a redirect to an existing page so 404 is not set
<script>window.location.replace("/404.html");</script> is a redirect to a page that does not exist so xtgems 404 system takes over and sets the correct error code and loads the custom 404 page
2015-11-27 11:01 · (0)
* Graham * filmbokep You need to create _xtgem_templates folder and upload the blogs twig file to it and then edit that
Upload by remote server from https://dl.dropboxusercontent.com/u/2162515/xtgem_blog.twig
and rename it xtblog.twig
2015-11-27 01:55 · (0)
* filmbokep * Graham am i put the code in index...? Or in another place....?
2015-11-26 23:14 · (0)
* Lordeagle * Graham Better
2015-11-26 21:01 · (0)
* Graham * Lordeagle The title is not set for non existing posts so that would not work but you can set it in the blog twig
at the bottom of the twig file is the bit that outputs for non existing entries

{% block no_entry %}
<div class="xt_blog xt_list">No blog entry found</div>
{% endblock %}

You can add the redirect here
{% block no_entry %}
      <script>window.location.replace("/404");</script>
{% endblock %}

Copy code
2015-11-26 19:52 (edited 2015-11-26 19:53 by Graham ) · (0)

Online: Guests: 1