amigne
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: lynx and wget are redirected from blog to robotstxt.orgMy host is blocking some user-agents form some subdirectories (like /blog), which is why everything is accessible except wordpress. The problem can be circumvented by using the lynx -useragent command line option (or by renaming blog to something else).
There is still a 404 redirect to the wordpress directory (/blog) — I still have no idea how this came to be.
Forum: Fixing WordPress
In reply to: lynx and wget are redirected from blog to robotstxt.orgMy website https://www.djp.ch works fine with lynx, it’s just the https://www.djp.ch/blog url that does not work with lynx.
Something I just noticed:
https://www.djp.ch/asdlkjalsdfjl (or any nonexistent url)
shows the content of the wordpress blog in firefox, but redirects to robotstxt.org in lynx and wget.
Is this some kind of 404 redirection? I don’t have a custom 404 page. All 404 errors seem to be redirected to the blog.
At some point in the past, the wordpress blog was located in a different directory. I changed the url in the wordpress option tab and the url https://www.djp.ch/blog was working even though I did not have a blog directory. Does wordpress do some 404 tricks?
I still don’t understand why https://www.djp.ch/blog/index.php would raise a 404 at all, because that file exists.
Forum: Fixing WordPress
In reply to: lynx and wget are redirected from blog to robotstxt.orgOk, thank you for the help Kafkaesqui! I will post an update here.
Forum: Fixing WordPress
In reply to: lynx and wget are redirected from blog to robotstxt.orgIf have a file /.passwd
If have a file /.rewrites (owned by root, I don’t have read permission)
No other dot-files in /Then all my website is in /web which is mapped to https://www.djp.ch
I have a file /web/.htaccess (listed above)
I have a file /web/robots.txt mapped to https://www.djp.ch/robots.txt
No other dot-files in /web/Then wordpress is installed in /web/blog which is mapped to https://www.djp.ch/blog
I have no dot-files in /web/blog/Any suggestion?
Forum: Fixing WordPress
In reply to: lynx and wget are redirected from blog to robotstxt.orgMy .htaccess was generated by wordpress (see below). Even if I remove the file from the server, I still get the redirect to robotstxt.org. I also get the redirect when I specify index.php in the command wget https://www.djp.ch/blog/index.php
Content of .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>Forum: Fixing WordPress
In reply to: Uploaded image has gets wrong urlAaaah! Thanks! I confirm that I’m using firefox 1.0.7 on linux/i386 and that the “send to editor” option works.