• Resolved Stophond

    (@stophond)


    Hope I am posting this in the correct place. If not pleas advise where to post. Thanks.

    I am trying to achieve a WordPress 301 redirect after transferring my blog from blogspot to a self hosted site.

    I am using the Nirvana theme but no matter what I try, I cannot achieve the required 301 redirect. Using a plug in for this purpose also has no effect.

    I briefly used another theme and I did achieve the redirect. Can a theme effect the working of a 301 redirect?

    Does anybody have any advice for me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t think that a theme would cause an issue with a 301 redirect, but then again I could be wrong.

    Question is, when you visit your sites url, are you getting an error? If so, what kind?

    My suggestion is the check your .htaccess file and see if that could be the problem. Based on my limited knowledge of how to actually properly write the .htaccess stuff, here’s what I’ve got:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

    Where example.com would be the old url you are redirecting from, and example.net would be the url you are redirecting to.

    You mentioned you just went from blogspot to a self hosted site, and it might be helpful to provide the url you are trying to access in that case so we can look at where traffic is routing and such.

    Thread Starter Stophond

    (@stophond)

    Thanks for your response.

    The problem is resolved. Was an issue with cutting and pasting code!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress 301 Redirect’ is closed to new replies.