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 trial

WordPress

Brandon Brigham
Brandon Brigham
3,716 Points

Transferring 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!!

Brandon Brigham
Brandon Brigham
3,716 Points

Sorry CORRECTION - the pages are lost when Post name Permalinks are enabled

5 Answers

Brandon Brigham
Brandon Brigham
3,716 Points

Yep I did that twice - once for serialization and the other just a standard search and replace

Hi 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

Hi 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
Brandon Brigham
3,716 Points

Hi 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?

Hi 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
Brandon Brigham
3,716 Points

The pages go missing when I change the permalinks to anything other than default setting

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Try backing up then deleting the htaccess file and resaving your pertains.

Brandon Brigham
Brandon Brigham
3,716 Points

Hey 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
Brandon Brigham
3,716 Points

So 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