![]() ![]() In a vanilla installation of MAMP without any virtual host configurations, Apache serves http. If you want to get correct path without doing redirect, you can defining the dynamic root url under wp-config.phpĪdd this script below the define('ABSPATH', dirname(_FILE_). index.html in the directory /Users/steve/Sites/mysite1. (Optional) If you do not plan to use the MySQL server right away, stop it. Or you go through the WordPress admin interface: Plugins > Add New > Search Plugins type wptouch (for example) and then choose the plugin and click install. If you are using WAMP server for local WordPress development and WordPress Running Too Slow On Localhost. Type Y to reload the privilege tables and save your changes. The main issue is because wordpress use the server address from database, wordpress use the root url from the database option named home and siteurl so if you try access wordpress outside their computer it may get the incorrect path for css and javascript. Another way check your IP address on your local network like 192.168.0.111 Then edit your hosts file like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |