Magento not updating Sitemap automatically - magento

My Sitemap is not generating automatically. I have enabled Google Sitemap in System -> Configuration -> Catalog -> Google Sitemap -> Generation Setting
and entered all the values.
But sitemap is not updating in Catalog -> Google Sitemap.
I have also tried to truncate cron_schedule table but no luck with that.

Related

Magento 2 stop clearing cart if user switch between Websites

I'm working on a Magento 2.4.2 with different websites. If a user add some items on a Web Site, open a new tab on the same browser and then visites another Web Site, the cart get emptied.
How can I stop Magento from doing that?
assuming a single domain, you have multiple websites created in Admin -> Stores -> Settings -> All Stores
Make sure that in Stores -> Configuration -> Customers ->
Customer Configuration -> Account Sharing Options section.
Set the “Share Customer Accounts” setting to “Global”

How to create sitemap in Magento 2

How can we create sitemap.xml in Magento 2, it is not being generated even I have done configuration setting in Stores -> Configuration -> Catalog -> XML sitemap
If sitemap is not generated through CRONJOB, then can create it manually as well using below steps:
login to Magento 2 admin
Navigate to Maketing -> SEO & Search -> Site Map
Click on 'Add Sitemap'
Make required entries there
Click on 'Save & Generate'
That's it. Your sitemap.xml has been generated in given path

404 page not found when trying to access CMS -> Pages in admin panel Magento 1.8.1.0

Shortly after configuring my site to have two separate websites I could not access CMS -> Pages to manage my pages.
I followed the steps on this two links http://www.magentocommerce.com/boards/viewthread/18223/ | Magento admin panel gives 404 when trying to enter cms pages where they mention “cms_page_store” table. But that table obviously does not exist in 1.8.1.0 Magento version.
Old question, but still happened to me in Magento 1.9.1.0. Some leftover CMS-Page database entries were referencing a store_id of a store that no longer existed after I deleted it.
So here's what solved it for me:
Find out the ids of your stores: Under System > Manage Stores in the column Store View Name look for the Store's id that pop up when hovering the link and also in the link url (e.g. ...admin/system_store/editStore/store_id/3/key/...)
To be safe, make a database backup under System > Tools > Backups
Go to your database and find the table cms_page_store. Delete all entries with a store id in the field store_id that points to a store, that does no longer exist.
Refresh CMS > Pages, 404 should be gone.

Add meta tag for Pinterest Accounts verification for magento site

I want to add meta tag for Pinterest Account verification for my magneto site. I added it in
System -> Configuration -> Design -> HTML head -> Miscellaneous Scripts. But it doesn't appear in the page source. Does it require anything more setting to do?
then you have to put the script in
app/code/design/frontend/[package]/[template-name]/template/page/html/header.phtml

In the sitemap module magento, sitemap.xml generated when the front of the product categories do not want to add the path how to do that?

Who can tell me, in magento module in the sitemap, sitemap.xml generated when the front of the product categories do not want to add the path, for example: the product page address is http://XXXX.com/category/category_product.html, I want to Product page address to http://XXXX.com/category_product.html, how to do that? Who can give me a good suggestion? Thanks!
You can try to achieve that by enabling canonical url for products in System -> Configuration -> Catalog -> Search Engine Optimizations -> Use Canonical Link Meta Tag For Products -> Yes

Resources