WordPress.org

Support

Support » How-To and Troubleshooting » How to upload my wordpress website developed locally to server ?

How to upload my wordpress website developed locally to server ?

  • hi , i would like to ask question .. i have wordpress website at the following local path C:\wamp\www\wordpress and i want to upload it to the my online server and put it in directory called “wordpress” (public_html/wordpress) …

    i want my website to go directly to the following link
    ( http://example.com ) .. i made.htaccess file in the root of my public_html folder so when i type ( http://example.com ) it go to ( http://example.com/wordpress ) :

    # WordPress htaccess file to make it point to the directory
    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    
    #Change the following directory ( wordpress ) to make it point to the right directory
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    #Change the following directory ( wordpress ) to make it point to the right directory
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    
    # END WordPress

    the Problem here that all my links go to ( http://example.com/wordpress )

    how can i fix that ?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to upload my wordpress website developed locally to server ?’ is closed to new replies.
Skip to toolbar