Support » Multisite » [Resolved] Redirection problem

[Resolved] Redirection problem

  • Hello there,

    I’ve installed a multisite using “subfolder” option.
    I have a main site which is linked to a secondary blog.

    I installed wordpress in a folder which is not at the root of my domain. I set all needed to have the multisite function in wp and everything was fine.

    For the exemple, the path for the main site is : “www.myDomain.com/myWordpressFolder/”.
    and the second one is

    Now the developpement is finished, I want to remove the string “myWordpressFolder” from the url and have then :
    “www.myDomain.com/” for the main site and
    “www.myDomain.com/my2ndBlogName” for the second blog.

    The problem is… I’ve tried the method of copiyng the index.php (with the change expected in the require ('./myWordpressFolder/wp-blog-header.php'); line, copy the .htacces at the root of the domain. But when I want to change the Blog url, I can’t change this in the General settings, I can read a line in the “Modification” page options of the main site but this one is in grey.

    I supposed it should be changed with the database but which line should I change ? I tried in the wp_options table (‘home’, ‘siteurl’) field by removing the string “myWordpressFolder” but that don’t fix the problem.

    Could someone give me some help please…. ?
    Thanks in advance and sorry for my english. Tell me if you don’t understand anything !

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    The problem is… I’ve tried the method of copiyng the index.php

    You cannot do this with a multisite install.

    If you do not want the foldername appearing in the URL string of the sites, you *must* move the whole installation up a folder, and fix the URLS in the db.

    Or reinstall in that folder.

    Thanks for your reply…

    So there is no possibilities to have a multi site configuration installed in a subfolder (not in the root of the domain) and have a rewritting url after ?

    If not I will choose the move folder metghod I think. Is there a simple way to update the url in the database ?

    I decided to move the files to the root of my domain and tried to change the url in the database (Iv’e checked every fields).

    One problem persist concerning the plug-in.

    For example I uninstall the plug-in WPDBManager. I re-install it.
    In the plug-in page, I have the following sentence :

    “Your backup folder MIGHT be visible to the public”
    To correct this issue, move the .htaccess file from wp-content/plugins/wp-dbmanager to /blablabla/ddbName/www/myWordpressFolder/wp-content/backup-db” knowing that “myWordpressFolder” is the name where wordpress was installed before but not anymore.

    So I had 2 questions :

    – Is there any SQL query to check if the string “myWordpressFolder” is still somewhere in the db ?
    – Is there in wordpress a cache process which keep old informations ?

    Thanks again for your help…

    I think the next step for me is the hanging. So if you want to save the life of someone today you know what you have to do…

    Yeah, just do a search on your database via phpMyAdmin or whatever you have. Same as any SQL query.

    Hihi… I’m sorry but someone could give me the good syntaxe to find a specific string in a whole db (i’m using phpMyAdmin) ?
    I searched on the web but I didn’t find it !

    Sorry, it should be obvious for them who know !

    Hey, you just save the life of someone.
    Many many thanks firends. After long hours to test and triying to understand everything, my problem is fixed !
    Tanks again !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Redirection problem’ is closed to new replies.
Skip to toolbar