• Resolved Bence Fodor

    (@webmotion)


    Hi!

    I’ve searched thru the forum and either i was dumb or just really coulnd’t find a clue to get thru my problem:

    On the server where i host my blog i need to make every link contain the proper webpage like index.html or index.php?xxx=123. My problem is that – by default – WordPress uses a https://www.xxx.yyy/?p=123 form as permalinks, and i need to somehow specify that i’m relating to index.php?p=123, otherwise it won’t work.

    I don’t have any chance to modify .htaccess files or Apache config files, i can’t even chmod on my server :-S because of the hosting policy.

    Forgive my english. Thanks in advance for the replies…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The only solution I can see: get a real host.

    I’m not sure I completly understand the problem you’re having. I know it’s a real pain (because you need the post ID’s, etc), but you should be able to provide working links using hte ?pxxx format if you can’t get your host to make things WP friendly or can’t/don’t want to switch hosts.

    Thread Starter Bence Fodor

    (@webmotion)

    thanks for the replies guys!
    the problem is that if i don’t specify the filename like https://www.xxx.yyy/index.php?p=123 just plain https://www.xxx.yyy/?p=123 the server dumps me to a 404 page, as i am afraid that the default indexfile’s name is set to index.html.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    webmotion: Only your host can fix this problem, you’ll really have to deal with them or switch hosts.

    But just for fun, try dropping a .htaccess file in your webpage’s root directory and adding this line to it:
    DirectoryIndex index.php index.html

    if you’re going to use the .htaccess file, don’t forget, you can use the “fancy” permalinks as well if your host has mod_rewrite, just be careful with the .htaccess in case they have the frontpage server extensions installed.

    Thread Starter Bence Fodor

    (@webmotion)

    Hi guys!

    Many thanks for your posts!
    I tried the htaccess stuff, but “of course” it is prohibited (even to create such a file). But nevermind: i’ve succeeded in finding another host, and migrated the whole WP there. So far it works correctly.

    Thanks again!

    Thread Starter Bence Fodor

    (@webmotion)

    Moved to a “real host” ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Permalinks revisited (lack of index.php causes problem)’ is closed to new replies.