How to set the link in the web button in the UI #647
Unanswered
wocmultimedia
asked this question in
Q&A
Replies: 2 comments 4 replies
-
By default when you click on the 'Web' button it loads a file named 'index.php'. Just replace the original one with your own version, redirecting to your wordpress site (you can use the header() function for that) |
Beta Was this translation helpful? Give feedback.
3 replies
-
If the entry point of your WP installation is the file "
MyDrive:\laragon\www\myblog\index.php" (sorry, not familiar with WP, never
used it),
then your file MyDrive:\laragon\www\ index.php should be:
<?php
header("location: myblog\index.php");
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
El jue, 4 ene 2024 a la(s) 1:46 a.m., wocmultimedia (
***@***.***) escribió:
… I made a copy of the index.php which is in MyDrive:\laragon\www\ then I
modified it following your suggestion but I don't get nothing else than a
blank page with address http://localhost
Anyhow my wordpress index.php is located in MyDrive:\laragon\www\myblog\
can you write the full code because I'm not a developer. Thanks
—
Reply to this email directly, view it on GitHub
<#647 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACPUYWHFS2U3GCKWSHLCGMLYMZM6TAVCNFSM6AAAAABBDK77YSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAMBZHE4TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new to this and I just set Laragon for the second time. I followed the instructions to install Laragon then Wordpress and the site I called "myblog" . It created the pretty url myblog.test and it works. But if I start the Laragon interface and click on the web icon it directs me to another URL called localhost.
I previously had a Bitnami installation that I uninstalled because conflicted with Laragon. Then I made a fresh installation of both Laragon and wordpress calling the project "myblog".
My question is how I can change the link in this web icon to point to my project "myblog"? I'm sorry but I didn't find any hint in the FAQ.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions