How do I edit the default special page? I'd like to turn it into the main wiki page with links to articles.
Printable View
How do I edit the default special page? I'd like to turn it into the main wiki page with links to articles.
Not sure what "default" special page you mean. If you mean the search box that appears when you don't specify a title in the URL, for now you would have to do this with a plugin - and you should 301 redirect to the page you want. Special pages aren't threads so they can't be edited.
K, thanks for the info.
Hey sorry for all the questions. I suppose this info may help other users too. I'm trying to do a 301 redirect in my htaccess file to redirect the default page for no title to a specified wiki article. This page will be sort of a intro page to direct people to other parts of the wiki when they goto a blank title.
My url structure is: http://www.website.com/wiki/title
I have the following line in .htaccess in my root folder:
I've also triedCode:redirect 301 /wiki/ http://website.com/wiki/Wiki_Index
When I go to either location I get redirect errors. It takes me to a location like:Code:redirect 301 /wiki/ http://website.com/forums/showwiki.php?title=Wiki_Index
http://website.com/wiki/Wiki_IndexWi...ndexWiki_Index
Not really sure whats going on here. Anyone got any advice?
It's going to match any URL with /wiki/ and attempt to redirect it - which will cause an infinite loop. You will need to specify the pattern to match the end of the string ($).
I'm unfamiliar with the redirect 301 format you're using, but something like the following may work:
Code:redirect 301 /wiki/$ http://website.com/wiki/Wiki_Index
You may also want to account for www.yoursite.com/wiki as well (without the trailing slash)....