Forums

Permalinks with XAMPP (4 posts)

  1. koki.cf
    Member
    Posted 1 month ago #

    I have a website hosted online at a domain. I copied my sql database into XAMPP (editing paths where necessary of course), and moved my wp-content folder into my local XAMPP website folder "htdocs/mywebsite/" to replicate it off line.

    In order to gain Permalink permission, I edited the httpd.conf file found in /XAMPP/xamppfiles/etc/ to allow permalinks by editing the Mod_Rewrite and Overwrite functions.

    But, I still can't get permalinks to work correctly. I've looked through previous articles retaining the issue including several google readings, but I can't find what I need to do next to resolve the issue. There's an extra step that I'm missing, and documentation isn't current. Can anyone help?

  2. mfields
    Member
    Posted 1 month ago #

    I copied my sql database into XAMPP (editing paths where necessary of course), and moved my wp-content folder into my local XAMPP website folder "htdocs/mywebsite/" to replicate it off line.

    This is the wrong way to move a WordPress installation to a new domain. You will want to export the online blog and import into a clean local installation. The reason that you will want to import/export is because WordPress stores path + url information in the database. While some of these are easy to change others (like serialized arrays for attachment metadata) are not really meant to be human editable.

    Please see the following codex article for details:

    http://codex.wordpress.org/Importing_Content#WordPress

  3. koki.cf
    Member
    Posted 1 month ago #

    When I go to import my wordpress file on my local site, I receive this error message:

    Unable to create directory /Applications/XAMPP/xamppfiles/htdocs/mywebsite/wp-content/uploads/2009/10. Is its parent directory writable by the server?

    As for importing my blog, I used these instructions (and everything was transferred over fine with the exception of getting permalinks to work):

    http://educhalk.org/blog/how-to-copy-your-online-wordpress-blog-to-xampp-on-your-local-computer-or-usb-drive/

    and

    http://www.scyj.be/creating-a-local-copy-of-a-wordpress-blog/

    I also followed these instructions (linking to a google cache since I could not access the site) to fix the permalink problem, but this did not work.

    http://74.125.47.132/search?q=cache:8DMchx9I5_gJ:transdisplay.com/web-a-it-news/305-tricks-to-make-wordpress-permalinks-work-in-xampp-server+xampp+wordpress+permalinks&cd=8&hl=en&ct=clnk&gl=us&client=firefox-a

  4. mfields
    Member
    Posted 1 month ago #

    Both http://educhalk.org/blog/how-to-copy-your-online-wordpress-blog-to-xampp-on-your-local-computer-or-usb-drive/ and http://www.scyj.be/creating-a-local-copy-of-a-wordpress-blog/ are teaching you the wrong way to move a WordPress installation from one domain to another.

    Unable to create directory /Applications/XAMPP/xamppfiles/htdocs/mywebsite/wp-content/uploads/2009/10. Is its parent directory writable by the server?

    The easiest way to get around this is to create a folder here: "your-install-folder/wp-content/uploads/" and set the permissions so that it can be writable.

Reply

You must log in to post.

About this Topic