/空被附加到Word preSS文件,通过Shopp插件可能 [英] /null being appended to Wordpress files, maybe via Shopp plugin

查看:270
本文介绍了/空被附加到Word preSS文件,通过Shopp插件可能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

得到了一个相当奇怪的一个,我不能复制。我使用重定向插件在我的字preSS设置,它显示了网站上的点击率将近50%的要求与网址/空的结束 - 这导致404错误

got a fairly wierd one that I can't replicate. I'm using the 'redirection' plugin in my wordpress setup, it is showing that almost 50% of the hits on the site are requesting urls with /null on the end - that results in a 404 error.

我使用的Shopp插件的欢迎,并永久链接全面。

I'm using the Shopp plugin as well, and permalinks all round.

有没有人遇到过这个?

Has anyone experienced this?

此外,有没有一种方法,我可以用.htaccess说,如果有/上月底空 - 然后将其删除

Also, is there a way I can use .htaccess to say if there is /null on the end - then remove it?

谢谢!

推荐答案

没有主意,因为这增加的来源,但你可以用.htaccess来摆脱它。加载和启用mod_rewrite的,并设置了AllowOverride一切后把这个在你的.htaccess:

No idea as to the source of this addition, but you can use .htaccess to get rid of it. Place this in your .htaccess after loading and enabling mod_rewrite and setting AllowOverride All:

RewriteRule ^(.*)/?null$ $1 [L,R=301,NC,QSA]

这篇关于/空被附加到Word preSS文件,通过Shopp插件可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆