Forum Replies Created
-
AuthorPosts
-
January 24, 2017 at 4:13 pm in reply to: index.php is being added to my localhost installation URL #737803
@Rikard, so I think I got it working, basically I had to assign a localhost domain to the installation.
The Site Address and WordPress Address was “http://localhost/beckerroofing”, so maybe it was that.
So for those having this issue, once I edited my “/Applications/MAMP/conf/apache/httpd.conf” and added that Virtual Host:
<VirtualHost *:80> ServerName local.beckerroofing.com DocumentRoot /Applications/MAMP/htdocs/beckerroofing <Directory /Applications/MAMP/htdocs/beckerroofing> Options Indexes FollowSymLinks Multiviews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>You need to stop MAMP and restart it.
and then added the local domain to my /etc/hosts file:
127.0.0.1 local.beckerroofing.com
Then go back to “Settings–>General” and change both the Site Address and WordPress Address to the new local domain “http://local.beckerroofing.com”, and then changed the Permalinks to “Post Name” and Saved, everything seemed to work. Hope this helps others having this issue when using MAMP to test the theme.
January 23, 2017 at 10:51 pm in reply to: index.php is being added to my localhost installation URL #737449@Basilis, well I cannot because I have it on a localhost MAMP install, not on the web. Just wondering if there were steps I need to take for a localhost.
My URL for the localhost is “http://localhost/beckerroofing/ but that will not work for the web.
-
AuthorPosts
