0

I need to implement one time URLs in a wordpress website.
I found this script on phpclasses website and I integrated it in wordpress and it seems to work.

I think this script can also be useful to other users, and so I'd like to ask if someone can help me.

In my case, the script is rewriting the URL, but when I click on it, it redirects me to a 404 page. Is it possible that the problem is in the .htaccess file?

0

Is it possible that the problem is in the .htaccess file?

Almost certainly. Double check that you've updated the correct .htaccess file - and that your host supports using .htaccess files! See this question for more details.

  • Thanks for the reply. Yes, my host supports using .htaccess files. If I write RewriteEngine on RewriteRule ^faked/(.*)$ /$1 [L,NC,R=302] "faked" is removed from url but still refer to page 404. Is anybody interested in this script? – Luke Apr 27 '16 at 9:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.