Skip to content

Project Links do not work on WAMP Server

Installed WAMP and the project links on the localhost page do not open? Change this one setting so your WAMP projects load correctly.

Published
Reading time
1 min read
Views
3.8k views
Project Links do not work on WAMP Server

Yesterday I just restored my windows and then I need to install WAMP server again. Because my all programs were removed. So I normally installed WAMP by following normal steps. But at the end I faced an issue I was not able to go to projects when I clicked on the different projects on localhost main page. Then I opened a "index.php" file located in www folder and I replaced line number 480 with

$projectContents .= 'http://localhost/'.$file.$UrlPort.'/"';

on line 480 in "index.php"

And then I went again to the localhost main page. And now when I opened the projects it redirects me to the correct project successfully.

Questions & comments

Did this work for you, or did you hit a different error? Ask below and we will help.

Comments are reviewed before they appear.

More like this

More in Fix It

Programming

PHP code to draw tan function on an image

In this article you will learn about tan function. How to draw tan function on an image with PHP code. Mostly these functions are used in mathematics, computer pixels and…

Programming

PHP code to draw cos function on image

Today i will tell you how to draw cos function in PHP. This is very simple task to draw a cosine function with PHP code. These are functions of Mathematics and used in Nu…

Programming

Draw sine function with PHP code on an image.

Now we learn how to draw a sine function in PHP. It is very simple and easy to draw sine function in PHP language. This function will generate a sine wave on image. Watch…