0

I need to point a folder to my subdomain after click on link. When i click on

<a href="http://fotobudka.mmpstudio.pl">
                <div id="mmpfotobudkalogo" class="col-lg-4">
                    <h2><img src="/img/fb/logo_fotobudka.png" width="188px"></h2>
                    <p class="text-standard">Klasyczna fotobudka w nowoczesnym stylu</p>
                </div>
                </a>

The browser links me to: "http://fotobudka.mmpstudio.pl/fotobudka" and 500 error, I need to point a folder to this link cause defaultly creater by server is not working

Folder created by adding a subdomain: mmpstu/public/fotobudka

I need to point this folder to link that browser brings me on.

1 Answers1

0

First, your HTML looks oddly structured to me. Not wrong, but I would put as little inside the <a> tag as you can get away with, to make it easier to see what's going on.

Second, you don't actually need mod_rewrite to do this. Try doing this with mod_redirect and you may find it easier to understand.

Redirect / http://mmpstudio.pl/fotobudka/
pjmorse
  • 9,204
  • 9
  • 54
  • 124