Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki
(view source)
Revision as of 22:29, 19 May 2017
625 bytes added
,
22:29, 19 May 2017
no edit summary
Line 131:
Line 131:
<pre>
<pre>
$sudo chmod 000 mw-config
$sudo chmod 000 mw-config
+
</pre>
+
+
== Create Sitemap ==
+
Create a Bash Script for cron usage, like sitemapwiki.sh
+
enter:
+
<pre>
+
#!/bin/bash
+
cd /webspace/wiki/ #go to wiki path
+
rm -rf sitemap #purge old sitemaps
+
mkdir sitemap #create new directory for sitemaps
+
php maintenance/generateSitemap.php \
+
--skip-redirects \
+
--fspath sitemap \
+
--server https://wiki.linuxonlinehelp.de \
+
--urlpath https://wiki.linuxonlinehelp.de/sitemap
+
exit 0
+
</pre>
+
+
== enable Apache24 Sitemap Access ==
+
add to vhosts Config of the Wiki:
+
<pre>
+
<Directory "/webspace/wiki/sitemap/">
+
Require all granted
+
AllowOverride All
+
Options -Indexes
+
</Directory>
</pre>
</pre>
Author
Bureaucrats
,
Administrators
286
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Linux
Debian + Ubuntu
Apache Webserver
Openbox
SME server
Privoxy Tor
Postfix
Tinycore Linux
Tools
MySQL
MySQL
Wordpress
Customize
Unix
FreeBSD
Router OS
openwrt
pfsense
fritzbox
Netio Koukaam Wiki
netio-230a/b
Mediawiki
MediaWiki
Tools
Special pages
Printable version