local host & permalinks : troubles
-
Hi !
I developed my website off line with MAMP and today i moved it online.
Now i got some troubles because it seems that lay theme do not recognized the permalinks from the local developement.Is there a tip to rebuild the permalinks for the whole website ?
thanks :)
-
hey servan!
In case your permalinks still have the old localhost urls:
You could use the plugin "WP Migrate DB" to export your database from your localhost. With that it's easy to replace the old localhost domain with the new one.If it's just that permalinks are not working right, but the permalinks have the right urls:
You could go to "Settings" -> "Permalinks" and click on "save changes" again to make wordpress refresh your htaccess file. -
Hi armin!
Thanks it's quite better, WP Migrate helps me :) The links work, but the custom settings (fonts, color, preference, menu bar) still don't work.Let me know if I can find back my settings applied on "custom theme"
screenshot : http://hpics.li/ce091dd
Now, there are reboot as a virgin theme
Thanks again
-
Ok, I think using "WP Migrate" maybe you have to replace both the URL and the path for everything to work well.
You see, at the bottom there's /home/arminunruh/… that's my file path. In case I would need to transfer my site to another server, I would need to replace that too. This php snippet is an easy way to find out the path: http://www.htaccesstools.com/articles/full-path-to-file-using-php/
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it