Google Search Appliance not indexing - drupal

Not too familiar with GSA here so hopefully someone can help me.
Have a Drupal multisite installation, just added another site to it. It all works fine. However, when I go into the GSA admin, it won't crawl the site even though the URL pattern matching is fine.
All it says is this:
"/ Info: Redirected URL"
It hits the homepage and stops. Anyone know why? This GSA powers the other Drupal sites running and works just fine. I haven't any idea what would cause this, robots.txt looks fine, no redirects in the code, its using mostly the same code and modules from sites/all/modules. Puzzled.

Got it. Drupal redirect from bad path_redirect record.

Related

Translate press Wordpress plugin Issue

Im trying to use the Wordpress plugin TranslatePress however the French Version of the page https://fr.londonauto.autoverify.com/fr/backend-glitch/ doesn't seam to play well with the page content.
I cant see anything relevant to the issue in the console.
Works without issue in the english version - https://fr.londonauto.autoverify.com/backend-glitch/
Wondering if anyone out there has experience with this plugin that might be able to advise.
It's obvious that in the /fr/ lang you missing to load many-many files. Your total requests are 104 for this page and in the FR you load only 42. It's very strange problem and I think that it has to do with you htaccess file. Can you please describe your server options, like: Cache system, Webserver type, etc? Also post your redirect rules if you have nginx or apache

Wordpress adding subdirectory to permalinks

Looking into our Google Analytics it seems some people are visiting pages on our site with the wrong permalink. Specifically WP is adding an extra directory on the end for some reason.
www.mysite.com/contact/ <- Correct
www.mysite.com/mysite/contact/ <- Incorrect (some people ending up here)
It seems every page on the site has this problem (some people ending up at /mysite/page/ instead of just /page/
It's a standard WP install (not in a subdirectory), the permalink structure is set as follows:
www.mysite.com/blog/%postname%/
Looking in GA, all the visitors from the wrong permalink are coming from the source/medium of direct/none.
I've ran a URL checker on the site and everything is coming up as 200 OK with none of the wrong permalinks showing anywhere.
Would appreciate any ideas here, pretty stumped on this one! Only thought I have is that maybe it's something to do with the database containing wrong links as my localhost install was localhost:8888/mysite/.
Thanks, Adam
maybe you can rewrite permalinks with help srdb
search: localhost:8888/mysite
replace: www.mysite.com
with http://
Before doing a copy of the database
Thanks for your responses. After considerable digging it turns out GA was logging visits from my local version of the site. Have resolved now.

Broken Wordpress Admin

I have a client who has asked me to start working on their Wordpress site. The admin page is broken and I do not have access to the database yet (I am trying to track down the previous people who worked on it). It is quite messy, I know.
What I am doing now is migrating peices over to a new wordpress site using Wamp server just to get it functional, but I am wondering if the solution is simpler than that. Ideally, I would just fix the the login, but I have minimal Wordpress experience and don't know where to start.
Here is the website: http://fundafighter.com
If you go to http://fundafighter.com/wp-admin you'll notice that it is broken. I reroutes to "login-2", which I don't think is normal. So far I haven't found any folder with that title...
I would log into the site via FTP, check the wp-config.php file for any redirects for wp-login.php. Then, check the .htaccess file for the same. Remove any references.
If you get that page working, and you need to reset the password, I would follow this tutorial through phpMyAdmin:
https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin

Something is creating strange URLs in Wordpress Website

I have a problem with a Wordpress based website. Something is creating strange URLs. I know about those URLs, because Google Webmaster Developer try to Crawl them and the Crawler gets a 404 error (Not found). I have that problem in different websites:
In the first one the URLs looks like spam:
http://xxxx.com/wp-content/w3tc/apple-iphone-3gs-8gb-black-manual
In the other website the URLs make sense based on the content, but they are not valid URLs:
http://xxxx.com/portfolio/pool-view-suite-bathroom/
In other website, it's creating URLs that looks like valid, but with a ".html" in the final
If you try to access those URLs, you will get a 404 error. Curiously, when you look the "Linked By" tan in Google Developer Tools, you will see that is linked by another strange URL o there is no linked from. And that URLs are not in the sitemap, I checked it.
Thank you!
the first one is a trojan without a doubt. Quite usually, you'll find them in index.php, footer.php, header.php . If in doubt, check with an online tool like Sucuri
Once you isolate it, it's very important to know how you have it. While most people thinks they have been "hacked", in most cases you uploaded it by yourself from your own computer, so be sure to scan it thoroughly.
About the other cases, sounds more like an htaccess issue, but based on the first case, quite probably it's caused by this trojan as well. Ask your host to check the site, it's in their best interest to do it so. But assuming it's just htaccess, try this: go to Settings --> Permalinks and change the permalinks structure to anything else than what you have now. Don't hit the submit button yet. In the meanwhile, BACKUP your htaccess file and then delete it. Hit submit on the permalinks page an a new .htaccess file will be created. Try your site now. If it works, it was just a simple htaccess issue. If not, something else, going from a trojan to a server misconfiguration to anything in between
Maybe the domain was used before and you are seeing past valid urls which are now 404, or maybe these are incorrect, inbound spammy links which you would want to be 404. Duff links can be found anywhere on the internet and so no reason to think your site is generating them.

Default Website Page error - While installing wordpress multisites on a subdomain

I have installed wordpress multisites in my directory, everything is working perfectly except the fact that the main page of the sister sites shows "Default Website Page" error and redirects me to "http://geek.thelazy.info/cgi-sys/defaultwebpage.cgi".
The error occurs only when I open geek.thelazy.info and at specific places (not on places far from here), and only when I open the main page. At all other pages say like geek.thelazy.info/devashish site works regardless of anything.
Any clues on how to solve this problem?
I think the solution is to wait for a day or two. This helped me. But, I am not sure what if there is any other workaround at the server side as well because it is not really trivial to put a live site down for 1-2 days.

Resources