• Resolved followrobandjek

    (@followrobandjek)


    Hi guys.
    I’m new to the forum. I’m facing a problem I cannot solve.
    So I have my WordPress and my domain is followrobandjek.com

    Before I used to access my wordpress admin page simply from followrobandjek.com/wp-admin

    I changed a couple of hours ago in admin page, settings the wordpress URL in followrobandjek.com/wordpress and the site URL in followrobandjek.com (before that the main wordpress address was followrobandjek.com)

    I did it cause I wanted the main page of my website to be the one I’m currently building with OptimizePress, and not the normal wordpress website page.

    Now I’m not able to access my admin page anymore and I have no idea how to go back.

    I have read all the guides on how to change the directory of my wordpress, but it’s not easy for me to understand.

    Right now I’d just love to go back to the start to be able to access my contents again.

    I’m using a cPanel from my hosting service provider. I moved all the wp core files to a different folder/directory which I named after my domain, but nothing happens and it’s still not accessible.

    Can somebody be so kind to help me going back to the start please? I thought following the instructions I found was easier but I was wrong.

    Thanks guys

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Undo the following:

    I moved all the wp core files to a different folder/directory which I named after my domain, but nothing happens and it’s still not accessible

    Try:

    Go to cPanel > PHPMyAdmin > your-database > wp_options > siteurl

    and change the value to your domain followrobandjek.com (ofcourse with https:// protocol) and see if it helps

    Thread Starter followrobandjek

    (@followrobandjek)

    Thanks now I’m able to access my wordpress portal again!!

    I still don’t have access to the website. Every time I type followrobandjek.com online this is what I get and I really don’t understand whats wrong in the .htaccess or index.php files:

    Parse error: syntax error, unexpected ” );’ (T_ENCAPSED_AND_WHITESPACE) in /home/followro/public_html/index.php on line 17

    You might want to try re-uploading a fresh copy of the index.php file that lives in your root directory.

    The contents of that file should be exactly this:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

    That parse error is telling you that there’s something else in there.

    Thread Starter followrobandjek

    (@followrobandjek)

    thanks!!! I checked in both of the index files. one is under my root directory and it’s already like that. the second one is under my secondary directory called /wordpress and it is also the same.

    So this is the current situation
    wordpress URL followrobandjek.com/wordpress
    site URL followrobandjek.com

    in the file manager I have:
    a) root directory called public_html with wordpress directory (folder) inside, .htaccess file, index.php file and an errorlog.php file.
    b) wordpress secondary directory inside the root with all the core files, including another .htaccess and index.php and error log.php

    I’m currently able to access my wordpress admin page and edit and create everything I need. I’m not able to access my website, cause there is something wrong with he index file in my root directory. Maybe instead of being in line 17 <<require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );>> there should be something to write next to <<‘/wp-blog-header.php’ );>>, like /wordpress or /followrobandjek or something else. I really don’t understand.

    Also the original index was the same text and it was working file before that. Now with the same text there’s no way to make it cooperate…

    I really appreciate the help you guys are giving me… finger crossed to find a solution!
    big hug

    Thread Starter followrobandjek

    (@followrobandjek)

    GUYS I SOLVED IT! You’ll never believe it!

    It’s all about a bug in Text Edit on the Mac. It changes this character <<‘>> into a curved little line in the index.php file.
    So I had to bring that back using the online editor in File Manager and Voilà! The job is done!

    I was speechless. Everything was fine except for that little line.

    Thanks for the huge help you all gave me!!!

    I consider this topic solved! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘failed to move directory’ is closed to new replies.