Julius Schorzman wrote:
> I just updated my wiki from using CGI on a shared web server with urls like
> this:
> http://www.codecodex.com/wiki/index.php?title=Bubble_sort
> 
> To a new private server with short urls:
> http://www.codecodex.com/wiki/Bubble_sort
> 
> The problem is, all of my inbound traffic from search is getting forwarded
> from here:
> http://www.codecodex.com/wiki/index.php?title=Bubble_sort
> 
> to here:
> http://www.codecodex.com/wiki/index.php
> 
> which has no content.
> 
> I used the recommended set up described here:
> http://www.mediawiki.org/wiki/Manual:Short_URL
> 
> Any idea what I should do to forward search engine visitors to the right
> location?

1. Install mediawiki on /wiki/ folder and place the short urls with a
different prefix. Just that will allow your visitors to see the content.

2. Make .htaccess redirect (301) ^index.php?title=[^&]*$ to the desired
short url.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to