passing GET url, page not found
-
Hi,
I have a custom script which redirects back to a wordpress page and needs to send several variables in the url. I’m not trying to keep pretty url’s for this but I have the permalink set to %post%.
I tried
header('Location: https://devIPAdress/mypage/?name=fred');
But I get 404 page not found.The .htacces file only has the one rule
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /mysitedir RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Is it necessary to mess with all the rewrite stuff since I’m not trying to pass vars like ‘mysite/mypage/var1/var2’ but just trying to use regular old GET vars?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘passing GET url, page not found’ is closed to new replies.