WordPress custom form post to different page

If you choose to use contact form 7 plugin then you can find very detailed instructions here. Basically you need to create a custom filter using wpcf7_form_action_url hook. Another option would be to create child-theme and create your custom form there, but that IMHO would be a bit of an overkill.

How to get the correct URL on my wordpress site?

A combination of answers for you. To remove the “wordpress” from your URL path, I would recommend the following step-by-step on “Using a pre-existing subdirectory”. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install The end result will be your WordPress content pages at “mydomain.no” instead of “mydomain.no/wordpress”. The second part of the problem will involve writing 301 redirects for the URLs that … Read more

Custom url for custom post types

Use add_rewrite_rule() function custom_rewrite_rule() { add_rewrite_rule(‘^nutrition/([^/]*)/([^/]*)/?’,’index.php?page_id=12&food=$matches[1]&variety=$matches[2]’,’top’); } add_action(‘init’, ‘custom_rewrite_rule’, 10, 0); you can use if ( ‘myposttype’ == $post->post_type ){} to make it post type specific. Weather you want to add it inside the function or wrapping the add action is up to you.

Domain name to a page

Add these values in your wp-config.php define( ‘WP_HOME’, ‘http://www.example.com’ ); define( ‘WP_SITEURL’, ‘http://www.example.com’ ); These will overwrite your database values with above. This is a temporary fix. But to fix this issue permanently. You will have to change URLs in database. You can run these mysql queries to change your URLs from http://100.100.100.100 to http://www.example.com … Read more