English 中文(简体)
在将“压力”网站移至新的服务器之后,除“湿型”粉饰物外,一切都在发挥作用。
原标题:After moving a Wordpress site to a new server everything is working except the "More Types" plugin
  • 时间:2011-11-01 23:40:59
  •  标签:
  • wordpress

All files were copied and the MySQL database was backed-up and restored to the new server. Everything else seems to be working fine except the "More Types" plugin. Even its sister-plugin "More Fields" is working fine.

是否有任何其他人遇到这种情况,如果是,你如何解决?

问题回答

MySQL backed-up and restored how ? did you run update queries on the new server ?? like so :

 UPDATE wp_options SET option_value = replace(option_value,  http://www.old-domain.com ,  http://www.new-domain.com ) WHERE option_name =  home  OR option_name =  siteurl ;

    /**
    After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as abolute URLs instead of relative URLs, so it needs to be changed with the following SQL query:
    **/

    UPDATE wp_posts SET guid = replace(guid,  http://www.old-domain.com , http://www.new-domain.com );

    /**
    If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages:
    **/

    UPDATE wp_posts SET post_content = replace(post_content,  http://www.old-domain.com ,  http://www.new-domain.com );

HAha发现这一问题。 备选办法表载有对选择价值的详细长度值,从而改变领域价值,而不改变扼杀期值。

这是:

s:23:"http://old-domain.com"

成为:

s:23:"http://my-new-domain.com"

第23条无效,也需要改变。 这样做的一个途径是,把你们的原始选择的全部道路改变到相对的道路上。





相关问题
Wrap stray text in <p> tags

Wordpress issue.. how do I wrap stray text in P tags? Example: Before- <div class = "content"> <img src = "hello.jpg"/> <h1>Introduction</h1> Hello! this is ...

Using jQuery Plugins with Wordpress

Having a bit of trouble using jQuery plugins (Superfish, jQuery UI, etc) using Wordpress. Everything works fine in my plain non-Wordpress site, but Wordpress seems to conflict with JQuery. There must ...

WordPress Data Storage Efficiency

I ve been asked to review a WordPress plugin of sorts and try to find ways of making it faster. The premise of this plugin is basically to store a bunch of users and shifts and appointments and ...

Why can t I properly style a blockquote in Wordpress?

On the design I just created for my website, I have a blockquote styled with two quote images using the span technique in css: blockquote { background-image: url(images/openquote.jpg); background-...

How does the WordPress <!--nextpage--> tag actually work?

What happens? I m guessing that somehow the post or page is parsed before displaying, and then just split into two methods? I can t seem to find any documentation on how the underlying <?php ...

Wordpress Plug-ins: How-to add custom URL Handles

I m trying to write a Wordpress Plug-in but can t seem to figure out how you would modify how a URL gets handled, so for example: any requests made for: <url>/?myplugin=<pageID> will ...

热门标签