• Resolved natty

    (@natty)


    I’m having a problem with apache2 and rewriting urls which i can’t resolve:

    my blog is located at https://www.myserver.com/wordpress/
    everything works fine if i call https://www.myserver.com/wordpress/index.php

    however, i want to display my blog front page also at https://www.myserver.com

    so, i’ve got a rewrite-rule in the directory / of the form
    RewriteBase /
    RewriteRule ^$ /wordpress/index.php [R]

    this works, but whenever i type ‘www.myserver.com’ it is rewritten to ‘www.myserver.com/wordpress/index.php’

    is there a possiblity to leave the displayed url unchanged? when i use the rewrite-flags [L] or [QSA] instead, wordpress displays the blog-template but instead of my articles wordpress displays a 404-page
    “Sorry, but we are unable to find any article matching your request.”

    is there a way to display the index-page of my blog on ‘www.myserver.com’ without a _visible_ change of the url?

    thanks in advance. i would greatly appreciate any hint!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘redirecting from / to /wordpress’ is closed to new replies.