• Resolved xhu

    (@xhu)


    Hi, i have a problem on how to change the home page URL, i have been searching in this forum but cannot find what I’ve been looking for. Example, my site is mysite.com and i want to change the home page ‘only’ to mysite.com/home.

    Anybody can help me? Any answer is much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you define in (settings/reading) a static page as “home” instead of loop posts and the title of the page is home… Actually your address will be

    mysite.com/home

    But the address will be “rewrited” when a user enters by “mysite.com”

    I’m not sure if this solution (change the configuration of reading is what you’re looking for)

    By the way you don’t explain if your homepage is a static content page or a post loop.

    If you can explain your problem with more detail i’ll try help you.

    Thread Starter xhu

    (@xhu)

    Thanks for your respond aritzalvarez, i appreciate it very much. I seldom got responses when i try to post a problem here.

    My home page is a post loop, i think (the option in my Reading Settings is: Front page displays – Your latest posts). I would like my home page to be mysite.com/home and not mysite.com. I tried renaming the Site Address (URL) in the General Settings of the dashboard. But when i click on the navigation tab of my homepage and redirect to other page, the URL look something like this, mysite.com/home/category/attractions/. I ‘only’ want my home page to be change. I am planning to add a custom landingpage in my mysite.com that’s why i want to change only the URL of my homepage.

    Any help is very appreciated.

    I think there’s a solution for your problem… Tell if it’s ok yo you…

    First you should create (if you don’t did it) two static pages, “home” and “landind”

    Then, go to Reading settings and select: Front page displays – A static Page and then select in dropdown…

    Front page “landing”
    Posts page “home”

    Now, your front_page will be “landing” (it’s what will be shown in https://www.mysite.com) and you post loop (you lastes posts) will be shown in https://www.mysite.com/home

    I guess it’s what do you want to do ?It’s right?

    Thread Starter xhu

    (@xhu)

    Hi, thank you for your immediate respond, i tried what you have said and it work great, thank you very much, I’ve been searching for this solution and I am very thankful!

    I got what i wanted the https://mysite.com/home and their is something i discovered. I created a landingpage.php and upload it on the themes folder. I added a code above it:

    <?php
    /* Template Name: Custom Homepage */
    ?>

    and in the dashboard of the wordpress in the Pages and i edit the landing, which you have told me to create, their is an option at the sidebar Page AttributesTemplates then select in drop down and choose Custom Homepage. And when i input in the URL https://mysite.com the landingpage.php that I have created will appear.

    Thank you very much ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change home page URL only?’ is closed to new replies.