WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problems with /blog URL (13 posts)

  1. marlanhenry
    Member
    Posted 2 years ago #

    I want to remove /blog in my URL on homepage. When i navigate, all the tabs are fine my site are fine but when i click back back to my "Home" it says page not found. Can anyone help please?

  2. fonglh
    Member
    Posted 2 years ago #

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Add /blog back in again. See See Changing_The_Site_URL.

    Then see Giving_WordPress_Its_Own_Directory.

  4. marlanhenry
    Member
    Posted 2 years ago #

    all the other pages work fine, its just when I click back on home it says it can't find it.

    define('WP_HOME','http://www.premiertrainingnetwork.co.uk');
    define('WP_SITEURL','http://www.premiertrainingnetwork.co.uk/blog');

  5. marlanhenry
    Member
    Posted 2 years ago #

    this stuff is a lil over my head

  6. marlanhenry
    Member
    Posted 2 years ago #

  7. loughcorrib
    Member
    Posted 2 years ago #

    Was this originally in a subfolder
    Do you want .co.uk as site address.
    Check in "admin/edit" the url of "home" is this url different.
    Try adding blog back and check links. Then see changing wp directory.

  8. marlanhenry
    Member
    Posted 2 years ago #

    yes /blog was the original. I just want .co.uk when i click the home tab. When i click on my banner logo its fine its just the home tab. check it out:

    http://www.premiertrainingnetwork.co.uk

  9. marlanhenry
    Member
    Posted 2 years ago #

    navigate away from it and hit the home tab..."page not found"

    Everything else is exactly how i want it!

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    Use the functions php method outlined in Changing_The_Site_URL to turn both urls back to http://www.premiertrainingnetwork.co.uk/blog then see the second link I gave above.

  11. marlanhenry
    Member
    Posted 2 years ago #

    for some reason i do dnt have a function.php

  12. marlanhenry
    Member
    Posted 2 years ago #

    i had it when i got the template but when i uploaded to FTP it doesn't show that php

  13. marlanhenry
    Member
    Posted 2 years ago #

    thank u guys!!! I've sorted it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.