• To cleanup the urls I’ve tried adding the htaccess code

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} .
    RewriteCond %{QUERY_STRING} !^(s|p)=.*
    RewriteCond %{REQUEST_URI} !.*wp-admin.*
    RewriteRule ^(.*)$ /$1? [R=301,L]
    </IfModule>

    Code Source – http://www.labnol.org/internet/clean-wordpress-urls/19301/

    but the code is showing the content twice.

    Any help would be quite helpful.

    – Thanks

  • The topic ‘htaccess code showing content twice’ is closed to new replies.