
knittingand at gmail
Aug 10, 2013, 7:40 PM
Post #11 of 14
(35 views)
Permalink
|
I just thought of something that is probably the problem (smacking myself in the forehead here). I originally set up the wiki infrastructure at knitting-and.com/wiki People linked to the long form of URLs there I set up short urls - the incoming long urls were working & redirecting to the short versions I moved the wiki infrastructure to knitting-and.com/w with articles at knitting-and.com/wiki Long urls are coming into the OLD wiki long URLs at knitting-and.com/wiki/ So I need to set up the old version of the long urls from knitting-and.com/wiki/ to redirect as well as the current version. Does that sound right or completely insane? On 11 August 2013 12:33, Sarah Bradberry <knittingand [at] gmail> wrote: > Sorry, I changed it back to what I originally had because of the high > amount of traffic I have on short urls. > > So it was short urls working, long urls redirecting to index.php with the > current setup (.htaccess and LocalSettings that I originally posted). > > > On 11 August 2013 12:31, Sarah Bradberry <knittingand [at] gmail> wrote: > >> Long urls aren't redirecting to index.php? >> >> >> On 11 August 2013 11:44, John <phoenixoverride [at] gmail> wrote: >> >>> both short and long urls are working for me >>> >>> On Sat, Aug 10, 2013 at 9:16 PM, Sarah Bradberry <knittingand [at] gmail >>> >wrote: >>> >>> > On 11 August 2013 10:56, Dave Humphrey [via Wikimedia] < >>> > ml-node+s7n5010997h39 [at] n6> wrote: >>> > >>> > > A few things you can check/try: >>> > > >>> > > RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] >>> > > RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L] >>> > > >>> > >>> > I just gave it a go but it's returning a 404 error if you try and >>> look at >>> > a wiki page with a long url. >>> > >>> > If I use the short URL code from >>> > http://www.mediawiki.org/wiki/Manual:Short_URL it will return >>> > >>> http://www.knitting-and.com/wiki/index.php?title=Lacy_Gloves_(Vintage)with >>> > a 404 or >>> > http://www.knitting-and.com/w/index.php?title=Lacy_Gloves_(Vintage)< >>> > http://www.knitting-and.com/wiki/index.php?title=Lacy_Gloves_(Vintage) >>> > >>> > with the correct page but a long url >>> > >>> > I don't have access to the apache root configuration. >>> > >>> > >>> > >>> > >>> > -- >>> > View this message in context: >>> > >>> http://wikimedia.7.x6.nabble.com/Need-Help-with-Short-URLs-tp5010861p5011000.html >>> > Sent from the WikiMedia General mailing list archive at Nabble.com. >>> > _______________________________________________ >>> > MediaWiki-l mailing list >>> > MediaWiki-l [at] lists >>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >>> > >>> _______________________________________________ >>> MediaWiki-l mailing list >>> MediaWiki-l [at] lists >>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >>> >> >> >> >> -- >> Knitting and crafts - online for over 17 years! http://knitting-and.com >> Craft videos http://youtube.com/knittingand >> Cooking videos http://youtube.com/thevintagekitchen >> > > > > -- > Knitting and crafts - online for over 17 years! http://knitting-and.com > Craft videos http://youtube.com/knittingand > Cooking videos http://youtube.com/thevintagekitchen > -- Knitting and crafts - online for over 17 years! http://knitting-and.com Craft videos http://youtube.com/knittingand Cooking videos http://youtube.com/thevintagekitchen _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] lists https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|