[wikka-community] wikka moved to subdomain = base_url problem

Michael Bonfils murlock42 at gmail.com
Mon Oct 7 18:50:00 UTC 2013


Hi,

did you check base_url in  WikkaConfig webpage ?

My 2 cents


2013/10/7 242.solaris <242.solaris at gmail.com>

> Hi everybody,
> is still list active?
>
> The main wikka website seems down, so...
>
> I'm an "old" wikka user and I like it.
> I have run it on my website for quite a while.
> Recently I moved it to a subfolder (that's a subdomain as well) and
> a problem appeared...
>
> Before, it was like this:
> http://www.example.com/wakka.php?wikka=index
>
> Now, I want it here:
> http://subdomain.example.com/wakka.php?wikka=index
>
> BUT when I point the browser to:
> http://subdomain.example.com/
> it redirects me to "www", like this:
> http://www.example.com/wakka.php?wikka=index
> i.e., like before...
>
> If I point to:
> http://subdomain.example.com/wakka.php?wikka=index
> the page shows up.
>
> BUT all the internal links point to "www", like this
> http://www.example.com/subdomain/wakka.php?wikka=SomeLink
>
> I can not understand why but it keeps considering "www" as the base
> url or base href.
>
> I even tried to hard-code the base href in the header.php, it does show up
> as I set it in the source code of the page but the links are incorrect.
>
> another "funny" thing is that if I use the format
> http://www.example.com/subdomain/wakka.php?wikka=Whatever
> all the links are ok (of course, since there "www" it's in use),
> but I want to use the format
> http://subdomain.example.com/wakka.php?wikka=Whatever
>
> Anyone here has any clue?
> Thanks in advance!
>
>
> _______________________________________________
> WikkaWiki Community mailing list
> community at lists.wikkawiki.org
> http://lists.wikkawiki.org/mailman/listinfo/community
>
>


-- 
Michael Bonfils ( http://www.murlock.org )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikkawiki.org/pipermail/community/attachments/20131007/bf5dc66b/attachment-0002.html>


More information about the community mailing list