Couldn't add sitemap.xml to Google console on netlify - sitemap

I have tried on different sites, even created special domain for tests
but on netlify hosting there is an error
may be it's because free domain? or hosting
Sitemap could not be read General HTTP error

This error often comes up the first time, although it did fetch the sitemap.xml file, when there is an error in the sitemap.xml file.
Click on the line that says Couldn't fetch and you should be redirected to a page similar to below:
You can expand the error line and it will show you the errors.

Related

The requested page can't be found

I'm a new beginner to Joomla. I'm trying to build a website with a sub domain of joomla (free sub domain). After successfully setting up and installing the database plus other components according to several beginners' tutorials, where I successfully upload several templates, I try to test the link of my website but all I get is this error message:
The requested page can't be found.
An error has occurred while processing your request.
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Search
You may wish to search the site or visit the home page.
Search ...
Search ...
Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below.
404 Article not found
How can I really go about solving this issue because after intensive research I have found out that this error message is very common for beginners when it comes to Joomla.
Some Suggestions:
SEF URLS
Try using a non-SEF URL to access an article to see if that works.
For example, check in Content -> Articles for a valid published article ID (the article IDs are in the last column at the right hand side of the page) and access the page using a URL like this:
http://[your-domain-name].com/index.php?option=com_content&view=article&id=xx
where xx is the article ID.
If this works, then your problem has something to do with SEF URLs or URL Rewriting.
You can temporarily disable SEF URLs and URL Rewriting in the Global Configuration.
.htaccess
A badly configured .htaccess file could cause this issue.
Assuming the .htaccess file exists in the root folder of your website (e.g. in the /public_html folder) then try copying .htaccess to .htaccess.old as a backup and reset the .htaccess file to the default settings by copying htaccess.txt to .htaccess.
htaccess.txt should also be found in the root folder of your website as part of a normal Joomla install.
Test whether this fixes the issue.
Third Party Extensions
Try disabling any SEF related third party extensions.

My site got hacked and got many mirror sites which are copying original website

My site got hacked and cloned multiple times. Now if i post anything its get updated on all cloned sites. Can i use some code in such a way that if a user visits a cloned site, he is redirected to original one. Any modification in theme or htaccess file which could do the job. Any help would be
appreciated.
I am using WordPress on shared hosting. My site is dlsoftfree.com and mirror sites are
zoodsabt.com
Thanks
How do you know it was a hacker and not a web crawling ?
Try a Javascript code in the middle of your article.
<script>
//replace 'example.com' for your domain
if(! /^http[s]?:\/\/example.com\//.test(window.location.href)){
var url = window.location.href.replace(/^http[s]?:\/\/([^:\/\s]+)(\w+)+\//, "http://example.com/");
window.location.replace(url);
}
</script>
there is most probable a shell on the server a php file which they can go to via the browser which will give them access to any file on your server change your ftp info, your hosting login info, check all your files for different files which are not ment to be there.Your site is also linked to another when you click the posts it forwards you to another website.

codeigniter custom 500 error

At this very moment I do not have any 500 error being thrown, but in case I ever do in the future I'm trying to customize a page so users never see that awful white screen.
I am having trouble adding said page. I have the page made and a controller that loads the page, but when I try and route the page in the route file or route it using .htaccess I'm still getting that white screen.
This is what I have tried in my route file
$route['500_override'] = 'notFoundErrorPage/serverError';
and then this is what I have tried in my .htaccess
ErrorDocument 500 http://writeyourfiction.com/NotFoundErrorPage/serverError
any help would be wonderful!
CodeIgniter does not have any custom error handlers aside from 404_override, so using one for any other HTTP code will be fruitless.
Apache has custom error pages as you've already attempted, but there are a couple of things to note that may be affecting your results:
1: A local URL begins with a /
A local URL to redirect to (if the action begins with a "/").
2: Specifying in an .htaccess may require additional configuration:
It may be used in .htaccess files if AllowOverride is set to FileInfo.
If you seek additional help, either here or elsewhere, please provide more information about your server environment: operating system, web server (e.g. Apache) and version, any relevant add-ons or modifications you may have made, etc.
It depends on the server software you are using. If you are using Apache, see here: http://httpd.apache.org/docs/2.2/custom-error.html
If you aren't using apache, google "[webserver software] custom 500 page".
If you're still having trouble, try asking on serverfault.com.

Unexpected 302 Redirects in Joomla

I locally designed my site. Then exported MySql database as Sql file and executed the scripts in the real server. Also copied the joomla directory to the server.
Now, I am getting strange 302 redirection errors in my web site, when I am accessing the home page. However, I am able to login into the admin panel. I can see all my contents available.
The redirection happens to the same page, i.e. continuous requests are issued to the index.php/en/ (checked using fiddler).
Am I missing any configurations?
Regards,
Well this is tricky without a link to the site to see the behaviour in person, but it could be that you forgot to upload a .htaccess file or set the Redirect Base or cookie path/domain in the configuration.php (if it's empty then it's probably not a problem, only if you have manually edited it).

Joomla access permission error

When i'm going to edit content in Article, i got below error.
Forbidden
You don't have permission to access /administrator/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
i can't edit my content. how could i avoid this ?
Sometimes when editing articles, the content of the article is flagged by the server as dangerous (e.g. code in the article looks like an attempt at SQL injection), which results in the HTTP 403 you received. You can try editing your content to make it less suspicious, or you will need to look at the security layer in play on your server.
If your server uses Mod Security, you will probably need to contact your hosting company to add a rule exception. If you use some sort of Joomla security add-on, then it's possible that that is the piece responsible for throwing the 403.
If you aren't sure, your best bet might be to ask your hosting company or sysadmin.
I ran into the same issue. I couldn't solve it, but a quick workaround would be to edit the article directly in the database, under jos_content (replace jos_ by your table prefix if different). When you are editing the article in Joomla's backend, look in the URL for the ID of this article. Then, in the table, search for that ID (ex : SELECT * FROM jos_content WHERE id = YOUR_ID). Edit the content field, and there you go
If you are using Mac, change the permission of the Joomla folder to "read&write".

Resources