I've got a club site that uses wordpress and there is a section of the club that has their own domain and wants to point to an inner page. It's not appropriate to use multisite. I've had a look for a plugin that will allow me to redirect but haven't found anything. Before I write one I though I'd check in - does anyone know of one? I did find the pronamics plugin but it needs to create the landing page whereas we have an existing page that we want to land on. Essentially all we need to do is is the query string empty or / if so check the domain - does it match one of our special cases? yes, apply redirect; no, do nothing.
If you point a domain name at an inner page, that will be the root of said domain - your site probably won't work for people on that domain, since it requires the WP install (and all the included php files and so on) to run. If you just want that domain to land on a specific - and separate - landing page, then allow them full, normal access to the whole site, it may be better to build a copy of the page in HTML, put that in the root of the "other" domain and adjust all the links so they go to your main site. i.e. Have a separate landing page on that domain. If you want them to start on a specific page, but then use the whole site normally, you can point the "other" domain name at the root, same as your main one, and use a complicated set of .htaccess commands. I believe that can detect the previous page (i.e. anywhere but the "other" domain) and leave the user alone, as well as picking up the other domain name and redirecting them to the desired page (i.e. treating it as if they were referred to the primary domain by the referring one, and popping them off to the landing page - after which their referring domain will be the main one, so they won't get redirected from the home page). (I have no clue how to do this: I suck at .htaccess! Someone on here or Stackoverflow would know.) Alternatively, a wee bit of php with sessions would probably do the trick.
you can use a 301 redirect, Its done from Cpanel Under Park Domains. Or you can add these links to .htaccess RewriteCond %{HTTP_HOST} ^yournewdomainname\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.yournewdomainname\.com$ RewriteRule ^(.*)$ "http\:\/\/www\.yoursitename\.com\.au/yournewpagename_url" [R=301,L]
I am not sure I follow this but does anything actually happen on said page requiring some sorta input? I was thinking that rather than point to the page you could simply call it out the loop and let it actually live wherever. http://wordpress.org/support/topic/display-wordpress-content-outside-of-your-blog-corvid-works actually that is a post, will think that over a sec. Nigel