Have you seen a error similar to the one below while trying to access your WordPress Sitemap?
This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
I’ve looked around and one guy solved the problem by removing some PHP-code that indicates the PHP code ending or whatever you call it “?>” in his themes functions.php file.
Because apparently he had 2 of them which caused the sitemap error for him and someone else too in that thread.
But that was not the problem for me. The problem was because some idiot (me) had made a plugin and left linebreaks and spaces in the plugin PHP-file.
So check your WordPress plugins. Deactivate one at a time and hit F5.
Have fun! 😉
This is mostly a note for myself but I’m sure some people will find it useful too.
If you want to change the cache location of where Chrome, Vivaldi and probably other browsers that use the same rendering engine, this is how you do it the easy way.
But this is only for the Shortcut, if some other application starts your browser for example, these parameters wouldn’t be used.
It’s a minor problem, at least for me… I just replace all the shortcuts to Vivaldi I have.
I use a free RamDisk for Windows because I work a lot with temporary files and it’s faster than any harddrive. So that’s where I also place the web browser cache.
1: Right-click on your Chrome/Vivaldi-shortcut and click on “Properties”.
2: Under the tab “Shortcut” you’ll see the field “Target”. Right at the end of the path to the “.exe” file is where you place the parameters for cache directory location and also how much space it should be able to use.
This is the shortcut I use for example. X: is the RamDisk, and 350000000 = 350 MB.
"C:\Users\YOURUSERNAME\AppData\Local\Vivaldi\Application\vivaldi.exe" --disk-cache-dir="x:\Temp" --disk-cache-size-350000000
I hope you find it useful!
I’ve tried several RAMDisk softwares before I found one that were free and worked under Windows 10 64-Bit.
The RAMDisk I use is called ImDisk Toolkit, and I find it pretty much perfect. It got plenty of features which should cover pretty much every users needs.
It might also save a lot of write cycles on your precious SSDs. 😉
You can set it up to mount ISO-files and other image file formats if you want to.
Or setup a folder on one of your hard drives and have the content inside it copied to the RAMDisk every time you boot up your PC.
It can also be setup to save the stuff you currently got stored on the RAMDisk to a directory of your choice before you shut down your PC.
You can download ImDisk Toolkit here!
Since I always ted to forget the port number for SSL/HTTPS of one of the ASUS routers I use sometimes I created these URLs with the service TinyURL.com so anyone can use them to access their routers if the have the same problem.
It’s for the standard port and both goes to “https://192.168.1.1:8443“. It’s the standard IP and port when turning on HTTPS for the ASUS RT-AC66U router at least, and probably other models too from ASUS.
Here’s the “shortcuts” or whatever you want to call it:
I hope I just can remember this myself. 😛
If you ever need to get some quick info about the Windows PC you’re using try the the following command in either “PowerShell” or the “Command Prompt”.
It will give you a output that looks similar to this among with more stuff if you scroll further.
This one should be easy to remember…systeminfo. Say it again, “Systeminfo”.