• No products in the cart.

I have uploaded a theme in WordPress but the theme is visible only in abc.com/wp. How can I showcase the same thing in abc.com.what did I do wrong?

  1. Go to the General Screen.
  2. In WordPress address (URL): set the address of your main WordPress core files. Example: http://example.com/wordpress
  3. In Site address (URL): set root directory’s URL. Example: http://example.com
  4. Click Save Changes. (Do not worry about the errors that happen now! Continue reading)
  5. Now move your WordPress core files (from root directory) to the subdirectory.
  6. Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file. If you are running WordPress on a Windows (IIS) server and are using pretty permalinks, you’ll have a web.config rather than a .htaccess file in your WordPress directory. For the index.php file the instructions remain the same, copy (don’t move) the index.php file to your root directory. The web.config file, must be treated differently than the .htaccess file so you must MOVE (DON’T COPY) the web.config file to your root directory.
  7. Open your root directory’s index.php file in a text editor
  8. Change the following and save the file. Change the line that says:
    require( dirname( _FILE_ ) . ‘/wp-blog-header.php’ );
    to the following, using your directory name for the WordPress core files:
    require( dirname( _FILE_ ) . ‘/wordpress/wp-blog-header.php’ );
  9. Login to the new location. It might now be http://example.com/wordpress/wp-admin/
  10. If you have set up Permalinks, go to the Permalinks Screen and update your Permalink structure.
  11. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
  12. Except point no 5- move your files from root to sub folder … since u already have WordPress installed in sub folder

0 responses on "I have uploaded a theme in WordPress but the theme is visible only in abc.com/wp. How can I showcase the same thing in abc.com.what did I do wrong?"

Leave a Message

Your email address will not be published.