greenmagnate
Member
Posted 8 months ago #
I have a form working on my site.
Now I want to create a Thank You page once the user hit the submit button, I have set the landing page as URL of new page...here I have a problem If I activate/ publish this page it 'll also start appearing in the top Nav bar ..
Is there any way I can hide an active page?
P.S Right now I am going to try it out using custom menu option...... but still open for any good suggestions.
Thanks
christogeretz
Member
Posted 8 months ago #
The custom menu is definitely the way to go. Post here if you run into issues!
As christogeretz said, try with the custom menu.
Also please note that if you don't disable the canonical url,
your thank you page will be very easily found by searching.
So if you want to hide your thankyou page, it would be a good idea
to disable the canonical url.
To disable it, drop the line of code in your functions.php
remove_filter('template_redirect', 'redirect_canonical');
or use the plugin.
http://wordpress.org/extend/plugins/disable-canonical-url-redirects/