Cleverwise Redirect it.
-
Can you use your redirect for affiliate sites ?? The site provides you with a url code and if I’m correct in my thinking, your plugin can be used to redirect the user to the site with simply adding the code name and the affiliate url. It will not display the url to the user, it will simply take them to the site. Am I correct in my thinking ??
Thank you..
-
That is correct. The plugin will give you a link at your WordPress site. The destination URL can be any URL on the Internet.
So visitors won’t know the destination until they visit the URL. Plus if you need to change the destination URL no problem simply modify it and then any new clicks will go to the new URL.
Does that help?
I must be doing something wrong ??
Created the redirect.php file and gave it a 777 access
Entered the destination url as – https://site.redkings.com/index.cgi?anameroyalnugget
Gave it a redirect name – redking2
And the plugin generated the following – https://royalnugget.com/redirectit.php?l=redking2
When I click on the redirect link it gives me a server error 400.
What am I doing wrong ??? An example in the help file would be a nice thing to add as to how to use it as a simple redirect or as an affiliate code redirect. That would be of great help as to what goes were. thank you…
I understand the setup can be a little challenging but once in place it should work very well. I just ran a test on my development setup and all worked with the links provided. Well with your destination URL and the redking2 name (obviously my URL is different). My company uses this system to redirect affiliates too.
I will be happy to work with you to get this up and running.
You mentioned you created the “redirect.php” and 777. Did you leave off the it? It should redirectit.php unless you changed the name in the “Settings” link to match redirect.php. I just want to check because the name needs to match.
Once this completed use the “Build Redirect File” link in the Redirect It control panel. This actually loads your link(s) into the file. The redirect should work.
What happened?
I created the redirect file and named it – redirectit.php and set the access to 777.
I then enter the destination URL with all the https:// info in the URL.
I then give the redirect a name – red
I then hit create buttonPlugin say’s it created the URL
I then hit the rebuild at the top of the screen
Plugin say’s it’s been updatedI then go into the search and pull up the URL I just created and all the information is there and looks correct.
I then click on the redirect URL and get a 500 server error and say’s file can’t be found.These are the steps I take to create the redirect URL. If I’m doing something wrong, please explain.
Thank you and hope to hear from you soon…
BTW: This is the url I’m using
I noticed the error code changed which is good as it means the file was overwritten. You are adding redirects correctly. It sounds like your settings aren’t quite correct.
In “Settings” tab put the following:
1) Redirect File Name: redirectit.php
2) Absolute Path To Redirect File: (I am guessing you didn’t change this as it should just find your local WordPress)
3) URL To Redirect File: https://royalnugget.com/
4) The final two are up to you. Now hit “Save” button.
5) Hit “Build Redirect File” link. Then try https://royalnugget.com/redirectit.php?l=redking2What happened? I still think it is either a path or permissions issue if this fails. I am open to helping you install this plugin directly on your site if this fails and you want my assistance.
Well, I’ve tried all your recommendations and even tried a few of my own and still no luck. Although I did get it to redirect back to my site that display’s the site I need it to go to. But other than that I keep getting the server error 500.
I even tried the .htaccess and set the plugin to “advance” and still nothing.
If you click on the link you posted above, you’ll see the error the system is throwing out at me.
Any other suggestions ???
Other than the problem I’m having, it looks to be a nice plugin and the only thing I would like to see is a hit counter added. In this way you would be able to monitor how many times the redirect link was used.
But that’s a story for another day…Onward we go…
1) Let’s try one last path modification (which probably should be the default in the plugin).
A) In “Settings” change your path to “../” and that’s it for the path just “../” (no quotes).
B) Also if not done change the URL Type back to “Standard” and hit save.
C) Now click on “Build Redirect File” and then test a link.2) Should the above fail I need more data to solve this properly. I would ask you download your redirectit.php to your computer open it up and add the following code just below
<?php
on its own line puterror_reporting(E_ALL); ini_set('display_errors', '1');
So the top would look like:
<?php error_reporting(E_ALL); ini_set('display_errors', '1');
Now save and upload the file back to your site and try to visit https://royalnugget.com/redirectit.php which should now display some error code other than the HostGator message. I will need to see the error(s) message, so please do NOT rebuild the redirect file. I am hoping HG hasn’t block that function in the PHP settings (we will see).
> it looks to be a nice plugin
Thanks. I am sorry you are having trouble as this is an odd error.
> hit counter added
I have thought of that. This redirect system was originally part of another system I programmed. I decided to end that system and make an internal WordPress plugin for all our company sites.
Then figured others might enjoy it so this is my first publicly released plugin. I have designed many others which I am planning on releasing soon too. I have been slowly redesigning many internal systems to work directly with WordPress. I still have many others to recode as many WordPress sites have systems that are external to WordPress and it makes management a hassle like our daily quotes system.
As for this plugin I could make it work off the database directly but in an effort to save the database (keep site faster) I have tried to limit database calls (queries). I am very big into security and performance. Anyway I digress.
Let me know what happened.
Suggest you contact me direct at [email protected]. Thank you
I sent you an email earlier.
I wanted to leave a follow-up saying I emailed you on Saturday. I am not sure if you got my message or not, however since I hadn’t heard from you I thought I would leave a post.
I did send a message to you direct informing you I was under the weather.
Anyway, tried all your options and still no luck as well as installed the the debugger that you instructed me to do and no luck there either as it’s not posting any error. So, I assume HG is closing that out for some reason. Again, please email me and I will respond.Thank you..
I just sent an email direct to you, hope you get it.
I didn’t get the first one but I got the one today and replied. I am not sure why the first email from you failed. However I see the error.
The issue here was HostGator doesn’t allow permissions of 777 or 666. A permission change to 755 worked and resolved this issue.
- The topic ‘Cleverwise Redirect it.’ is closed to new replies.