sharamke Posted August 21, 2016 Share Posted August 21, 2016 Hello, yesterday I've added a redirect but till now it's not working. Main domain: http://allahsaysharamkejey.tkRedirect: ALL/dl/apkRedirect to: dropbox file link. PS: in the website, click on android icon, if redirect work s, it should redirects to dropbox hosted file's download link. Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 21, 2016 Share Posted August 21, 2016 So you want to redirect all traffic to http://allahsaysharamkejey.tk/ to somewhere else? What is the link you want to redirect them to? Quote Link to comment Share on other sites More sharing options...
sharamke Posted August 21, 2016 Author Share Posted August 21, 2016 No, not all. Only http://allahsaysharamkejey.tk/dl/apk to the link of apk file hosted at dropbox. ALL/dl/apk is same as http://allahsaysharamkejey.tk/dl/apk because I've only one domain in my account. Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 21, 2016 Share Posted August 21, 2016 the link of apk file hosted at dropbox.Which is? Quote Link to comment Share on other sites More sharing options...
sharamke Posted August 21, 2016 Author Share Posted August 21, 2016 https://dl.dropboxusercontent.com/s/yw69fapwnq5vgc6/ALLAH Say Sharam Kejey.apkTell me if it helped in resolving the issue I'm facing. Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 21, 2016 Share Posted August 21, 2016 When you go to http://allahsaysharamkejey.tk/dl/apk it says 404 not found index.php so create an index.php file there with these contents: <?php header('Location: https://dl.dropboxusercontent.com/s/yw69fapwnq5vgc6/ALLAH'); Quote Link to comment Share on other sites More sharing options...
sharamke Posted August 21, 2016 Author Share Posted August 21, 2016 So you mean every time I've to make a redirect, I've to make index file with contents like above after adding redirect in cpanel? Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 21, 2016 Share Posted August 21, 2016 No, a php header redirect is just one way you can do it. You can also use html, or .htaccess etc. The reason I suggested php header is because when you click your link it is looking for index.php anyways. Quote Link to comment Share on other sites More sharing options...
sharamke Posted August 21, 2016 Author Share Posted August 21, 2016 When we use redirects in cpanel, it uses .htaccess method. Why is it not working in my case. I've checked .htaccess file, redirect link is there but it wasn't redirecting. Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 21, 2016 Share Posted August 21, 2016 Something was probably interfering with it. Quote Link to comment Share on other sites More sharing options...
sharamke Posted August 21, 2016 Author Share Posted August 21, 2016 Ok thanks a lot for helping me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.