Title: Redirection problem
Last modified: August 19, 2016

---

# Redirection problem

 *  Resolved [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * (@edesmaris)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/)
 * 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 “www.myDomain.com/myWordpressFolder/my2ndBlogName”.
 * 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](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808371)
 * > 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.
 *  Thread Starter [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * (@edesmaris)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808373)
 * 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 ?
 *  Thread Starter [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * (@edesmaris)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808389)
 * 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…
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808393)
 * Yeah, just do a search on your database via phpMyAdmin or whatever you have. 
   Same as any SQL query.
 *  Thread Starter [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * (@edesmaris)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808396)
 * 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 !
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808398)
 * [http://www.packtpub.com/article/searching-data-using-phpmyadmin-and-mysql](http://www.packtpub.com/article/searching-data-using-phpmyadmin-and-mysql)
   fo one.
 *  Thread Starter [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * (@edesmaris)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808408)
 * 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 ‘Redirection problem’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 7 replies
 * 3 participants
 * Last reply from: [edesmaris](https://wordpress.org/support/users/edesmaris/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/redirection-problem-4/#post-1808408)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
