1
有没有办法导入/更新100的301在IIS 7中从Excel或CSV文件重定向如何批量导入301 CSV在IIS 7中重定向或excel
Excel文件格式,目前由两个第1列由旧网址的第2列由新的URL还挺喜欢这种格式
https://support.3dcart.com/Knowledgebase/Article/View/297/12/how-do-i-import-my-301-redirects
有没有办法导入/更新100的301在IIS 7中从Excel或CSV文件重定向如何批量导入301 CSV在IIS 7中重定向或excel
Excel文件格式,目前由两个第1列由旧网址的第2列由新的URL还挺喜欢这种格式
https://support.3dcart.com/Knowledgebase/Article/View/297/12/how-do-i-import-my-301-redirects
复制从web.config文件中的XML格式的重定向,如:
<configuration>
<location path="services.htm">
<system.webServer>
<httpRedirect enabled="true" destination="http://domain.com/services" httpResponseStatus="Permanent" />
</system.webServer>
</location>
<location path="products.htm">
<system.webServer>
<httpRedirect enabled="true" destination="http://domain.com/products" httpResponseStatus="Permanent" />
</system.webServer>
</location>
</configuration>
将其粘贴到新的记事本文档中。将其另存为web.xml。在Excel中打开它。 Excel应该自动生成一个模式,它应该以与你想要的类似的格式出现。如果需要,可以进一步格式化。将其另存为CSV。
感谢您的回复,但我可能不清楚我的问题。我有一个由两列组成的excel文件。列A包含旧的301重定向的行,列B有新的301重定向url的行是否有任何简单的方法可以让我像批量导入而不是点击并更改 – zman 2013-02-27 04:11:18
http://iis7-rewrite.heroku.com/可能会为你工作。我从来没有尝试过。 – Luke 2013-02-27 04:24:24
卢克非常感谢你,这看起来非常有希望,我会在测试服务器上试试这个,并用结果更新你 – zman 2013-02-27 04:47:17