Tagged: x
-
AuthorPosts
-
November 7, 2016 at 1:03 am #1246623
cordial666Participanthey,
Theme type – Agency
Dev env – locally with virtual hosts using MAMPI changed the permalinks from ‘plain’ to ‘postname’ using ‘Settings->Permalinks’ in wp-admin. However, after this all the pages display 404 errors when viewed, even though they seem to be pointing at the correct URL’s e.g. my http://new.ro/about page is what is displayed in the header main nav and that matches the url displayed if I view the page in wp-admin. However, selecting to view the URL in either the wp-admin page or by clicking on the nav on the front end leads to a 404. This happens for all pages. If I set the permalinks back to plain, all the links work again.
Thoughts?
cheers
DavidNovember 7, 2016 at 1:08 am #1246628
cordial666ParticipantHere is what the .htcaccess file looks like (after the change).
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
November 7, 2016 at 1:59 am #1246667
Rue NelModeratorHello There,
Thanks for writing in! Please make sure that ModReWrite is ON. For more details information on how to enable the pretty permalinks in MAMP, please check out these links:
http://blog-en.mamp.info/2015/02/the-htaccess-file-and-mamp-pro.html
http://www.wpbeginner.com/wp-tutorials/how-to-enable-custom-permalinks-in-wordpress-wamp-installation/
http://stackoverflow.com/questions/4675429/getting-wordpress-permalinks-working-on-a-mamp-install
http://stackoverflow.com/questions/23218199/permalinks-dont-work-on-wordpress-installation-on-mampHope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1246623 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
