Not sure, but on this page it talks about a recent update. I'm sure it must have been an update prior to that one though if it's been occurring on your site for that long.
Hm, right, ok. But it might have been the last one.
Also interesting (and wondering if you can confirm): the letter replacement usually occurs around the 8-9th character and is more prominent and random when going to something like "thebrb.com/thebrb.com" or "lingkit.com/lingkit".
lingkit isn't doing it for me at the moment, but thebrb is, and thebrb.com/thebrb somehow gives thebrb.bom/thebrb. So odd. It's like find and replace decided to take over my server but wasn't very good at it...
1. can you post your current htaccess files (especially if you have one in (what used to be) your main domain's site root)?
Ok. Let's see:
As discussed in the other thread, I just changed the structure (yesterday) to work out having my "primary" domain in a non-root location. So it's remotely possible that I caused all of this, or at least I expect that's what the tech support people may claim. But I'm confident that I did not, because:
1. There were problems before that, and the problems are specifically why I changed it!
2. I believe that by changing it, I have now uncovered the problems, rather than creating them.
So, I'm operating on the assumption that the changes didn't do anything, that this problem has been around for 3+ months.
My sites have not changed especially significantly recently; my project yesterday was resurrecting lingkit.com after it was down for a long time (no time to work on it for a while, and it was on another server that is no longer up). So that's part of what lead to discovering this.
I'm a bit hesitant to post all of the information here for security reasons. What do you think? I can edit it out later I suppose.
Here's the .htaccess info:
See the other thread for what was going on previously. I was using mod_rewrite to move all requests into the root (my "primary" domain ci-pro.com) into a subdirectory, to keep things organized. That had been working well for a few years, until something changed (an update I expect, nothing I did at all, I hadn't modified it in years) and then the site broke in a few places.
Current root .htaccess:
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} notarealsubdomain.ci-pro.com
RewriteRule (.*) http://ci-pro.com/
As in the other thread, I figured out to use a fake subdomain as the "primary" domain. This is kind of cheating, but I don't think it hurts anything. I don't ever want anyone to access the root. Also, that subdomain isn't even setup. It just doesn't exist. But it was enough for GoDaddy's domain manager to allow me to switch it for the primary one.
Anyway, all that .htaccess file does is move any traffic (if it ever were to exist) to the real ci-pro.com site.
For ci-pro.com, I also have a .htaccess file like this:
Code:
ErrorDocument 403 /404.php
ErrorDocument 404 /404.php
Seems to be working fine.
In a few other places I have .htaccess with mod_rewrite creating dynamic pages. Most seem broken. However, in the forum here: linguistforum.com you can see that it works (with the "pretty URLs for threads" mod), with code that I didn't write myself.
So to some degree .htaccess is working, but I'm 95% sure it's not causing this.
I'm pretty sure what is happening is that bad input (fake/corrupted URLs) are being given to .htaccess, which obviously then ends up with bizarre problems.
2. can you post your account's directory structure?
The root contains several system files and then some directories including:
/lingkit/ (lingkit.com), /cip/ (ci-pro.com), /thebrb.com/, /thebrbforums.com/, /ouraccent.com/, etc.
I tried switching some to the without-a-dot format to see if that would help, but it appears irrelevant.
The root directory also contains that .htaccess file above. Not much else of interest.
Then within each of those directories above, I have my normal index.php files and whatever other content is around.
3. if you contact goDaddy, ask if you can see the apache config files for your sites (you don't need to access them; just a copy of their contents would be extremely helpful—but I still don't know if they'd be willing).
Good idea.
4. What admin panel does goDaddy use? cPanel? Parallels? something else?
This is shared hosting without anything special. I generally just use FTP (and sometimes phpMyAdmin, available through the GoDaddy website or by saving the URL from there). When I do need to change the configuration of my server (basically adding/changing domains), I use GoDaddy's site with what I think is a proprietary interface. It might be a rebranded version of something. I saw recently that they claim cpanel is available on their new accounts, but maybe I haven't found that option, or more likely it's because my account is several years old, before they had that option. And I don't really want to (or need to) update. (Last time I did, they wiped all of my files. They put them back after someone had the time to get the magnetic tape backup...; I also had backups on my laptop but it was several GB. Aaanyway...)
Is that enough info? I'll provide whatever else might be helpful. (If not in a post, by PM.)
Bookmarks