Topic on Project:Support desk

Jump to navigation Jump to search

ShortURL is ignoring the main page

Soulqueerschlatt (talkcontribs)

All the pages are fine- they all have /w/Page, except the Main Page.

The link when you first go in goes to /Main_Page (which is a 404) instead of /w/Main_Page (which is also a 404), and I can only get to it by going to /index.php?title=Main_Page (/w/Main_Page doesn't work).

However, any OTHER page works just fine and goes to the page if you put in /w/Page.

... I followed the directions completely and used shorturls.redwerks, so I don't know why the Main Page isn't working.

Bawolff (talkcontribs)

Do you have a file named Main_Page in any of the directories?

Can you post your .htaccess?

Soulqueerschlatt (talkcontribs)

RewriteEngine On

RewriteRule ^/?w(/.*)?$ %{DOCUMENT_ROOT}/index.php [L]

I'm using the click and build from IONOS, and I. Think? It's in the root, the path is Path: /clickandbuilds/MediaWiki/Queerpedia

It worked fine before I updated to use an extension that needed it updated, though I think it had the 404 handler which I stopped using

I also have no idea where Main_Page is tbh

Bawolff (talkcontribs)

there should not be any file named Main_Page. The reason i asked is in some setups if you have a file in tbe filesystem with the same name as the page, the short url stops working.

Unfortunately i don't see anything wrong with what you describe, so im kind of at a loss. If its a public wiki consider linking to it so people on the forum can test.

Reply to "ShortURL is ignoring the main page"