Mobile app version of vmapp.org
Login or Join
Angie530

: You haven't said how you created the two site copies(db dump, export/import, etc), so... Have you actually configured the local one to also use pretty URLs? (Settings->Permalinks) That wouldn't

@Angie530

You haven't said how you created the two site copies(db dump, export/import, etc), so...

Have you actually configured the local one to also use pretty URLs? (Settings->Permalinks) That wouldn't go along as part of a file copy; it's in the database. Or you might've just forgotten it.
If not, then your install is still expecting links in the default example.com/?p=### format
If the local is a dupe of the published site, then try localhost/?p=386 (that's the id of the contact page).

I haven't used WAMP for a bit so can't recall the case then, but apparently as recently as this February mod_rewrite wasn't enabled by default, which you'll need for the pretty URL rules to work. So that's one more thing to check.

Solution from the site mentioned above:

Wamp and XAMPP doesn’t come with default rewrite rule enabled, For enabling the rewrite rules in both of them you need to make changes in httpd.conf so that apache can work with rewrite rules.

For enabling the rewrite rules follow these rules:


Find httpd.conf (wampbinapacheApache2.2.11conf something along those lines
Uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
Find the line with DocumentRoot “C:/path/to/my/root”, There you will find contents like


Make sure the content inside these two braces looks like

Options All
AllowOverride All

Restart the Apache server and you should be good to go.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme