kc123 Hi, I've just moved the dokuwikii setup tip to a new server. Basically a newer version of Centos. Centos 7 3.10.0-123.9.3.el7.x86_64 Essentially I just copied over the dokuwiki folder over. The site works fine with all the links and pages appearing properly except when I click anything in the media link I get a 404. For example I click: http://<ip address>/wiki/_media/file_jan_19_2015.zip I get a "Looks like we've got a 404" message. I checked and the file does exist in my /opt/httpd/htdocs/wiki/data/media/ folder. Is this something to do with my .htaccess file or somewhere else ? Or do I just need to clear my cache ?- since this is in a new server now and I copied over everything in including cache. Anyway here's my .htaccess file RewriteEngine on RewriteBase /wiki RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L] RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L] RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L] RewriteRule ^$ doku.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) doku.php?id=$1 [QSA,L] RewriteRule ^index.php$ doku.php Thanks in advance !
turnermm You may just need to delete the old cache. But see this: https://www.dokuwiki.org/faq:servermove