Forums

[resolved] HELP! log on screen and blog not found 404 (5 posts)

  1. bogscab
    Member
    Posted 1 year ago #

    Hello,

    I'm not a techie and quite new to blogging. I have this site which I posted my first blog last week- http://www.pinoyshooter.org/bogs. The problem is that I was exploring the site and went to Settings>General and tried to change the url to http://www.pinoyshooter.org/bogsPhilippines. Now its showing file not found 404. I can't access my admin since it's also showing the same problem- http://www.pinoyshooter.org/bogs/wp-admin.

    Any solutions?

    Thank you.

  2. govpatel
    Member
    Posted 1 year ago #

    You will need to change those urls back as once installed you should not change those urls in General

    You need open functions.php in working theme and then FTP to the site, and get a copy of the active theme's functions.php file.
    You're going to edit it in a simple text editor (like notepad) and upload it back to the site.

    Add these two lines to the file, immediately after the initial "<?php" line.

    update_option('siteurl','http://example.com/blog'); update_option('home','http://example.com/blog');

    Use your own URL instead of example.com/blog, obviously. and then save the file and upload it back. Load the login or admin page a couple of times. The site should come back up. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

  3. bogscab
    Member
    Posted 1 year ago #

    Thank you govpatel. I appreciate the quick reply.

    But I researched and tried what you said here-
    "You need open functions.php in working theme and then FTP to the site, and get a copy of the active theme's functions.php file.
    You're going to edit it in a simple text editor (like notepad) and upload it back to the site. "

    I still don't understand it. How do I go about with what you said? "open functions.php'?

    Can you please explain it like I'm a 7 year old? Thank you for your time.

    Bogs

  4. govpatel
    Member
    Posted 1 year ago #

    There are few ways you reset the urls

    http://codex.wordpress.org/Changing_The_Site_URL

    you can use which ever method you are comfortable with.

  5. bogscab
    Member
    Posted 1 year ago #

    Thanks govpatel. I aprreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic