Our Website url structure is something like this :- www.example.com/website/xyz.htm
Our Website cached in Google something like this :- www.example.com/page/1 to www.example.com/page/32 but when i open this url, it's pointing me to the home page. We have used Wordpress CMS.
We have not created these things in our website. We do not understand, how it happened.
Thanks
Rob
I thought you might have used a plugin for getting WP SEF url for your WP pages to appear as HTML pages. Use some other latest , compatible and popular plugin to convert WP pages as HTML pages.
Google sometimes does not understand your site perfectly at all time due to the modification you done in your site.
So create an account in google analytics and verify it with your site then remove all listed pages and rebuild it once again by submitting new sitemap
Use Wordpress Yoast SEO Plugin. This will give you the functionality to remove the caching in Google Search.
After disabled the /page/option, you need to resubmit the sitemap xml in Google Search Console.
Related
I will try to be clear but if you need more information please do not hesitate.
A site approached me to make a partnership together. They want to create a new section on their site, say a "blog" section. The goal is to post my blog post on their site, in this new section, without having access to their admin.
So I need to set up something to be able to automatically share the content I post on my site with their site. My site is on Wordpress and their site is on Drupal.
For now I see 2 possibilities, but tell me what you think and if there is better to do.
First possibility: Create the page /blog and all the articles (ex: /blog/article-title) on my site, then set up a reverse proxy to redirect their request to my server. I have no experience with network setup so maybe I am completely wrong. But even if it works, I don't know how to fetch only post content (not header, footer) and change all urls.
Second possibility: Create a Drupal module, which they will have to install on their site, which creates the page /blog and the custom content type named "blog" when it is activated. And then use the feeds module to get the content from my wordpress feed and create a blog post for each post in the feed. With this solution, I won't have any header or footer problem, and the urls to the articles will be generated dynamically.
Every advice will be usefull. Thank you.
IMO, the easiest way to do that is to use the Wordpress REST API.
You could get all posts with this https://yoursite.com/wp-json/wp/v2/posts and get a specific post with https://yoursite.com/wp-json/wp/v2/posts/:id
full doc here : https://developer.wordpress.org/rest-api/reference/
I would advise you to use the second possibility, cause there are already several drupal moduls in the wild the read and import feeds from other sites.
Even more, WordPress will provide your posts also in oembed-format. With this you can use this Drupal Modul: https://www.drupal.org/project/soembed
You vcan adjust this modul to allow content from your website and display it on the Drupal installation.
yesterday i stumbled across Sergey Burkov's wordpress plugin 3DPrint Lite and I'd like to use it for my website. I'm currently using dokuwiki and don't want to switch to wordpress only for this single purpose. There aren't any similar solutions to Burkov's plugin and coding it all by myself is no option.
.I'm asking myself if its possible to only use wordpress' backend or something similar. So that I would end up with only one page. (Login and so on has to stay available of course)
Any suggestions?
You don't need to switch to wordpress for your whole site, just to use that plugin. Not hard to install wordpress in a directory on your site, and then if you don't want to use any wordpress pages, just use the login from yoursite.com/directory/wp-admin.
If you don't want yoursite.com/directory to show at all then you could do a redirect of that url only, perhaps to your homepage.
Just don't try installing wordpress at yoursite.com since that will mess with your current site.
I have a strange problem with my site. It is a wordpress site working for a while now, and our company started some Adwords campaigns to boost views. Google Adwords adds a gclid parameter to the URL when clicked, and the site is loading another template (the default post template) instead of the template for the homepage.
I'd like to know, where to start searching for the faulthy parts? Any ideas?
Thanks!
PS: Not just the gclid parameter does this, but all other fake parameters too. Strange thing is that only the homepage does this, the other pages with structured URL-s are not doing so. The site uses Visual Composer plugin, if it is important. We tried to solve the problem by .htaccess file, but the redirect causes an error in Analytics tracking of Adwords visitors, so it is not a solution.
Finally, we found a solution!
The theme lacked the front-page.php template for the homepage (read more about wordpress template structure!), so I created it with the correct template HTML code according to the correct layout variable values, and it loads just fine. The URL parameters are not affecting the permalink structure anymore, because now we have a template for the homepage too.
This is better than doing hours of research for redirect- or permalink method workarounds...
if everything fails please use template_redirect hook to load any template you want... template_redirect hook
Also you have to send a 200 OK header there if you simply load file and exit.
I'm writing an AngularJS/Express/NodeJS/MongoDB website. Within this website, on the navigation bar, there's a section called "Blog", another section called "Advice articles". I intended to use Wordpress to publish the blog and publishing articles on my site, due to its outstanding ability as a blogging and CMS platform. My question is how to properly integrate Wordpress into AngularJS/Express/MongoDB system? I have come across articles on how to include AngularJS as a Wordpress subpages, but I haven't seen any articles on how to include Wordpress as an AngularJS subpage. Does anyone here know any tips/pointers/articles on such a strategy ?
My current strategy is :
Let AngularJS routing service handle the route to "Blog" section.
"Blog" section is template, which includes an iframe, that points to the Wordpress site, sth like this :
<div>
<iframe frameborder="0" height="800" width="1200" scrolling="no" ng-src="http://localhost/wordpress/?page_id=4"></iframe></div>
I can display the blog by this strategy. But it still a little bit off, I have to do some manual CSS. Is there a better way to do this out there ?
Also since I want to allow the user to comment on page without asking them to log in again. How do I integrate the login done in Express/MongoDB with Wordpress user login, which is a PHP/MySql system. Are there any article out there that shows how to implement this ?
Thanks in advance,
P.S : I do not want to go the route of rewriting my site as a Wordpress plugin, I and my friends want to maintain AngularJS/Express/Node/MongoDb as our primary MVC stack.
My advise is make wordpress API with wordpress plugin, and build commincation angularJS and wordpress through JSON api , read this article
I have a wordpress multisite network and it has 6 blogs who's posts I want to extract and put into 6 different pages on a separate website (this separate website is not wordpress based but it is php based). Its kind of like integrating wordpress blog into my own website but it does'nt seem to work for wordpress MU blogs. I spent all morning searching the web on how to do this but have come up with nothing. Anyone have any idea on how I can achieve this?
Thanks
Easiest way to do it is with the free FishPig extension for Magento.
http://www.magentocommerce.com/magento-connect/wordpress-integration.html
I use it on all of my sites and it's pretty easy.
You can get then get WordPress MU Integration from this extension:
http://fishpig.co.uk/wordpress-mu-integration.html
If you are extracting posts from each site, then using feed would be an obvious option to go. just post fix the /feed to each blog main url to get posts. In your own site, you will get posts in XML format, you then can parse it with php simpleXML.