404 error page ko homepage par redirect kaise kare


(Ranjit Verma) #1

Mera blog blogger Blogspot par hai. Mare blog par 404 error homepage par redirect nahi hota.

Internet par bahut scripts mili but wo bahut slow work karti hai. So please muje aisi script do yo fast work kare.


(Ajay Kumar) #2

Me apko script dae skta hu yo me personally use karta hu. Kya apko chahiye.


(Ranjit Verma) #3

Yes, muje script Chahiye bhai please do boh script.


(Ranjit Verma) #4

But uski redirection speed achi honi chahiye bhai


(Ajay Kumar) #5

Uski redirection speed bahut achi hai. Aur bo properly work karti hai. Don’t worry

Thoda wait kariyae me apko abi deta hu.


(Ranjit Verma) #6

Ok, send kariyae muje bo script bhai.


(Ajay Kumar) #7

Wait brother. Me abi deta hu.


(Ajay Kumar) #8

Ye lo bhai script


(Ajay Kumar) #9

Bhai send nahi ho rhi kya kru.


(Ajay Kumar) #10
<script type = "text/javascript">

//
BSPNF_redirect = setTimeout(function() {
location.pathname= “/”
}, 0);


(Ranjit Verma) #11

Me apne blog me check karke dekhta hu bhai. Abi isko


(Ajay Kumar) #12

Ok, check kariyae app isko aur apna review dae.


(Ranjit Verma) #13

Thanks brother ye code work kar rha hai properly.


(Ajay Kumar) #14

Good brother. I am happy ki apki me help kar paya.


(Kunwar Sahil Dadwal) #15

Go to your Blogger dashboard, select your blog and click the Settings menu item > Search preferences > Custom Page Not Found.

Copy and paste the following code inside the empty box:
Sorry, the page you’re looking for in this blog does not exist.
You will be redirected to homepage shortly.

just replace pathname to href and / with the url of your page.


(Rahul Singh) #16

Code working per brother. Very good brother.