WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Homepage Incorrectly Redirecting to Alternate URL (24 posts)

  1. golden108
    Member
    Posted 1 year ago #

    Hi,

    I'm fairly new to WordPress and would appreciate help in getting my website up again. Here's the issue:

    I created a new Page and added a Page Link to an alternate URL. Saved it and added it the menu.

    I didn't see that the page went to the top of the menu list (as all other pages normally went to the bottom and I moved them into their correct location)., and so I added the page again, moved it and saved the menu.

    SO: I accidentally added two pages with this link to an alternate URL. One was at the top of the menu, and one was in the correct nested location within the menu.

    When I checked the website, the entire site--from the main URL--now links to this alternate URL and I can't resolve it.

    I have deleted both of the pages with the Page Link, but the website still automatically redirects.

    Appreciate any advice in getting this resolved.

  2. golden108
    Member
    Posted 1 year ago #

    In the Appearance Menus I just found this:

    Home: Class Schedule

    Clearly the homepage has been set to Class Schedule which is why it's automatically linking. Anyone know how to remove this?

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    See Settings -> Reading. Then update your custom menu.

  4. golden108
    Member
    Posted 1 year ago #

    The homepage was a template homepage and not a page I created. I just updated content and images on the WordPress homepage and created new pages to populate the menu.

    In the Settings -> Reading, the options are for me to direct the Front Page to a page I created.

  5. golden108
    Member
    Posted 1 year ago #

    I just got in through a sub page and the HOME tab has gone from my top navigation menu.

    When I loaded the Class Schedule it somehow replaced the Home page, which is why it's redirecting.

    The Appearance Menu shows this: Home: Class Schedule

    I don't know how to unlink or undo this action to get the Home page correcting showing.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Site url?

  7. golden108
    Member
    Posted 1 year ago #

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you sure you actually published your new home page? If so, what is its id?

  9. golden108
    Member
    Posted 1 year ago #

    That's the thing, I didn't publish a new homepage.

    When I added a subpage (Class Schedule) through the Appearance Menu settings, it went to the top. Every other time I've added a page it went to the bottom and I moved it to the desired location. For some reason the page went to the top and got linked to the homepage. I'm completely at a loss for what to do, but at least I've identified the issue.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    I didn't publish a new homepage

    Well try publishing one now.

  11. golden108
    Member
    Posted 1 year ago #

    But I don't have the file - it was a template. I don't know how to locate the homepage file - it was never one I published.

  12. esmi
    Forum Moderator
    Posted 1 year ago #

    First, switch to the Twenty Eleven theme.

  13. golden108
    Member
    Posted 1 year ago #

    If I activate that theme, will I loose all of my content on theme 1438?

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    You shouldn't do.

  15. golden108
    Member
    Posted 1 year ago #

    Ok I activated the other theme. It's now showing.

  16. esmi
    Forum Moderator
    Posted 1 year ago #

    So the problem is specific to your original theme. Where did you download this theme from?

  17. golden108
    Member
    Posted 1 year ago #

    I downloaded from a template vendor online. I've had no issues whatsoever until now.

    The issue is specifically about when I loaded the Class Schedule through the Appearance Menu function it overwrote or got linked to the homepage. I don't know how to get the homepage back. I've looked in the PHP and the homepage appears to be there (the code)...but I don't really know code.

    I'm not sure what I need to do to get my homepage back.

  18. esmi
    Forum Moderator
    Posted 1 year ago #

    I downloaded from a template vendor online.

    I'm sorry but if you are using a commercial theme, you need to seek support from the theme's vendors.

  19. golden108
    Member
    Posted 1 year ago #

    When I switch back to the original theme 1438 - the homepage is not found. The HOME tab in top menu is missing.

  20. golden108
    Member
    Posted 1 year ago #

    But it wasn't an issue with their template. It was when I added a page in the Appearance Menu it overwrote or linked to the Home page. It was WordPress functionality, maybe the redirect plugin (which I've deleted).

  21. esmi
    Forum Moderator
    Posted 1 year ago #

    maybe the redirect plugin (which I've deleted)

    Now you mention a redirect plugin!

    Have you checked your root .htaccess file lately?

  22. golden108
    Member
    Posted 1 year ago #

    I had done a search and read on the forum that some have had a redirect plugin issue with pages linking incorrectly to other pages and the fix was to delete it.

    I tried that first before I wrote in to the forum. (Trying to find the solution and not waste time). But it didn't fix it.

    I don't know where the .htaccess file is located....what would I be checking for and how do I locate?

  23. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to look in your root WordPress folder. Ensure that your FTP client is configured to show all files - otherwise the .htaccess file will be hidden.

  24. golden108
    Member
    Posted 1 year ago #

    I ended up contacting the template provider and he reinstalled the homepage for me. Thank you for your time this morning.

Topic Closed

This topic has been closed to new replies.

About this Topic