WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Strange redirects

[Resolved] Strange redirects

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you have any redirects in your htaccess file? Are you using plugins that may be causing this? Try disabling them to see. If it correct, reenable 1 by 1. This is not normal behavior.

    I do not have plugins that may edit/redirect sites…

    This is my .htaccess right now:

    RewriteRule ^category/(.*)$ /glamour/$1 [R=301,L]
    RewriteRule ^tag/(.*)$ /t/$1 [R=301,L]
    
    # 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>

    what are you trying to achieve with lines 1 and 2? that looks like the culprit… i’m no . .htaccess guru but a 301 is a redirect

    I changed the alias for tags and category.
    The alias for the tags changed from tag to t and from category to glamour

    So that queries to mysite.com/tag/xyz will redirect to mysite.com/t/xyz

    I have tried to delete it from the htaccess, so it’s not the source of those stranges redirects.

    hmm.. I have checked in other blogs 2.x hosted in other places and they behave the same….

    it looks like that this behavior is normal. Is it happening in your blogs as well? Maybe you can try /a /b /c /d , etc…

    looks like you are right. comments retracted! this must be a permalink setting with custom permalinks

    ok cool, thanks much :)))

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Strange redirects’ is closed to new replies.
Skip to toolbar