CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • 301 Error After Moving Existing Installation to WAMP
Pages: [1]

Author Topic: 301 Error After Moving Existing Installation to WAMP  (Read 4177 times)

abd39

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Wordpress
  • MySQL version: 5.0
  • PHP version: 5.3
301 Error After Moving Existing Installation to WAMP
March 08, 2013, 01:42:16 pm
After migrating my live site and CiviCRM installation to local wamp server for testing, I've been unable to access site pages when the civicrm plugin is activated.

Trying to go to home page at localhost/<site-name> results in a 301 error from too many redirects OR just redirects to a CiviCRM admin page.  All other pages on the site result in "Not Found" error.

Site is fully accessible otherwise when the plugin is deactivated.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 301 Error After Moving Existing Installation to WAMP
March 09, 2013, 12:17:07 pm
Did you adjust the folders and URL values in civicrm.settings.php? And remove cached template files?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

abd39

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Wordpress
  • MySQL version: 5.0
  • PHP version: 5.3
Re: 301 Error After Moving Existing Installation to WAMP
March 13, 2013, 01:16:33 pm
civicrm.settings.php looks fully correct.  For what it's worth, civicrm itself seems to be running perfectly.  I've been able to access everything on the CRM side and all data from the live install came over cleanly.

I just recleared the cached templates and it doesn't seem to have helped this particular issue.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 301 Error After Moving Existing Installation to WAMP
March 13, 2013, 01:27:44 pm
So just WordPress is broken? I would suggest you rename the directory with the CiviCRM code (to 'hide' the code from Wordpress) and see if that changes anything. If not, then it sounds like a WordPress issue.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

abd39

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Wordpress
  • MySQL version: 5.0
  • PHP version: 5.3
Re: 301 Error After Moving Existing Installation to WAMP
March 13, 2013, 02:00:32 pm
I'm a bit stuck on those instructions.  Which directory(s) would need to be renamed?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 301 Error After Moving Existing Installation to WAMP
March 13, 2013, 02:16:46 pm
wp-content/plugins/civicrm
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

abd39

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Wordpress
  • MySQL version: 5.0
  • PHP version: 5.3
Re: 301 Error After Moving Existing Installation to WAMP
March 13, 2013, 02:49:56 pm
In that case, wouldn't I disable civicrm?  I could update all the paths in the settings file, but then I'd be back at square one.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 301 Error After Moving Existing Installation to WAMP
March 14, 2013, 03:28:05 am
I was suggesting a debugging step, but now I see that you wrote:

> Site is fully accessible otherwise when the plugin is deactivated.

I'm not sure then. Perhaps another plugin is conflicting? But if it works on the webhost and fails on your WAMP then it sounds like your WAMP is not configured correctly.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

aglozier

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 9
    • Phoenix Academy
  • CiviCRM version: 4.7.9
  • CMS version: WordPress 4.6.1
  • MySQL version: 5.7.14
  • PHP version: 5.6.21
Re: 301 Error After Moving Existing Installation to WAMP
April 06, 2013, 08:15:50 am
Have you tied a different WP theme as a trouble shooting step?

I kinda of got my site to work on WAMP.  If I recall correctly, some CiviCRM functions didn't work correctly.  However, my website worked with CiviCRM active.  I use Canvas from Woo Themes and several plug-ins.  I gave up messing around with WAMP after a new version of the Duplicator plug-in quit working with WAMP.

I use an old file server with Ubuntu on it for my testing.  I wanted to use WAMP so I could take a test system to the non-profit I volunteer at.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • 301 Error After Moving Existing Installation to WAMP

This forum was archived on 2017-11-26.