• Hi,

    I think what I would like to do is very simple but I still wasn’t able to find anything online – maybe I just for the wrong names.
    I have a WordPress-site and a newsletter for that site. For the newsletter I use Sendy and Amazon SES. The list for the newsletter is set up to be double opt-in. As soon as someone puts their information in the subscription form they get redirected to a different page. Right now that is a generic page from Sendy on a different domain and I would like to create a “sub-page”/new page on my domain which is not normally accessible (only through that form) and tells the users that they’ll get a mail with a confirmation link. After about 10s they should be redirected back to the homepage of my domain.

    So:
    I would like to create this page:
    mydomain/subscribe
    and I’d like to use simple html code just to tell people:
    1) you’re gonna get an email where you have to confirm your subscription
    2) you’re gonna be redirected to the homepage of my domain in 10 seconds
    3) if that doesn’t work, klick on this link.

    Any ideas how I could do that?
    Thx a lot!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you don’t care if it looks like the rest of your site, just create the page in html and you are done. (WordPress is not involved on requests for existing pages.)
    If you want it to be in a WordPress page, create it and keep it off the menu. You might have to use a plugin to insert the 10 second redirect for that page.

    Moderator bcworkz

    (@bcworkz)

    Why a flat .html page? I don’t see why this couldn’t be a WP page. Then it will appear more integrated into your site. What’s the point of having a page on your domain if it doesn’t look like it is part of your site?

    If you use a custom page template just for this page, PHP code can check the referer (sic) URL and if it is not the form page’s URL, send users to the form page. (PHP redirects must be done before any output). The redirect to home after 10 secs could be done through JavaScript.

    Thread Starter teelight

    (@teelight)

    @joyously thanks for your answer! I guess the biggest problem I have is that I actually don’t know how to create a new “empty” page at a given link and where to insert that piece of html code..

    @bcworkz because I’m a beginner with building websites and I found a finished piece of html code which does exactly what I want it to do online and so it would be quite efficient. Since the page is only supposed to tell people that they will get an email where they have to click on the confirmation link and will be visible for a few seconds only I don’t really care that much about the design – that plus the fact that the website doesn’t feature that much of a design anyways, it’s just a slideshow on top and that’s about it ??

    To make a plain HTML page, it will have to be named with either .htm or .html extension. Use FTP or your host control panel File Manager to put the page into the root folder of your site. Then use that address in your link to it.
    You said you wanted mydomain/subscribe but it would need to be mydomain/subscribe.htm or you could put it in a folder like mydomain/subscribe/index.htm and test that this works as mydowm/subscribe.

    To make it in WordPress, you Add New page and title it Subscribe (which should set the permalink to mydomin/subscribe/). Switch the editor to HTML mode and paste the body portion of the HTML into the editor (don’t include the body tags). Then use a plugin like Simple Custom CSS and JS to put the head section of the HTML in for that page. You really only want the part that redirects, so you might have duplicate stuff if you copy too much.
    Make sure that page didn’t get added to your menu.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘create pure html page in wordpress’ is closed to new replies.