Submit Site-map to for multi-store in web master in magento - magento-1.7

Hello my magento store has multi-store view for diff. language. now i need to submit sitemap for all but i am not able to submit because in magento all sitemap generate under sitemap folder and sub folders based on store code.
its generate like that storewise http://www.demo.co.uk/sitemaps/de/sitemap.xml, other
http://www.demo.co.uk/sitemaps/uk/sitemap.xml
Any one have idea how to submit sitemap for all store in google webmaster ?
THanks in adavanc..

You can add a sitemap_index.xml file in the top magento folder. Then you can tell the crawler where to go.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://demo.co.uk/sitemaps/de/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>http://demo.co.uk/sitemaps/en/sitemap.xml</loc>
</sitemap>
Before you do this update the line in robots.txt to link to your index file
Sitemap: <sitemap_location>

Related

Magento 2 Admin Pages Content

I'm new to Magento 2 development and am trying to customize some of the content on admin pages and on the "customer account" pages.
Can anyone tell me where the PHP/html code for these is located in the standard file structure? Are there any codeblocks/layouts used for these?
Magento admin pages are mostly built from ui_component ( form, listing ) which requires to understand not only html or phtml , but also knockout js, smarty template , xml and data provider. So nobody can help you with some lines of code or just show you the files you need.

Sitemap not really working in typo3 9.5.x

I'm trying to get a sitemap working in Typo3 9.5.x. If I go to https://domain.tld/?type=1533906435 I get the following page.
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/typo3/sysext/seo/Resources/Public/CSS/Sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://domain.tld/index.html?sitemap=pages&cHash=38eee382dd3fc2edb80b67944d477100</loc>
<lastmod>2019-10-07T13:57:04-07:00</lastmod>
</sitemap>
</sitemapindex>
So far so good. But the link in there should take me to the actual sitemap, but instead takes me straight to the root page without any redirection. This happens on 2 different sites. I didn't configure anything special, just enabled the seo system extension and included the static template as described here.
When I submitted the sitemap to Google's Search Console, it said "could not fetch", but the next day the status was "Success" and it discovered URLS. I guess Google crawled the root page and found the links on it.
How do I get the sitemap working or is there a bug somewhere?
The index.html part in the path to the pages sitemap looks weird to me.
Can you please try to open the loc url without the index.html part?
If you can see the sitemap then, we have to take a look where this index.html is coming from.

Error while Submitting SiteMap to Google Webmaster tools?

I was trying to submit my sitemap to google webmaster tools but it returns the error like “ Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead. ” I am using YOAST SEO and i tried to use XML Sitemap Generator plugin for wordpress.
enter image description here
So how can i fix this issue..
Check that your sitemap.xml file is actually properly formatted XML. You can use the XML validator here for example: https://www.xmlvalidation.com/
If it's a generated sitemap file it may contain errors making it validate as HTML or other by the Google Webmasters Tools

How to integrate an index.php file (in which is a form) into a fan gate, so it's just visible for fans?

how to integrate an index.php file (in which is a form) into a fan gate (so it's just visible for fans)?
I already got the fangate php file but I don't know how to integrate another php file in the fangate.
It doesn't work with " include "index.php"; " because everytime someone clicks the Send/Participate button of the form in the index.php file a new white/empty site is loading. But the index.php file works without the fan gate integration.
Has someone had the same problem or has anyone an idea what I can do to solve the problem?
An immediate solution would be to modify your fan_gate.php file so it will redirect the fans to the index.php file
However, the better solution would be to fix your form. It should work fine with include, I have several includes in my app and it works just fine. The problem is probably with your form's target (action). Change it to fan_gate.php if you use include.
If it still doesn't work, can you give me a link to the page?

Does Bing Allow Image Sitemaps Like Google?

Does Bing allow images in their sitemaps like Google?
Please see the Google example below:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1">
<url>
<loc>http://www.example.com/foo.html</loc>
<image:image>
<image:loc>http://example.com/image.jpg</image:loc>
</image:image>
</url>
</urlset>
It's Google the only search engine currently which supports Image sitemaps. The other search engines may successfully parse these sitemaps but they will likely ignore the tags related to the Image sitemap extension.
Note that in your example there's an error, and is likely that this is what causes parsing difficulties for Bing. The Image schema hub is located at http://www.google.com/schemas/sitemap-image/1.1/
That is, you need to replace the following bit:
xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1"
with
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"