• website : http://smallworldinn.com/

    if you check it out right now it’s totally fine, but if you click the SAMPLE PAGE (Link: http://smallworldinn.com/sample-page/) it gives me an error

    Not Found

    The requested document was not found on this server.
    Web Server at smallworldinn.com

    but if you add index.php after the domain it’s there
    (http://smallworldinn.com/index.php/sample-page/)

    I already have my htaccess file with this code:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    i have set my custom structure to:

    /%postname%/

    help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try this in .htaccess file

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Thread Starter dumby

    (@dumby)

    @samirtuladhar

    applied! still got the same error. 🙁

    i really don’t know what’s wrong…

    Is your website hosted on Linux or windows services.

    Thread Starter dumby

    (@dumby)

    Hosting Package: Windows Web Starter
    in M2host

    Thanks!

    IIS (common on Windows servers) does not support mod_rewrite. you might have to contact your web hosting company to resolve it. You should have bought the Linux hosting.

    Thread Starter dumby

    (@dumby)

    ahhhhh… yeah, i did but it’s almost been a month now they haven’t solved it. so if I get to transfer to a linux server this would be fixed right?

    Think so. Few of my sites did have this problem but gotten fixed when changed to Linux hosting.

    Thread Starter dumby

    (@dumby)

    thanks a lot samirtuladhar!

    I have contacted my hosting and luckily the transfer is for free and will be done as soon as possible. Thanks for the great info! Didn’t know this. Lol.

    I’ll update the thread if this will solve my problems

    No worries. Glad to help you out.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Permalink problem’ is closed to new replies.