• Okay, I’m not a noob here. I’ve scoured a bunch of posts and books and still can’t seem to find a simple and elegant solution to my satisfaction.

    All I want is to create a simple html file for a static home/splash page. I don’t want it to look anything like WordPress. I simply want it to point to different links on the site. Simple, right?

    I also really want the site to have intuitive URLs:

    example.com <– home page / splash page (the one I hand code with HTML)
    example.com/blog <– the blog page
    example.com/about <– self-explanatory
    example.com/contact <– self-explanatory

    I know about the Reading settings:
    https://codex.www.ads-software.com/Creating_a_Static_Front_Page
    and using Permalinks,
    and also about using the WordPress address and Site Address.

    Currently I have WordPress in its own sub-directory (under “/blog”), mainly for cosmetic reasons (perhaps my first mistake?), but each time I point the site address URL from “example.com/blog” to “example.com”, the site goes offline.

    Thoughts?

    Oh — this is a brand new install, so I can clean the DB tables, etc., with no problem if need be.

Viewing 3 replies - 1 through 3 (of 3 total)
  • if WP is in the blog directory, you can’t make the url example.com

    It would have to be example.com/blog

    if you want to get rid of the /blog, you need to run wordpress from the root rather than a subdirectory

    But if you want to have a separate document residing in root, you really can’t also have WP in root

    Thread Starter rosspruden

    (@rosspruden)

    Hmm…. so it seems the short answer is, “no.” ??

    So I guess my question is—is what I want even possible? I’m pretty sure I’ve seen hotlinked non-WP splash pages on other WP blogs…

    Thread Starter rosspruden

    (@rosspruden)

    Interesting. Take esmi’s post:

    Create a new page template, name it “Splash Page”. Add to theme. Create new page in WP using new template. Use Admin/Reading/ to set front page display to static page and pick new page from dropdown.

    The new splash page template doesn’t have to use the_content or the_excerpt. You can hardcode the page’s content within the template.

    So is it possible/safe to create a WP page but strip away its header, its contents, etc. Basically, let it retains its central WP coding, but to the naked eye, it doesn’t (necessarily) look like a WP page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting home page URL’ is closed to new replies.