optionsmegastore Posted May 18 Share Posted May 18 (edited) i installed prestablog in my shop, and their Maaster sitemap url is domain.com/modules/prestablog/sitemap/1/master.xml while in my robots.txt i already have Disallow: /modules/ , adding my master blog sitemap returns with couldnt fetch, and also inspecting the url returns by blocked by robots.txt i tried adding Allow: /modules/prestablog/sitemap/ in my robots.txt before disallow: /modules/ and after it. and still no luck. any help would be appreciated my target url is https://optionsmegastore.com/blog Edited May 18 by optionsmegastore (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted May 18 Share Posted May 18 maybe this will help: User-agent: * Allow: /modules/prestablog/sitemap/1/master.xml Disallow: /modules/ Use robots.txt Tester https://technicalseo.com/tools/robots-txt/ Link to comment Share on other sites More sharing options...
optionsmegastore Posted May 18 Author Share Posted May 18 (edited) thank you for your response, i tried this useful robots.txt test and it shows this, which means allowed and worked, but, weirdly, adding it to google sitemap doesnt work, always couldnt fetch directly. and still. please note, i have no problem with my website sitemap, its there, success , and updating etc. . Edited May 18 by optionsmegastore (see edit history) Link to comment Share on other sites More sharing options...
optionsmegastore Posted May 18 Author Share Posted May 18 here's another screenshot to gsc when i do live test to the url Link to comment Share on other sites More sharing options...
El Patron Posted May 18 Share Posted May 18 please update robots.txt and try it with fully qualified name Allow: /modules/prestablog/sitemap/1/master.xml Link to comment Share on other sites More sharing options...
optionsmegastore Posted May 18 Author Share Posted May 18 same , in sitemap and in live url. no change. still blocked in robots.txt for live url and not fetching for sitemap. Link to comment Share on other sites More sharing options...
El Patron Posted May 18 Share Posted May 18 I made a mistake, try removing the /1/... Allow: /modules/prestablog/sitemap/master.xml else you could update the module to write to root file, where google sitemap is located, i.e. remove from directory modules. Link to comment Share on other sites More sharing options...
optionsmegastore Posted May 18 Author Share Posted May 18 (edited) 11 minutes ago, El Patron said: I made a mistake, try removing the /1/... Allow: /modules/prestablog/sitemap/master.xml else you could update the module to write to root file, where google sitemap is located, i.e. remove from directory modules. if i removed the /1/ it is disallowed in robots tester. however, the blog module have its own sitemap and can't be changed, will have to look further and see if possible Edited May 18 by optionsmegastore (see edit history) 1 Link to comment Share on other sites More sharing options...
Olivier CLEMENCE Posted May 19 Share Posted May 19 Hello, you can use our sitemap module, it can get all prestablog url and add it in the sitemap : https://addons.prestashop.com/en/seo-natural-search-engine-optimization/88488-op-art-sitemap-unlimited-pages-images-filters-.html 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now