Solved

PHP an activation code wordpress

Posted on 2014-01-27
1
394 Views
Last Modified: 2014-01-28
How do I handle Wordpress links when trying to pass a variable in a url?

my wordpress link structure:
www;MYSITE.com/activate/

My activation link structure:
BASE_URLactivate.php?x=my%40domain.com&y=8b958c895e0d621af2d387669524219f

Can anyone show me hoe to make this work?
0
Comment
Question by:rgranlund
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 500 total points
ID: 39814348
You would handle it like this, you would place your query parameters at the end of the WordPress URL structure like so:

http://www.MYSITE.com/activate/?x=my%40domain.com&y=8b958c895e0d621af2d387669524219f

Open in new window


Now you would simply need to include the coding to handle the activation in the template you used to create the http://www.MYSITE.com/activate/ page.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Echo values after a query in php 5 47
Update Set Column Query Not Working as Expected 6 40
Load string Array from file 23 36
Developers / Staff Setup 10 31
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question