Forums

htaccess/mod_rewrite wierd behaving with plugin (title of page shown, rest 404) (1 post)

  1. Restin
    Member
    Posted 10 months ago #

    Hi,
    I bought a plugin real estate, which shows details of each estate this way: example.com/real-estate?reid=## (demo here: http://blog.kouritzdrave.cz/real-estate?reid=1).

    I tried to edit htaccess to change its url to example.com/aaa/1:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase / 
    
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    <strong>RewriteCond %{REQUEST_URI} !^/(aaa)   </strong>
    RewriteRule . index.php [L] 
    
    <strong>RewriteRule ^aaa/([0-9]+) /real-estate?reid=$1 [QSA]</strong>
    
    </IfModule>

    But result is weird - WordPress returns 404, but with Real Estate's title (example: http://blog.kouritzdrave.cz/aaa/1 ).

    Could anyone help me please? I am willing to pay you for helping or give you that reality estate plugin for free. Thank you very much!

Reply

You must log in to post.

About this Topic