pivotx的配置文件都是用数组的形式存放在文本文件中,很奇怪,包括分类啥之类,所以在设置pivot的时候觉得不是很舒服。 至于数据导入,我是在没有删除jaws之前,Ctrl + C,Ctrl + V,导入的。 好在我的文章还不错,只有十几条,一条一条的复制粘贴。
解决了,原来应该这样~~~ 代码: # Ensuring that short hand "<?" won't start PHP parsing ... #php_flag short_open_tag off # Turn off register_globals #php_flag register_globals 0 # Turn off magic_quotes #php_flag magic_quotes_gpc 0 <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase / # Standard PivotX rules for non-crufty URLs. Must be enabled in the PivotX # configuration too before taking affect. Look at the bottom of this file # for a localized version. RewriteRule ^archive/(.*)$ pivot/render.php?uri=$1&rewrite=archive&%{QUERY_STRING} RewriteRule ^entry/(.*)$ pivot/render.php?e=$1&rewrite=entry&%{QUERY_STRING} RewriteRule ^page/(.*)$ pivot/render.php?uri=$1&rewrite=page&%{QUERY_STRING} RewriteRule ^tag/(.*)$ pivot/render.php?t=$1&rewrite=tag&%{QUERY_STRING} RewriteRule ^tags/?$ pivot/render.php?x=tagpage&%{QUERY_STRING} RewriteRule ^search/(.*)$ pivot/render.php?q=$1&rewrite=search&%{QUERY_STRING} RewriteRule ^search$ pivot/render.php?rewrite=search&%{QUERY_STRING} RewriteRule ^visitor/?([^/]*)/?$ pivot/render.php?x=visitorpage&w=$1&%{QUERY_STRING} RewriteRule ^category/(.*)$ pivot/render.php?c=$1&rewrite=category&%{QUERY_STRING} RewriteRule ^author/(.*)$ pivot/render.php?u=$1&rewrite=author&%{QUERY_STRING} RewriteRule ^browse/(.*)$ pivot/render.php?o=$1&rewrite=offset&%{QUERY_STRING} RewriteRule ^rss/?$ pivot/render.php?feed=rss&%{QUERY_STRING} RewriteRule ^atom/?$ pivot/render.php?feed=atom&%{QUERY_STRING} # Some rules to make old Pivot URLs redirect to the new PivotX URLs. You can # remove this block if you are using a fresh install of PivotX, but if you are # upgrading from Pivot these rules will make sure that you don't loose any # visitors. (The rules might have to be adopted if you used non-standard # locations for archive files and such.) RewriteRule ^archives/archive_(.*)\.php index.php?a=$1 [R=301,L] RewriteCond %{QUERY_STRING} id=([1-9][0-9]*) RewriteRule ^pivot/entry.php index.php?e=%1 [R=301,L] RewriteCond %{QUERY_STRING} c=([^&]*) RewriteRule ^pivot/archive.php index.php?c=%1 [R=301,L] RewriteCond %{QUERY_STRING} tag=([^&]*) RewriteRule ^pivot/tags.php index.php?t=%1 [R=301,L] RewriteRule ^rss\.xml$ /rss [R=301,L] RewriteRule ^atom\.xml$ /atom [R=301,L] # Some dutch localisations.. (This portion of the .htaccess will be generated by # PivotX, but for now you can put it here by hand. don't forget to set the # advanced configuration in order to use these) RewriteRule ^archief/(.*)$ pivot/render.php?uri=$1&rewrite=archive&%{QUERY_STRING} RewriteRule ^bericht/(.*)$ pivot/render.php?e=$1&rewrite=entry&%{QUERY_STRING} RewriteRule ^pagina/(.*)$ pivot/render.php?uri=$1&rewrite=page&%{QUERY_STRING} RewriteRule ^zoek/(.*)$ pivot/render.php?q=$1&rewrite=search&%{QUERY_STRING} RewriteRule ^categorie/(.*)$ pivot/render.php?c=$1&rewrite=category&%{QUERY_STRING} RewriteRule ^auteur/(.*)$ pivot/render.php?u=$1&rewrite=author&%{QUERY_STRING} RewriteRule ^blader/(.*)$ pivot/render.php?o=$1&rewrite=offset&%{QUERY_STRING} # These don't work yet. Working on it. :-) #RewriteRule ^tag/(w=[^/]*)/(t=[^/]*)/(.*)$ pivot/tags.php?$1&$2&tag=$3&%{QUERY_STRING} #RewriteRule ^tag/(w=[^/]*|t=[^/]*)/(.*)$ pivot/tags.php?$1&tag=$2&%{QUERY_STRING} </IfModule>