• Resolved davidpgriff

    (@davidpgriff)


    [ Moderator note: moved to Fixing WordPress. ]

    Hi everyone.

    I have a WordPress website with a splash / landing page. It shows a logo which when clicked takes the visitor to the main bulk of the website, which is the WordPress install (it’s in a sub-folder). I wish to remove the splash / landing page so going to the .com will lead straight to the main bulk of the website / WordPress install.

    website.com — splash page
    website.com/site/ — main bulk of site / WordPress install

    I know I could modify my domain name to point directly to website.com/site/, but will this destroy my permalinks? I have a lot of posts that are using the full URL (website.com/site/postname)

    Or I could edit the settings in my WordPress Dashboard under Settings > General. There’s WordPress Address (URL) and Site Address (URL). I have had issues tinkering with these in the past, so I am hesitant…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Karan NA Gupta

    (@nuancedesignstudio)

    Hi,

    You can try changing what your Front Page should display from Dashboard->Settings->Reading. You Static Front page would currently be set to your Landing page.

    Regards,
    Karan

    Thread Starter davidpgriff

    (@davidpgriff)

    In Settings > Reading I actually have it set to show my latest posts, which I don’t want to change.

    In my FTP I have it set up so the .com goes to my “public_html/index.html” which is the splash page. And clicking on the logo on the splash page goes to the main bulk of the site, the WordPress install, which is in a sub-folder, so essentially “public_html/site/”

    In Settings > General, my WordPress Address (URL) is set to “https://website/site/” and same as the Site Address (URL) “https://website/site/”. But as I said, I’ve tinkered with these in the past and encountered issues, so I am hesitant to try those again. Unless someone can convince me it’s safe to do so!

    I know if I alter where my domain points to I will be in trouble (permalinks will be destroyed).

    Karan NA Gupta

    (@nuancedesignstudio)

    Ok, if I understand correctly your landing/splash is not related to wordpress. It’s a separate HTML page that redirects to your wordpress installation under the site/(or some) folder.

    If you want your site to work as https://website.com then you’ll have to change the Site Address (URL) and perform some additional steps. Only changing the Site URL will break your website as you’ve already encountered.

    Here is the detailed documentation – Have a look at Method II.
    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    Note: this will remove the subfolder occurrence from your permalinks but your website and permalinks will still work. So a page like https://website.com/site/about will now be https://website.com/about. Your dashboard will still be accessible through https://website.com/site/wp-admin

    1. You’ll have to get rid of your splash page from FTP manually before your begin the process mentioned above.
    2. Don’t change the WordPress address (URL): it should reflect the address of your main WordPress core files. Example: https://example.com/wordpress
    You can start with Step 4.

    Karan

    Thread Starter davidpgriff

    (@davidpgriff)

    Thank you! I will give that a go ASAP!

    Thread Starter davidpgriff

    (@davidpgriff)

    Oh, and yes, you understand this 100% correctly. ??

    I have a couple questions… You wrote:

    Note: this will remove the subfolder occurrence from your permalinks but your website and permalinks will still work. So a page like https://website.com/site/about will now be https://website.com/about. Your dashboard will still be accessible through https://website.com/site/wp-admin

    So does that mean that all my old posts (for example https://www.website.com/site/post01) will be changed to https://www.website.com/post01? Or will old ones remain as was and only future posts appear without the “/site”?

    I don’t want the old post links / permalinks to change at all because I have a Facebook and Twitter account that has links to all the posts. So if the old post links / permalinks change, all those social media links will no longer work.

    Karan NA Gupta

    (@nuancedesignstudio)

    Hi,

    So from what I know, (past/future) permalinks won’t (and shouldn’t) change as your WordPress is already installed in a subdirectory. So https://www.website.com/site/post01 will still be https://www.website.com/site/post01 but when a visitor visits the page it will appear as https://www.website.com/post01. This is because the Site URL is https://www.website.com. However to access your dashboard you will have to provide the subdirectory i.e. https://www.website.com/site/wp-admin

    My own website is in a sub folder. You can see that after visiting this link the subfolder is not visible, but if you copy the hyperlink to your text editor, it contains the subfolder in it. In fact any page of the site works with or without the subfolder after the domain name.

    Regards,
    Karan

    Thread Starter davidpgriff

    (@davidpgriff)

    Hi! Thanks again for the great info and instructions. I’m quite late, as I only just got around to implementing this, but it’s done now and works great. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Removing My Splash / Landing Page’ is closed to new replies.