WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been having problems with my website and as a result did a Crawl test in SEOmoz. The test found a 301 Permanently Moved Redirect of all the pages on the website and it appears that they are redirected back to themselves?

After completing a crawl of my website I found that there is this huge amount of what appears to be corrupted data added to the URL for each of these pages: https://www.getyourphotosoncanvas.com/%7Egetyouv4/%7Egetyouv4/contact-us.html 301 redirects to https://www.getyourphotosoncanvas.com/%7Egetyouv4/contact-us.html

This is then followed by an long list of redirects each adding another line, e.g.: domain/7Egetyouv4/%7Egetyouv4/%7Egetyouv4/../%7Egetyouv4/%/contact-us.html

This repeated part, %7Egetyouv4, goes on forever... I have shortened it for the post and removed the domain name to prevent a third link (post limit).

I know this has got to be a problem. Bluehost support says that they show no 301 redirects, then that it might be a problem in the WP xmlrpc.php file? I am a novice at this can someone please tell me what all this means?

Just to clarify, I did not set the redirects, don't need redirects, this just showed up without my knowledge. Some have suggested a hack?

More importantly, can you tell me how to fix it?

share|improve this question

This can be due to various problems: bad code in your theme, bad code in a plugin, .htaccess configuration issue...

If you don't know how to edit the .htaccess, you can start by doing the following:

  • Change your theme
  • Deactivate your plugins

If it doesn't solve the problem, it will probably be related to your .htaccess.

If this solves the problem, try reverting back to your original theme and check if the issue is back. If it is, it's a theme issue. If not, try reactivating the plugins one by one and test after each reactivation to identify which one causes the redirect.

One thing you can do is scan your website with http://sucuri.net/ to make sure there is no corrupted file. If everything is clean, it starts to be a more complex issue to debug.

share|improve this answer

Delete your htaccess file and update your permalinks option and see if it fixes the problem.

share|improve this answer
Thanks for the reply. I'm a novice at this! Sorry, How would I delete this file and there is no mention of replacing it. How would you update the permalinks option? – user16360 May 22 '12 at 16:54
remove .htaccess from the root of your site (where wp-config is). Then go to SETTINGS > PERMALINKS page in the admin and it will automatically create a new .htaccess. – Steven Jones Feb 27 '14 at 21:40

Go through your File Transfer Program (FTP) and look for a file labeled ".htacess"

Delete everything in it and put in the following code:

# 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]
# END WordPress

Once this is done go into the permalinks settings and update to what you want them.

share|improve this answer
You may be correct but there are other ways to redirect besides .htaccess. A plugin or the theme could do it with wp_redirect or wp_safe_redirect. Why do you think this is an .htaccess issue and not some other issue? – s_ha_dum Apr 23 '13 at 3:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.