• Hi,

    I need to have a working index.html url. It should show the normal startpage. So I added this (1) rule, but I just get the wordpress error page…

    `RewriteEngine On
    RewriteBase /
    (1) RewriteRule index.html$ /index.php [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]`

    Any hints??

    Thanks Joscha

Viewing 4 replies - 1 through 4 (of 4 total)
  • I need to have a working index.html url.

    why?

    Thread Starter joka12

    (@joka12)

    I changed from static html to wordpress and there are a lot of old links to /index.html.
    Actually I could do a 301 status code redirect from /index.html to /index.php, but I don’t know if this is a good idea.

    I have seen other websites like wordpress.com/index.html that have the same behaviour and I’m really wondering how this is done.

    thanks for response Joscha

    audiopill

    (@audiopill)

    I search for almost a week now and I cant find a clear answer, maybe someone can help me with this issue?

    I have my WordPress (2.3.3) installed in A “WP_blog” directory.
    For some reason when I click on tags on a post it adds the “WP_blog” directory and the index.php to the url and the results are lost.

    Example: https://mydomain.com/wp_blog/index.php?tag=sometag
    If I delete (manually)the “/WP_blog/” part of the url the link is working fine.
    So my question is how can I redirect the url results to https://mydomain.com/tag/sometag ?

    btw: I have two wordpress installation on the other one its working just fine.

    My Permalinks settings is:/%postname%/

    Thank you
    Harel

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    audiopill: You should really start your own thread instead of adding to a 6 month old one.

    Nevertheless, check your URLs on the Options->General page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make rewrite rule index.html -> index.php’ is closed to new replies.