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

    (@carapaucostante)

    Hello I resolved the issue with post permalinks and now everything is fine with posts:
    https://www.mysite.com/wordpress/2014/03/03/my-beautiful-post/
    send me to:
    https://www.mysite.com/my-beautiful-post/

    I still have a problem with categories and tags:
    https://www.mysite.com/wordpress/category/my_category/
    and
    https://www.mysite.com/wordpress/tag/my_tag/

    Can someone help me with that? I have a lot of 404 in webmaster tools.

    My htaccess follow:

    RewriteEngine O
    RewriteCond %{REQUEST_URI} !^/wordpress
    RewriteRule ^(.*)$ wordpress/$1 [L]
    RedirectMatch 301 /2012/(.*)/(.*)/(.*)/(.*) /$3/$4
    RedirectMatch 301 /2012/(.*)/(.*)/(.*) /$3
    RedirectMatch 301 /2013/(.*)/(.*)/(.*)/(.*) /$3/$4
    RedirectMatch 301 /2013/(.*)/(.*)/(.*) /$3
    RedirectMatch 301 /2014/(.*)/(.*)/(.*)/(.*) /$3/$4
    RedirectMatch 301 /2014/(.*)/(.*)/(.*) /$3
    RedirectMatch 301 /2015/(.*)/(.*)/(.*)/(.*) /$3/$4
    RedirectMatch 301 /2015/(.*)/(.*)/(.*) /$3

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 1 replies (of 1 total)
  • The topic ‘Site URL and permalink change issue’ is closed to new replies.