Tuesday, April 28, 2020

Hide index.html from Wapkiz site url

Assalamu Alaikum. Hope you are well. In this tutorial I'll show you how to hide index.html from wapkiz site url. We will use a JavaScript code for hidden index.html from Wapkiz site URL. I'm using this script on my Wapkiz site.

Usually wapkiz site homepage link look like this - https://site.wapkiz.com/index.html (Wapkiz Sub Domain url) and http://site.com/index.html (Custom domain URL which is parked on wapkiz). After adding a script, index.html automatically deleted from wapkiz site url. Follow Below steps to hide index.html from wapkiz url.

Hide index.html, hide index.html from wapkiz site url, remove index.html, remove index.html from wapkiz

How to hide index.html from Wapkiz site url

Step 1: Login to your Wapkiz account, select your site and go to panel mode.

Step 2: Now, look for Meta Header and click on it.

Step 3: Now copy this code and past it on meta header textarea box.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> var uri=window.location.toString();if(uri.indexOf("index.html","index.html")>0){var clean_uri=uri.substring(0,uri.indexOf("index.html"));window.history.replaceState({},document.title,clean_uri)} </script>

Step 4: Now, click on edit meta tag for save the code.

Congratulations you have successfully saved the code. Now visit you site using View Mode and you'll see index.html was manually hidden from your site.

Thank you guys for visit IHDesign and read this post. Stay connect with us for more post like this. If you face any problem please comment below and also share your opinion in comment section. Don't forget to share this post to your friend. Khoda Hafej.

Latest
Next Post

Everyone wants Happiness, No one wants Pain, But you can't make a Rainbow without a little Rain. Facebook Instagram Twitter Youtube

0 comments: