Results 1 to 2 of 2

Thread: Using a pre-existing subdirectory install - search on page dont work any longer

  1. #1
    Thread Starter
    bengt_helgesson's Avatar
    Join Date
    Jan 2013
    Location
    Sweden
    Posts
    42
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Cool Using a pre-existing subdirectory install - search on page dont work any longer

    I followed this steps when I should get wordpress/classipress running from root.

    Using a pre-existing subdirectory install
    1. Go to the General panel.
    2. In the box for Site address (URL): change the address to the root directory's URL. Example: http://example.com
    3. Click Save Changes.
    4. Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress (wordpress in our example) directory into the
    root directory of your site—the latter is probably named something like www or public_html. 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.
    5. Edit your root directory's index.php.
    Open your root directory's index.php file in a text editor
    Change the line that says: require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files: require('./wordpress/wp-blog-header.php');
    Save the file.
    6. Login to your site (if you aren't still already). The URL should still be http://example.com/wordpress/wp-admin/
    7. If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. 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.)


    After almost everything looks and works just fine just the search do not work any longer?
    When hovering the search-button the adress still goes to the folder where I installed wordpress and classipress 3.2.
    All others links looks and works as they where installed directly under root???
    Where and how can I change so the search will work again? Strange thing is that mobil-theme the search-function works just fine.
    When viewing the source I found the error is in the form-adress:
    <form action="http://example.com/wp/" method="get" id="searchform" class="form_search"> <div class="searchfield">
    the correct should be (without wp folder)
    <form action="http://example.com/" method="get" id="searchform" class="form_search"> <div class="searchfield">

    I have searched for it a long time now without any luck, so if someone now how to fix it please advice.
    My site is now live and having existing payed ads in it, so I don´t want to test to much without knowing what to do

    //Bengt

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No of Category Columns no longer existing in 3.1.9
    By harry0013 in forum Report ClassiPress Bugs
    Replies: 14
    Last Post: September 9th, 2012, 03:36 PM