• Hi!

    My htaccess is the following

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress-3.8/
    RewriteRule ^index\.php$ – [L]
    RewriteRule ^flux.xml$ /wordpress-3.8/?feed=rss2 [QSA,L]
    RewriteRule ^redaction.html$ /wordpress-3.8/?p=46 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress-3.8/index.php [L]
    </IfModule>
    # END WordPress

    The first rewriting (flux.xml) does not work.
    But the second rewriting (redaction.html) works correctly.
    The first shows an xml file of 404 error!

Viewing 1 replies (of 1 total)
  • Thread Starter haidago

    (@haidago)

    Even the one line which works, it is not interpreted as url rewriting but 301 redirection.
    => RewriteRule ^redaction.html$ /wordpress-3.8/?p=46 [QSA,L] !!!!!

    I don’t find solution of it since more than one week!

    So I give up. I’ll use “Redirect 301”, not to touch wordpress htaccess section!

    Redirect 301 /flux.xml https://mywebsite.com/wordpress-3.8/?feed=rss2
    Redirect 301 /redaction.html https://mywebsite.com/wordpress-3.8/?p=46
Viewing 1 replies (of 1 total)
  • The topic ‘Url rewrite to RSS trouble’ is closed to new replies.