Hello all,
I have a quick question. Is there a way to manage all the links that I keep in the footer of all my sites from one location?
Thank You in advance!
Hello all,
I have a quick question. Is there a way to manage all the links that I keep in the footer of all my sites from one location?
Thank You in advance!
When they're all on one account, you might use this code:
For example, I use this for my proxy footers;Code:<? include("DIRECTORY-HERE"); ?>
If I change the footer.php file, and I upload it to the /home/ than the footer changes on every single proxyCode:<? include("/home/wupme/public_html/footer.php"); ?>
Greetz!
|Nico Lawsons - Quality Web Hosting at WiredStorm
|cPanel with Softaculous and 24/7 Email (Ticket) Support & Live Chat
ProxySites.ca (29 August, 2009)
Wait,
I am a little lost. They are all on one server.
I will make a text file with what I want the footer to look like and then upload it to home/wupme/public_html/footer.php
but in the proxy itself I have to put this in the footer section <? include("DIRECTORY-HERE"); ?>
Do I change "Directory Here" to "home/wupme/public_html/footer.php "?
Or what do I change it to?
I thanked you!
For example, you want to put a backlink to ProxB.Com in your footer.
=> Open your favorite editor
=> Create a new .php file called footer.php
=> Add this in the footer.php file:
=> Open your index.php (or main.php when you're in Glype) file.Code:<a href="http://proxb.com">Proxy Sites</a>
=> Go to the place where the backlink to ProxB.Com should be visible (the footer)
=> Add this on the place where the backlink should be visible:
The account-username, should be the name you use to login to your FTP.Code:<? include("/home/account-username/public_html/footer.php"); ?>
=> Login to your FTP. Go to 'public_html'.
=> Upload footer.php into that map.
=> Replace the current index.php (or main.php) with the new file you made in the first step of this little tutorial
Now you should go and check your website's footer. Normally the backlink to ProxB should be visible.
Please tell me if it worked or not![]()
|Nico Lawsons - Quality Web Hosting at WiredStorm
|cPanel with Softaculous and 24/7 Email (Ticket) Support & Live Chat
Bookmarks