浏览模式: 标准 | 列表 2015年04月的文章

解决“网上交易认证服务服务器未启动”的问题

在手机同花顺炒股软件里看到财通证券万2.5佣金,立马手机开户非常给力地完成了。

然而第二天拿到开户成功的资金账号后却一直无法登陆手机同花顺炒股软件。

  1. 输入资金账号,输入交易密码和通讯密码(一般首次登陆这2个密码是一样的)
  2. 如果没有错误的情况下,会要求更改通讯密码
  3. 修改提交的时候界面提示:网上交易认证服务服务器未启动

这个时候可以下载证券公司的股票交易软件进行登陆就可以修改了,比如我下载了财通证券的财通证券财运亨通2015版。

Tags: 财通证券, 万2.5佣金, 开户

wordpress搬迁到windows下tag无法rewrite

把一个wordpress的博客搬迁到了windows主机下,但是有中文名的tag链接打开都是404页面。

解决方法:

  1. 找到程序根目录下的wp-includes文件夹中rewrite.php文件,用notepad++打开它。
  2. 搜索public function get_extra_permastruct($name)
  3. 在它下一行会看到if ( empty($this->permalink_structure) )
  4. 在empty前加一个英文的感叹号变成if ( !empty($this->permalink_structure) )
  5. 保存后就可以了。

西部数码网站管理助手中伪静态组件自定义设置

西部数码网站管理助手中,如果网站是php程序的,可以设置伪静态组件,常用的国产php系统的伪静态规则都已经在下拉列表中了。但是比如WordPress就没有,所以需要自行设置伪静态组件。

添加php网站的时候,在下拉菜单中选择对应规则,如果没有找到对应的,选择自定义,保存配置后进入站点的others目录下,修改httpd.conf中的规则即可。

WordPress的httpd.conf内容如下:

  • [ISAPI_Rewrite]
  • # 3600 = 1 hour
  • CacheClockRate 3600
  • RepeatLimit 32
  • # Protect httpd.ini and httpd.parse.errors files
  • # from accessing through HTTP
  • # Rules to ensure that normal content gets through
  • RewriteRule /sitemap.xml /sitemap.xml [L]
  • RewriteRule /favicon.ico /favicon.ico [L]
  • # For file-based wordpress content (i.e. theme), admin, etc.
  • RewriteRule /wp-(.*) /wp-$1 [L]
  • # For normal wordpress content, via index.php
  • RewriteRule ^/$ /index.php [L]
  • RewriteRule /(.*) /index.php/$1 [L]

或者是第二种如下:

  • [ISAPI_Rewrite]
  • # 3600 = 1 hour
  • CacheClockRate 3600
  • RepeatLimit 32
  • # Protect httpd.ini and httpd.parse.errors files
  • # from accessing through HTTP
  • # wordpress 伪静态规则
  • # For tag(中文标签以及标签翻页的规则)
  • RewriteRule /tag/(.*)/page/(\d+)$ /index\.php\?tag=$1&paged=$2
  • RewriteRule /tag/(.+)$ /index\.php\?tag=$1
  • # For category(中文分类以及分类翻页的规则)
  • RewriteRule /category/(.*)/page/(\d+)$ /index\.php\?category_name=$1&paged=$2
  • RewriteRule /category/(.*) /index\.php\?category_name=$1
  • # For sitemapxml
  • RewriteRule /sitemap.xml /sitemap.xml [L]
  • RewriteRule /sitemap.html /sitemap.html [L]
  • RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L]
  • RewriteRule /favicon.ico /favicon.ico [L]
  • # For file-based wordpress content (i.e. theme), admin, etc.
  • RewriteRule /wp-(.*) /wp-$1 [L]
  • # For normal wordpress content, via index.php
  • RewriteRule ^/$ /index.php [L]
  • RewriteRule /(.*) /index.php/$1 [L]

Tags: 西部数码网站管理助手, 伪静态组件, 自定义, 设置