Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrandon Brigham
3,716 PointsTransferring a WordPress site from one host to another - permalinks issues
So I transferred a wordpress site from thechasedesign.com/axrtek to axrtek.com - everything transferred perfectly except for the permalinks. When the permalinks are set to custom post type the pages are lost but when the permalinks are set to default the pages show up ---- I'm so lost with all of this and the client needs this in a few hours...
Any help would be soooo appreciated!!
5 Answers
Kyra Fillmore
12,430 PointsDid you run a find & replace plugin like https://wordpress.org/plugins/search-and-replace/?
Brandon Brigham
3,716 PointsYep I did that twice - once for serialization and the other just a standard search and replace
Rich Bagley
25,869 PointsHi Brandon,
You may have already used this but just in case you haven't: http://codex.wordpress.org/Moving_WordPress
It gives a step by step for different scenarios.
Thanks
-Rich
Rich Bagley
25,869 PointsHi Brandon,
Do you have any plugins active that are SEO / redirection related?
You could try deactivating them all and then reactivating one by one to see if this has any effect on your permalink problem. It could be that they are still attempting to redirect to the old URL.
Thanks
-Rich
Brandon Brigham
3,716 PointsHi Rich,
No everything else is perfectly fine. It's just when I try to change my permalinks to anything other than 'Default' the pages disappear and I get an error message. I've been reading in forums and it seems that it could be my clients hosting server. I'm going to ask them if mod_rewrite and AllowOverride in enabled?
Rich Bagley
25,869 PointsHi Brandon,
AllowOverride was going to be my next suggestion as I have had something similar before where I had to contact the host to resolve it.
Hope you get it sorted.
-Rich
Brandon Brigham
3,716 PointsThe pages go missing when I change the permalinks to anything other than default setting
Zac Gordon
Treehouse Guest TeacherTry backing up then deleting the htaccess file and resaving your pertains.
Brandon Brigham
3,716 PointsHey Zac,
So you're saying I should back up the htaccess file, delete it off live server, re-upload htaccess file, and then re-save my permalkinks?
Brandon Brigham
3,716 PointsSo I got the pages to show up with a Custom Structure of /index.php/%postname%
But I don't want all of my pages to read like this : axrtek.com/index.php/cloud-services
So I want the index.php to not have to be there for every page
Brandon Brigham
3,716 PointsBrandon Brigham
3,716 PointsSorry CORRECTION - the pages are lost when Post name Permalinks are enabled