sharamke Posted August 21, 2016 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.
Krydos Posted August 21, 2016 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?
sharamke Posted August 21, 2016 Author 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.
Krydos Posted August 21, 2016 Posted August 21, 2016 the link of apk file hosted at dropbox.Which is?
sharamke Posted August 21, 2016 Author 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.
Krydos Posted August 21, 2016 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');
sharamke Posted August 21, 2016 Author 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?
Krydos Posted August 21, 2016 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.
sharamke Posted August 21, 2016 Author 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now