• Hi, I uploaded a page (that I wrote) in my FTP inside wp-content folder.
    To reach this page I have a link in the footer. The thing is that the link I used is like:

    <?php echo '<a href="https://www.mysite.it/wp-content/themes/twentyfourteen/mypage.php/">MYPAGE</a>'; ?>

    and is quite long as I should replace all the links in my pages with

    http: //www.mysite.it/wp-content/themes/twentyfourteen/

    is there a way that I can avoid using this long url to reach the page?
    then have something like

    http: //www .mysite.it/mypage.php

    thanks!
    B.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Balux,

    If you upload it to the root directory, wouldn’t that work?

    Or you are having some WordPress functions in the script, and it wont work outside the theme folder?

    Thanks,
    Ivan

    Thread Starter balux

    (@balux)

    shame on me..Yes I just had to put it in the root :/ sorry for the silly question and thanks for your time anyway ??
    B.

    No worries – everyone stuck on some simple stuff from time to time.
    Especially when you have worked for a long time on something.

    Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘link to a self-made page’ is closed to new replies.