talk2toyin Posted January 28, 2013 Share Posted January 28, 2013 Please I need to know before uploading my site only to find out the links doesn't work well. I've never uploaded a site on-line before. Must I link from page to page with a "/" before the link or not? For example: <a href="/profile.com">Profile</a>. Or will it work just fine without the forward slash? Please help. Quote Link to comment https://forums.phpfreaks.com/topic/273762-help-with-site-upload/ Share on other sites More sharing options...
talk2toyin Posted January 28, 2013 Author Share Posted January 28, 2013 Sorry I meant "/profile.php" not "/profile.com" Quote Link to comment https://forums.phpfreaks.com/topic/273762-help-with-site-upload/#findComment-1408848 Share on other sites More sharing options...
requinix Posted January 29, 2013 Share Posted January 29, 2013 I can't tell you if you have to because I don't know what your site is, but I can say that without the leading slash the browser will think the link is relative to the current "directory". Meaning if /folder/file.html links to "profile.php" then it will try to go to /folder/profile.php. Quote Link to comment https://forums.phpfreaks.com/topic/273762-help-with-site-upload/#findComment-1408860 Share on other sites More sharing options...
talk2toyin Posted January 29, 2013 Author Share Posted January 29, 2013 @Requinix...thanks for the reply. Here's the kind of url I'd like get, one that shows where the user is coming from. The site is all about students getting help with their project works; they post their project topics, and I get it done...or they could simply request for one I already have done. Say I want a link that shows a user moved to a page "edit_me.php" from "profile.php"...how would my hyperlinking look like? Quote Link to comment https://forums.phpfreaks.com/topic/273762-help-with-site-upload/#findComment-1408890 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.