Support » Networking WordPress » Url problem / wp_3_options table change

  • Hello,

    I have and, but if I login into the admin, the url of the second blog change to

    I don’t know what is going on.

    Any clue of what can I do or what could be happening????


Viewing 15 replies - 1 through 15 (of 22 total)
  • What’s in your .htaccess?


    Thanks for your help, I am completely desperate.

    If I am honest I don’t know what I am doing exactly with this .htaccess.


    # canonical redirect to no www
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    For a quick test, remove the canonical redirect you have for www.


    I have removed the canonical redirect and at the moment it is working good.

    I made some test, changed a few post and all seems to work fine.

    Do you think this was the problem??? What a canonical www redirect means???

    Thank you so much for your help!

    The canonical redirect forces your domain to use instead of

    The problem was that you wrote it wrong. If you want to use that, it should be this:

    RewriteCond %{HTTP_HOST} ^www\.domain\.tld$ [NC]
    RewriteRule ^(.*)$ http://domain.tld/$1 [R=301,L]

    The way you wildcarded it breaks on WP due to it’s rules.


    Today it happened again, The url of the second blog have changed and now both have the same url.

    It’s to weird no??? I removed the canonical redirection as you told me but it’s happening again.

    if I go to or I can see the website and I removed the canonical redirection.

    What should I do????

    Thanks you very much!

    Are you being redirected to one URL or the other, or are BOTH working?

    Both are working, if I point my browser to the site its working but if I go to the admin > mysites, both are redirecting to

    If I force in the browser, I can access to the second blog admin.

    The only think that is changing it’s the field siteurl of the table wp_3_options in my data base.

    In this row of the db, the url have to be, but sometimes, wordpress remove the /en and leave

    It is a problem because I am using the fuction site_url() in my theme to get content depending on the language, and when wordpress change the url and remove the /en the website throws a few errors.

    By ‘working’ do you mean works AND works, or only one?

    See, WordPress needs to be one or the other. Having both is problematic.

    If you go to or you get the same page and no errors, you can see the page.

    What I can not understand it’s why wordpress change the url in the data base.

    Okay, so both www and non-www works. Amd that’s a problem.

    You should only use ONE. One should redirect to the other. So should magically redirect to (or vice versa, it depends which you used when you setup the site).

    What I can not understand it’s why wordpress change the url in the data base.

    Sorry what? Did you change something in the DB?

    Well my main problem is that wordpress, not me, automatically change the url of my second blog in the database.

    I have to blogs: and

    well, I don’t know why but when I login into the admin wordpress changes the url of the secondo blog to, removing the /en string at the end.

    Each time it happens I go to the database, find the table wp_options of the secondo blog and I see that the field siteurl was changed to If I want my blog work again I have to go to my database and change it be my self.

    I don’t know what its happening

    Well my main problem is that wordpress, not me, automatically change the url of my second blog in the database.

    No. WordPress will not do this. A plugin might, or you may have done it on accident, but WP doesn’t magically flip that over for you. You have something else on your site doing that.

    What plugins are you running?

    Hello again, thanks you so much for your help.

    It happens each time I use the admin to create new post, update content etc. After updating I always have to enter in the database and change the siteurl of the table wp_3_options, which is the second blog options table, and add the “/en” to

    I am using the following plugins:

    – Advanced Post Types Order (

    – Lightbox Plus

    – Search Everything

    – User Role Editor (

    I think all of them are common plugins.

    This weekend I will deactivating them just for to be sure.

    What do you think could be happening.


    I think there’s something in your theme or your plugins that’s doing this.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Url problem / wp_3_options table change’ is closed to new replies.