Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Problems with localhost - when I type /admin to a localhost website I get Google results

  • 2 відповіді
  • 17 мають цю проблему
  • 14 переглядів
  • Остання відповідь від als

more options

So my problem has to do with localhost and it only started happening this morning. I use Wampserver to develop websites that have an admin area with a CMS.

I start wampserver, go to localhost in Firefox which works, select a website and it loads.

So right now I have http://localhost/website (although it only shows localhost/website - without http://).

When I type in /admin to reach the CMS it gives me search result from Google for localhost/website/admin

Maybe the missing http:// is creating the problem but I can;t type it in cause it's automatically removed.So my problem has to do with localhost and it only started happening this morning. I use Wampserver to develop websites that have an admin area with a CMS.

I start wampserver, go to localhost in Firefox which works, select a website and it loads.

So right now I have http://localhost/website (although it only shows localhost/website - without http://).

When I type in /admin to reach the CMS it gives me search result from Google for localhost/website/admin

Maybe the missing http:// is creating the problem but I can;t type it in cause it's automatically removed.

Had to resort to putting my local server online and using my own IP to reach it. Can you please tell me what i need to do to make localhost work again. Thanks

So my problem has to do with localhost and it only started happening this morning. I use Wampserver to develop websites that have an admin area with a CMS. I start wampserver, go to localhost in Firefox which works, select a website and it loads. So right now I have http://localhost/website (although it only shows localhost/website - without http://). When I type in /admin to reach the CMS it gives me search result from Google for localhost/website/admin Maybe the missing http:// is creating the problem but I can;t type it in cause it's automatically removed.So my problem has to do with localhost and it only started happening this morning. I use Wampserver to develop websites that have an admin area with a CMS. I start wampserver, go to localhost in Firefox which works, select a website and it loads. So right now I have http://localhost/website (although it only shows localhost/website - without http://). When I type in /admin to reach the CMS it gives me search result from Google for localhost/website/admin Maybe the missing http:// is creating the problem but I can;t type it in cause it's automatically removed. Had to resort to putting my local server online and using my own IP to reach it. Can you please tell me what i need to do to make localhost work again. Thanks

Усі відповіді (2)

more options

For me, I noticed that it was because of spaces in file names.

For example, I was doing a tutorial where I downloaded exercise files, and the URL path was "localhost/course/exercise [SPACE] files/2-08/demo.htm

I changed it to have no space and it works fine now in Firefox. I caught this because I could go from localhost and work my way down the directories, and if I copied and pasted from another browser it would convert the space to "%20" which is HTML encoding for a space character.

I hope this solves some problems!

more options