magento fishpig wordpress integration - block view of non-magento blog site - wordpress

I've gotten the 4.3.08 fishpig extension working with my 1.7 Magento site (yes, I know it's a very old magento version). The integrated blog looks great and has the magento theme when I access it via the Site Address URL. However, I can still access the non-integrated blog when I type the Wordpress URL into a browser. That url doesn't have the integrated theme - it's just the plain posts. I don't want google to index that wordpress url or for users to find that url. I want them to only see the Site Address URL. I have done a ton of searches but can't seem to find how to do this. Looking for help!

You haven't included your URL so I can't provide accurate feedback. That being said, if configured correctly, the WordPress URL should give a 404 error page. This won't be seen by anyone and won't be indexed by search engines.
If the WordPress URL is visible and everything is configured correctly, you may be using the default permalinks (eg. /blog/?p=123). Change the Permalink structure at Settings > Permalinks and the WordPress URL should generate a 404 page.

Related

How to Prevent Wordpress From Overriding Links in Posts when Using Wordpress Rest API

I am loading posts from a WordPress site using the WordPress REST API. The Domain that the WordPress instance is running on is totally different from the site where the post content is being displayed.
There are links in the posts that link to other posts on the site.
These links are somehow manipulated/generated and are referencing the WordPress host domain, not the domain where they are being displayed, which is causing these links to breaking.
I have tried overriding these links addresses directly in the posts table by doing a regex search, but when I save this, WordPress auto-magically overrides the URL again.
How do I disable this link override feature so that I can just specify what the URL should be without WordPress interfering?

Wordpress update to 4.7 causes Magento/Fishpig integration to redirect base URL to the Wordpress folder

I've copied a live site to a test server to test updating Wordpress on a Magento site that uses Fishpig to bridge content from Wordpress to Magento. Since the udpate, the site always redirects from the homepage to the wordpress folder. e.g. dev.site.com goes to dev.site.com/wordpress. It's not an .htaccess issues, if I wipe them out in both directories it still does it, if I rename index.php in the wordpress folder it stops it but breaks the preview. If I rename the theme and plugins folders it still redirects, something in the core is causing it but I am having issues figuring out what it is. Thanks.
Also if I change the site to show the latest blog post instead of the static home page, it doesn't redirect but shows the blog page.
We will need more information to help solve your problem.
Are your FishPig extensions at the latest version?
What FishPig add-on extensions, if any, are you using?
Have you tried disabling all WordPress plugins?
Do you have any error messages in System > Configuration > WordPress?
My guess is that your WordPress URLs aren't setup correctly and you're using an out dated add-on extension (eg. Visual Composer). There was a bug in older versions of some add-ons that caused this issue, but this has now been fixed.
If you can provide the actual link to your dev site, it will make debugging the issue much easier.

Is it multilanguage site made using WordPress ? Can I deduct it from the URL?

I have this web site URL: http://www.erusma.org that is a multilanguage website, infact opening this URL I obtain the following address: http://www.erusma.org/en/default.html
Looking at the source code of the page it's not clear what CMS is used to build this website.
I need to know this information and I think that I can infer it from the previous address that is in the form: sitename/language/page.html
Could they have used WordPress? Looking in this tutorial seems that the previous address form is a multilanguage WordPress site that use a rewrite rule but I am not sure
http://gabrieleromanato.com/2013/07/wordpress-gestire-gli-url-nei-plugin-multilingua/
What do you think? Can I deduct from the address, what CMS is used? Or it could be in Joomla? To what extent would my deduction be precise?
Tnx
Andrea
I'm not sure how it works with multilanguage plugin, but the easiest way to check if site is based on Wordpress is to add /wp-admin to site's URL.
Ex:
you want to check if http://www.spidersweb.pl/ is WP. Add /wp-admin, so the URL is: http://www.spidersweb.pl/wp-admin
AFAIR to check if site is based on Joomla add /administrator
Your site uses neither WP nor Joomla, or this multilanguage plugin changes default login URL.

Website Redirects but I did not allow it

I've setup a website using WordPress and just noticed that the homepage redirects to a different section of the website with random characters.
Like www.yourdomain.com redirects to www.yourdomain.com/XYiOEL which is a 404. It changes, sometimes it is there, sometimes it is not. I've checked my .htaccess (newbie here) and I don't see anything that could cause this.
Help?
See FAQ: My site was hacked « WordPress Codex and How to completely clean your hacked wordpress installation and How to find a backdoor in a hacked WordPress and Hardening WordPress « WordPress Codex and tell your host. Change all passswords. Scan your own PC. And see http://blog.sucuri.net/2011/08/timthumb-php-security-vulnerability-just-the-tip-of-the-iceberg.html

Wordpress upload from localhost to server

I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
Do a general search with phpMyAdmin in your database for localhost URLs. And see How to Find and Replace Text in WordPress MySQL Database using SQL When Changing Domains » My Digital Life and Search RegEx « WordPress Plugins for grepping through posts and pages.
Better yet, use interconnectit.com WordPress Serialized PHP Search Replace Tool
And check your theme files for hardcoded links (as opposed to links using Template Tags/bloginfo « WordPress Codex
) to style sheets and pages.
Reset permalinks in Dashboard/Settings/Permalinks.
Check:
wp-admin > Settings > Wordpress address and Blog address
to include "folder"
to get this working ... delete all the posts/pages - go to ur local wordpress blog and export it.
login to ur web blog and import.
that would be an alternative solution to working with the database and as far as i know exporting/importing content works good in wp :)

Resources