Easy script problem (showing current url)
Good evening :)
Ok, I am using Advanced Poll script and .htaccess, which is proving to be a problem, see when people vote, they are taken to the .php page instead of the rewritten page.
Here's an example, /fight.html is actually /cool/fight.php so when people vote on /fight.html they are taken to /fight.php which doesn't even exist, I want it to take people to the current page they are on after rewrite not before rewrite. Here is the script
So basically this script take people to the directory that the page is rewritten in (not the file where the file is), and the name of the file (not rewritten, so if origanal file was go.php and rewritten is go.html it take people to the file go.php).
So what it does:
Rewritten page: /go.html Non-Rewritten: /dir/go.php When you click vote you go to: /go.php
What I want:
When you click vote, you go to the exact page that was in the address bar before.
Hopefully I wasn't to confusing, if I was please tell me. I am lost, and will take any help anyone will give me, thanks in advance. :)
i just redirected it, its fine now..
|All times are GMT -8. The time now is 08:14 PM.|
Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.