Forums

url changed Permalink dont (8 posts)

  1. fisherofer
    Member
    Posted 1 year ago #

    i use wp 3.01 as MU version
    i installed and run the system on blog.mydomain.com

    but today i moved it into mydomain.com

    i changed all in the sql but
    why the Permalink is point to the old location
    please help me to fix it

    many thanks
    Ofer Fisher

  2. Check your .htaccess and wp-config.php

    And then re-save permalinks.

  3. fisherofer
    Member
    Posted 1 year ago #

    i try this option in the last H

    i just C&P into this post
    wp-config.php

    define('WP_DEBUG', false);

    define('WP_ALLOW_MULTISITE', true);
    define('WP_HOME','http://webvision.co.il');
    define('WP_SITEURL','http://webvision.co.il');

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'webvision.co.il' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    define('RELOCATE',true);

    .htaccess
    # 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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    # END WordPress

    and i saved my permalinks

    and its stay
    http://blog.webvision.co.il/blog/2010/10/20/sample-post/

    i dont know what to do

  4. Check the database again. You're missing something in there. Even ugly permalinks don't work.

  5. fisherofer
    Member
    Posted 1 year ago #

    i checked few times with firefox and IE ( search option and SQL search )
    i didnt find nothing

    my blog show the old link

  6. Andrea_r
    team pirate
    Posted 1 year ago #

    Yeah, now it just redirects back to the main domain.

  7. fisherofer
    Member
    Posted 1 year ago #

    my friend fixed it ( he say that i missed it and he fixed it as you say )
    so i have to say many thanks

  8. Buy your friend lunch :) It's cheap for the support!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags