Forums

[resolved] 404 not found error message (7 posts)

  1. superslice
    Member
    Posted 7 months ago #

    Hi, I changed my url thesuperslice.com/blog to thesuperslice.com, a warning message came up telling me that this may cause my permalink to break & I decided to be stupid & hit ok. Now when I try to access my blog manager, I get an error message saying, "not found - The requested URL http:// was not found on this server." My blog still runs fine & all the pages load ok. Except I cannot access anything. Please help me.
    Thanks

  2. samboll
    moderator
    Posted 7 months ago #

  3. superslice
    Member
    Posted 7 months ago #

    thanks for your reply. I inserted the following code into my functions.php:

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

    this is what the code looks like after i inserted it. I am not sure if this is the right place its suppose to go. my blog manager is still not loading. by the way, i am using yahoo webhost, I hope that does'nt complicate things even more.

    <?php
    if ( function_exists('register_sidebar') ){
    register_sidebar(array(
    'name' => 'leftsidebar',
    'before_widget' => '',
    'after_widget' => '',
    'before_title' => '<h4>',
    'after_title' => '</h4>',
    ));

    }
    ?>update_option('siteurl','http://thesuperslice.com');
    update_option('home','http://thesuperslice.com');

  4. superslice
    Member
    Posted 7 months ago #

    I also tried it with adding the /blog at the end.

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

  5. superslice
    Member
    Posted 7 months ago #

    i gave up! copy & pasted the entire blog on a word doc, deleted it & started all over.

  6. d.busby
    Member
    Posted 7 months ago #

    Change your site url then run the following in your mySQL

    UPDATE posts SET post_content = REPLACE(post_content, 'OLD.URL.GOES.HERE', 'NEW.URL.GOES.HERE');
    UPDATE posts SET guid = REPLACE(guid, 'OLD.URL.GOES.HERE', 'NEW.URL.GOES.HERE');
  7. AD7863
    Member
    Posted 6 months ago #

    Lol, you gave up too easy. The would have been easier solutions ;)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.