Support » Fixing WordPress » Re-root correctly the ecommerce

  • Hi everybody,

    I’m nearly done with my webcommerce and want to make it public. The problem is I did it under folder and I want to direct it to the homepage. I already tried to do it, it crashed my whole webshop to the point that I had to reinstall the WP and all the rest. Very very frustrating 🙁

    Please please help me and guide me how to do it properly and safely this time.

    Site: http://lopearls.com/here need to direct everything to the http://lopearls.com

    appreciated for the help!

Viewing 13 replies - 1 through 13 (of 13 total)
  • esmi

    (@esmi)

    Forum Moderator

    I read 20 times but it said “HTTP_HOST” etc. I dont have it!
    I have:
    RewriteBase /here/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    what should I change?
    thank you!

    esmi

    (@esmi)

    Forum Moderator

    What said said “HTTP_HOST” etc? Did you ensure that you followed ALL of the steps?

    it was:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /here/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    # END WordPress

    new .htaccess file that I edited and re-uploaded

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /here/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /here/index.php [L]
    </IfModule>

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?lopearls.com$
    RewriteRule ^(/)?$ here [L]

    # END WordPress

    it doesnt point to general directory, still to subdirectory 🙁

    esmi

    (@esmi)

    Forum Moderator

    You shouldn’t edit the .htaccess file. Just place a copy of it in your root domain folder.

    Do I get you right: I need to keep original .htaccess file and I need to create and upload second .htaccess file to the subfolder of the domain?

    and the second .htaccess file should just contain this?

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?lopearls.com$
    RewriteRule ^(/)?$ here [L]

    will it not ask me to rename my original .htaccess file? should it have different name like .htaccess1?

    sorry, if I ask idiot questions but I really dont want to ruin lot of work put in this site.

    thank you!

    esmi

    (@esmi)

    Forum Moderator

    No. You need to COPY the original .htaccess file to your domain root folder.

    Filezilla doesnt let me to COPY the original file, I can only MOVE it to the domain root folder 🙁

    esmi

    (@esmi)

    Forum Moderator

    Downoad a copy of the file and upload it to your root domain folder.

    I was not able to download the file via Filezilla, I installed Cyberduck, download it but I can’t find it in my Downloads! 🙁

    I’m really really sorry but as I can’t find downloaded file how can I upload to the folder next to my folder /here/.

    Thank you for help, I’m desperate 🙁

    Now my whole site is down :(((
    I have this message:

    Error establishing a database connection

    I cant access my admin section neither! :(((

    PLEASE, HELP!!!

    I have my site back but still cant re-root it 🙁

    And again error message 🙁 and site is down 🙁

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Re-root correctly the ecommerce’ is closed to new replies.